/* Cookie button + preferences popup (layouts/cookie-consent.blade.php) */
.smt-cookie-fab {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 1030;
    width: 52px;
    height: 52px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #001e3c;
    color: #fff;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 30, 60, .35);
    transition: background-color .15s ease, transform .15s ease;
}

.smt-cookie-fab:hover,
.smt-cookie-fab:focus-visible {
    background: #a7061f;
    transform: scale(1.05);
}

.smt-cookie-fab.is-open {
    z-index: 1060;
    background: #a7061f;
}

/* Flight select bar ke upar rahe */
body.has-sel-bar .smt-cookie-fab {
    bottom: 190px;
}

.smt-cookie-modal .modal-content {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
}

.smt-cookie-modal .modal-header {
    background: #001e3c;
    color: #fff;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 3px solid #a7061f;
}

.smt-cookie-logo {
    height: 40px;
    width: auto;
}

.smt-cookie-modal .modal-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.smt-cookie-modal .modal-body {
    display: flex;
    gap: 24px;
    padding: 24px 20px;
}

.smt-cookie-tabs {
    flex: 0 0 210px;
    display: flex;
    flex-direction: column;
    align-self: flex-start;
}

.smt-cookie-tabs button {
    padding: 12px 14px;
    border: 0;
    border-left: 4px solid transparent;
    border-bottom: 1px solid #dfe5ec;
    background: #f3f5f8;
    color: #4a5563;
    font-weight: 600;
    font-size: .92rem;
    line-height: 1.35;
    text-align: left;
}

.smt-cookie-tabs button:hover {
    color: #001e3c;
}

.smt-cookie-tabs button.active {
    background: #fff;
    color: #001e3c;
    border-left-color: #a7061f;
    border-bottom-color: #001e3c;
}

.smt-cookie-panels {
    flex: 1;
    min-width: 0;
    font-size: .95rem;
    color: #3d4754;
}

.smt-cookie-panels h3 {
    color: #001e3c;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.smt-cookie-panels a {
    color: #a7061f;
}

.smt-cookie-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.smt-cookie-always {
    color: #a7061f;
    font-weight: 600;
    font-size: .88rem;
    white-space: nowrap;
}

.smt-cookie-panels .form-switch {
    margin: 0;
    min-height: 0;
}

.smt-cookie-panels .form-check-input {
    width: 2.6em;
    height: 1.35em;
    cursor: pointer;
}

.smt-cookie-panels .form-check-input:checked {
    background-color: #001e3c;
    border-color: #001e3c;
}

.smt-cookie-panels .form-check-input:focus {
    border-color: #001e3c;
    box-shadow: 0 0 0 .2rem rgba(0, 30, 60, .2);
}

.smt-cookie-gpc {
    background: #f3f5f8;
    border-left: 4px solid #001e3c;
    padding: 10px 12px;
}

.smt-cookie-modal .modal-footer {
    justify-content: flex-start;
    padding: 14px 20px;
}

.smt-cookie-confirm {
    border: 0;
    border-radius: 6px;
    padding: 11px 26px;
    background: #a7061f;
    color: #fff;
    font-weight: 600;
}

.smt-cookie-confirm:hover,
.smt-cookie-confirm:focus-visible {
    background: #001e3c;
}

@media (max-width: 767px) {
    .smt-cookie-fab {
        left: 12px;
        bottom: 12px;
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }

    .smt-cookie-logo {
        display: none;
    }

    .smt-cookie-modal .modal-title {
        font-size: 1.05rem;
    }

    .smt-cookie-modal .modal-body {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .smt-cookie-tabs {
        flex: none;
        align-self: stretch;
    }

    .smt-cookie-confirm {
        width: 100%;
    }
}
