﻿.wrong {
    border: 1px solid #f00;
}

.nBookingItem .cardList .cardBox img {
    max-width: 100%;
    max-height: 100%;
    padding-top: 5px;
}

.mainPopup.flightPopup .mpContent {
    width: 1000px;
    margin-left: -450px;
    height: 700px;
}

.mainPopup .mpBottom {
    width: 100%;
    float: left;
}

.mainPopup .mpButtons {
    width: 100%;
    float: left;
    display: flex;
}
.mainPopup .mpButtons .mpBt {
    width: auto;
    height: 44px;
    float: left;
    background: #f1f1f1;
    margin-left: 10px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    border-radius: 6px;
    text-align: center;
    line-height: 44px;
    font-weight: 600;
    color: #606367;
    cursor: pointer;
}
.mainPopup .mpButtons .mpBt.active {
    background: #3c6dc1;
    color: #fff;
}
.colorMainColor, .header .headerRight .nikiPhone {
    color: #9C7A38 !important;
}


.hdRoomTypes .hdRoomTypeBox .hdtImage {
    align-items: center;
    display: flex;
    justify-content: center;
}
    .ui-menu {
    list-style: none;
    padding: 10px 5px;
    margin: 0;
    background:white;
    display: block;
    z-index:99999 !important;
    width: 485px;
    overflow-y: auto;
    /*border: 2px solid #e7e7e7 !important;*/
    border-radius: 4px !important;
    -webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.06) !important;
    /*box-shadow: 0 0 7px rgba(0, 0, 0, 0.06) !important;*/
    max-height: 500px !important;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 2px 20px !important;
    border: 0px !important;
    font-family: 'Montserrat', sans-serif !important;
}



.ui-autocomplete-highlight {
    font-weight: bold;
}

.ui-widget-content {
    /*    margin-top: 5px !important;*/
}

.ui-menu .ui-menu-item:nth-child(odd) {
    /*margin: 2px;*/
    /*    padding-left: 5px;*/
    font-size: 16px;
    line-height: 35px;
    letter-spacing: -0.5px;
    color: black;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-left: 3px;
    margin-right: 3px;
    padding-right: 8px;
    font-weight: 500; /*
    font-family: 'open sans' !important;*/
}

.ui-menu .ui-menu-item:nth-child(even) {
    /*margin: 2px;*/
    /*    padding-left: 8px;*/
    font-size: 16px;
    line-height: 35px;
    background: #e9e9e926;
    letter-spacing: -0.5px;
    color: black;
    margin-left: 3px;
    margin-right: 3px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: 500;
    /*    font-family: 'open sans' !important;*/
}


.ui-menu .ui-menu-item:hover {
    /*color: white;*/
    /*padding-left: 5px;*/
    color: black;
    margin-left: 3px;
    margin-right: 3px;
    padding-left: 0 !important;
    border-right: 5px solid #2563eb;
    padding-top: 5px;
    padding-bottom: 5px;
    /*    background-color: #e9f1f6;*/
    /*border: 1px solid #aadbff;
        border-left:none;
        border-right:none;*/
    /*zoom:1;*/
    /*    font-weight: 600;*/
    background: #f0f3f5e3;
    cursor: pointer;
}

.divider {
    position: relative;
    height: 1px;
    display: none;
    /*    margin-top: 5px;
    margin-bottom: 5px;*/
}

.div-transparent:before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    width: 80%;
    height: 1px;
    background-image: linear-gradient(to right, transparent, rgb(48 49 51 / 33%), transparent);
}


/*.hotel-card {
    width: auto;
    padding: 18px 20px;
}

.hotel-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hotel-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af;
}

.city {
    font-weight: 500;
}

.stars {
    color: #fbbf24;
    letter-spacing: 1px;
}

.divider {
    opacity: 0.5;
}*/

.hotel-heading {
    margin-top: 14px;
    display: grid;
    gap: 6px;
}

.hotel-title {
    margin: 0;
    margin-left:10px;
    font-weight: 800;
    letter-spacing: .2px;
    font-size: clamp(20px, 2.2vw, 28px);
    line-height: 1.15;
    text-transform: none; /* uppercase okuma hızını düşürür */
}

.hotel-meta {
    display: flex;
    margin-left:10px;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
}

.hotel-location i {
    margin-right: 6px;
    opacity: .9;
}

.meta-sep {
    opacity: .5;
}

.hotel-stars {
    display: inline-flex;
    gap: 2px;
    color: #f5b301;
}

.showMoreFl {
    overflow-y: scroll !important;
    max-height: 300px !important;
}

.ui-helper-hidden-accessible {
    display:none !important;
}

@media (max-width: 700px) {
    .generalSearch {
        min-height: 472px !important;
    }

    .ui-menu {
        list-style: none;
        padding: 10px 5px;
        margin: 0;
        display: block;
        width: 78% !important;
        overflow-y: auto;
        border-top: none !important;
        -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 0.06) !important;
        max-height: 300px !important;
        box-shadow: rgb(0 0 0 / 0.2) 0 2px 20px !important;
        font-family: "Montserrat", Arial, sans-serif;
    }

    .ui-autocomplete-highlight {
        font-weight: 700;
    }

    .ui-widget-content {
        z-index: 99999999 !important;
    }

    .ui-menu .ui-menu-item:nth-child(odd) {
        font-size: 15px;
        line-height: 25px;
        letter-spacing: -0.5px;
        color: #000;
        padding-top: 5px;
        padding-bottom: 5px;
        margin-left: 3px;
        margin-right: 3px;
        padding-right: 8px;
        font-weight: 400;
    }

    .ui-menu .ui-menu-item:nth-child(even) {
        font-size: 15px;
        line-height: 25px;
        background: #e9e9e926;
        letter-spacing: -0.5px;
        color: #000;
        margin-left: 3px;
        margin-right: 3px;
        padding-right: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
        font-weight: 400;
    }

    .iconLabelInput .ilbDrop.wide {
        width: 100% !important;
    }

    .flatpickr-days {
        width: 100% !important;
    }
}

/* Container */
.flight-skeleton {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

/* Header placeholder */
.skeleton-header {
    height: 16px;
    width: 40%;
    margin-bottom: 16px;
    border-radius: 4px;
}

/* Row layout */
.skeleton-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

/* Icon */
.skeleton-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* Text block */
.skeleton-content {
    flex: 1;
}

.skeleton-line {
    height: 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

    .skeleton-line:last-child {
        margin-bottom: 0;
    }

/* Price */
.skeleton-price {
    width: 50px;
    height: 14px;
    border-radius: 4px;
}

/* Width helpers */
.w-60 {
    width: 60%;
}

.w-40 {
    width: 40%;
}

.w-30 {
    width: 30%;
}

/* Shimmer animation */
.shimmer {
    background: linear-gradient( 90deg, #eeeeee 25%, #f5f5f5 37%, #eeeeee 63% );
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    color: transparent !important;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}


/* === Card Wrapper === */
.room-skeleton {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px;
    align-items: stretch;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Left image */
.room-skel-img {
    width: 220px;
    min-width: 220px;
    height: 120px;
    border-radius: 4px;
}

/* Middle content */
.room-skel-mid {
    flex: 1;
    padding-top: 4px;
}

.room-skel-title {
    height: 18px;
    width: 55%;
    border-radius: 4px;
    margin-bottom: 12px;
}

.room-skel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.room-skel-ico {
    width: 14px;
    height: 14px;
    border-radius: 3px;
}

.room-skel-line {
    height: 10px;
    border-radius: 4px;
}

/* Right pricing area */
.room-skel-right {
    width: 210px;
    min-width: 210px;
    border-left: 1px solid #eef1f4;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: flex-end;
    text-align: right;
}

.room-skel-small {
    height: 10px;
    width: 60%;
    border-radius: 4px;
}

.room-skel-oldprice {
    height: 10px;
    width: 75%;
    border-radius: 4px;
    opacity: 0.9;
}

.room-skel-price {
    height: 18px;
    width: 85%;
    border-radius: 4px;
}

.room-skel-discount {
    height: 10px;
    width: 70%;
    border-radius: 4px;
}

.room-skel-btn {
    height: 36px;
    width: 140px;
    border-radius: 6px;
    margin-top: 6px;
}

/* Width helpers */
.w-35 {
    width: 35%;
}

.w-45 {
    width: 45%;
}

.w-55 {
    width: 55%;
}


/* Optional: better on small screens */
@media (max-width: 768px) {
    .room-skeleton {
        flex-direction: column;
    }

    .room-skel-img {
        width: 100%;
        min-width: 0;
        height: 160px;
    }

    .room-skel-right {
        width: 100%;
        min-width: 0;
        border-left: none;
        border-top: 1px solid #eef1f4;
        padding-left: 0;
        padding-top: 12px;
        align-items: flex-start;
        text-align: left;
    }
}

.section-title {
    margin: 28px 0 16px;
    float:left;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

    .section-title h2 {
        font-size: 20px;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.section-subtitle {
    display: block;
    font-size: 13px;
    color: #7a8a9a;
    margin-top: 4px;
}

/* Wrapper */
.searchTabNav {
    display: inline-flex;
    align-items: stretch;
    gap: 6px;
    padding: 4px;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
}

    /* Tab button */
    .searchTabNav .stnBt {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 10px;
        font: 600 14px/1.1 system-ui, -apple-system, "Montserrat", Arial, sans-serif;
        color: #344054;
        cursor: pointer;
        user-select: none;
        transition: background .18s ease, color .18s ease, box-shadow .18s ease, transform .05s ease;
        white-space: nowrap;
    }

        /* Icon sizing */
        .searchTabNav .stnBt i {
            font-size: 14px;
            opacity: .9;
        }

        /* Hover */
        .searchTabNav .stnBt:hover {
            background: #eef2ff;
            color: #1d2b7a;
        }

        /* Active tab */
        .searchTabNav .stnBt.active {
            background: #3f66e0; /* modern blue */
            color: #fff;
            box-shadow: 0 8px 18px rgba(63,102,224,.25);
        }

            /* Active tab icons */
            .searchTabNav .stnBt.active i {
                opacity: 1;
            }

        /* Press feedback */
        .searchTabNav .stnBt:active {
            transform: translateY(1px);
        }

        /* Optional: focus style for accessibility */
        .searchTabNav .stnBt:focus-visible {
            outline: 3px solid rgba(63,102,224,.35);
            outline-offset: 2px;
        }

/* Optional: wrap on small screens */


@media (max-width: 420px) {
    .searchTabNav {
        width: 100%;
        justify-content: space-between;
    }

        .searchTabNav .stnBt {
            flex: 1;
            justify-content: center;
        }
}

/* Input wrapper */
.modernInput {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(16,24,40,.06);
    transition: border-color .18s ease, box-shadow .18s ease;
}

    /* Icon */
    .modernInput i {
        font-size: 15px;
        color: #667085;
    }

    /* Input itself */
    .modernInput input {
        border: none;
        outline: none;
        background: transparent;
        width: 100%;
        font: 500 14px system-ui, -apple-system, "Montserrat", Arial, sans-serif;
        color: #101828;
    }

        /* Placeholder */
        .modernInput input::placeholder {
            color: #98a2b3;
        }

    /* Hover */
    .modernInput:hover {
        border-color: #cfd6e3;
    }

    /* Focus state */
    .modernInput:focus-within {
        border-color: #3f66e0;
        box-shadow: 0 0 0 4px rgba(63,102,224,.18);
    }

    /* Disabled */
    .modernInput input:disabled {
        cursor: not-allowed;
    }

        .modernInput input:disabled::placeholder {
            color: #c0c6d4;
        }


/* Row container */
.searchBarRow {
    display: flex;
    gap: 14px;
    align-items: stretch;
    width: 100%;
}

/* Card wrapper (looks like input) */
.fieldInput {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #cfd6e3;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06);
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease, transform .04s ease;
    cursor: text;
    min-height: 50px;
}

    /* Icon area (simple, clean) */
    .fieldInput > i {
        font-size: 16px;
        color: #344054;
        flex: 0 0 auto;
        margin-left: 2px;
    }

    /* Text stack */
    .fieldInput .fiText {
        display: flex;
        flex-direction: column;
        min-width: 0; /* enables ellipsis */
        flex: 1 1 auto;
    }

    /* Label (small) */
    .fieldInput label {
        font: 400 12px/1.1 "Montserrat", Arial, sans-serif;
        color: #667085;
        margin: 0 0 4px 0;
    }

    /* The real input, made “invisible” like text in a card */
    .fieldInput input,
    .fieldInput select {
        width: 100%;
        border: 0;
        outline: 0;
        background: transparent;
        font: 500 15px/1.15 "Montserrat", Arial, sans-serif;
        color: #101828;
        padding: 0;
        margin: 0;
        /* makes value look like the screenshot (single line) */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        /* Placeholder styling */
        .fieldInput input::placeholder {
            color: #98a2b3;
            font-weight: 600;
        }

    /* Hover */
    .fieldInput:hover {
        border-color: #b9c3d6;
        background: #fcfdff;
    }

    /* Focus: when the input inside is focused */
/*    .fieldInput:focus-within {
        border-color: #3f66e0;
        box-shadow: 0 0 0 4px rgba(63,102,224,.18), 0 1px 2px rgba(16,24,40,.06);
    }
*/
    /* Press feedback */
    .fieldInput:active {
        transform: translateY(1px);
    }

/* If you want the middle field slightly wider */
.searchBarRow .fieldInput:nth-child(2) {
    flex: 1.15 1 0;
}

/* Disabled state */
.fieldInput.is-disabled,
.fieldInput:has(input:disabled) {
    opacity: .65;
    cursor: not-allowed;
}

    .fieldInput:has(input:disabled) input {
        cursor: not-allowed;
    }

/* Optional: clickable whole card (great for datepicker/travelers dropdown) */
.fieldInput {
    cursor: pointer;
}

    .fieldInput input,
    .fieldInput select {
        cursor: pointer; /* helps when jQuery opens picker on click */
    }

/* Responsive */
@media (max-width: 760px) {

    .searchBarRow {
        flex-direction: column;
    }

        .searchBarRow .fieldInput:nth-child(2) {
            flex: 1 1 auto;
        }


}

.brand img {
/*    width:60%;
    height:60%;*/
    max-width:150px;
}

.noFlightFound {
    font-size: 16px;
    font-weight: 600;
    color: #f03939;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

:root {
    --overlay-bg: rgba(8, 10, 20, 0.72);
    --card-bg: rgba(255, 255, 255, 0.92);
    --text: #101426;
    --muted: #5b637a;
    --accent: #2563eb;
    --shadow: 0 18px 60px rgba(0,0,0,0.35);
    --radius: 18px;
}

body.loader-lock {
    overflow: hidden;
    touch-action: none;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: var(--overlay-bg);
 /*   backdrop-filter: blur(6px);*/
    z-index: 9999;
    padding: 20px;
}

    .loader-overlay.is-open {
        display: grid;
    }

.loader-card {
    width: min(900px, 100%);
    background: var(--card-bg);
    color: var(--text);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 360px;
}

.loader-hero {
    position: relative;
    display: block;
    width: 100%;
    min-height: 260px;
    background-image: url("https://images.unsplash.com/photo-1506012787146-f92b2d7d6d96?auto=format&fit=crop&w=1200&q=70");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* iOS/WebKit paint reliability */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .loader-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
        /* make overlay not interfere */
        pointer-events: none;
        /* explicit stacking */
        z-index: 0;
    }

    /* If you have content inside .loader-hero, keep it above overlay */
    .loader-hero > * {
        position: relative;
        z-index: 1;
    }


.loader-body {
    padding: 26px 24px;
    display: grid;
    gap: 14px;
    align-content: center;
}

.loader-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.loader-subtitle {
    font-size: 14px;
    color: var(--muted);
}

.steps {
    display: grid;
    gap: 10px;
    margin-top: 6px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: #cbd5e1;
    position: relative;
}

.step.active {
    color: var(--text);
    font-weight: 700;
}

    .step.active .dot {
        background: var(--accent);
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.14);
        animation: pulse 1.2s infinite ease-in-out;
    }

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

.progress {
    height: 10px;
    background: rgba(16, 20, 38, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 6px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #22c55e);
    border-radius: 999px;
    transition: width 400ms ease;
}

.loader-meta {
    font-size: 12px;
    color: var(--muted);
}

/* Mobile */
@media (max-width: 820px) {
    .loader-card {
        grid-template-columns: 1fr;
    }

    .loader-hero {
        min-height: 180px;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .step.active .dot {
        animation: none;
    }

    .progress-bar {
        transition: none;
    }
}

.hrButton.is-loading {
    pointer-events: none;
    opacity: .85;
}

.hrButton .btn-loader {
    position: absolute;
    width: 18px;
    margin-left: 100px !important;
    margin-bottom: 10px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
    opacity: 0;
    margin-top: 11px;
    margin-left: -16px;
}

.hrButton.is-loading .btn-text,
.hrButton.is-loading .btn-icon {
    opacity: 0;
}

.hrButton.is-loading .btn-loader {
    opacity: 1;

}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* hide loading text by default */
.hrButton .btn-loading-text {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    margin-left:-100px;
    opacity: 0;
    white-space: nowrap;
}

/* loading state */
.hrButton.is-loading .btn-text,
.hrButton.is-loading .btn-icon {
    opacity: 0;
}

.hrButton.is-loading .btn-loading-text,
.hrButton.is-loading .btn-loader {
    opacity: 1;
    margin-left: -40px;
}
.flatpickr-day.selected.startRange, .flatpickr-day.startRange.startRange, .flatpickr-day.endRange.startRange {
    border-radius: 4px 0 0 4px !important;
    z-index: 9999;
}
.flatpickr-day.selected.endRange, .flatpickr-day.startRange.endRange, .flatpickr-day.endRange.endRange {
    border-radius: 0 4px 4px 0 !important;
    z-index: 9999;
}

.flatpickr-calendar {
    background: transparent;
    opacity: 0;
    display: none;
    text-align: center;
    margin-left: -64px;
    margin-top: 5px;
    visibility: hidden;
    padding: 0;
    -webkit-animation: none;
    animation: none;
    direction: ltr;
    border: 0;
    font-size: 14px;
    line-height: 24px;
    border-radius: 5px;
    position: absolute;
    width: 307.875px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    background: #fff;
    -webkit-box-shadow: 1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);
    box-shadow: 1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,0.08);
}

    .flatpickr-calendar.open, .flatpickr-calendar.inline {
        opacity: 1;
        max-height: 640px;
        visibility: visible
    }

    .flatpickr-calendar.open {
        display: inline-block;
        z-index: 99999
    }

    .flatpickr-calendar.animate.open {
        -webkit-animation: fpFadeInDown 300ms cubic-bezier(.23,1,.32,1);
        animation: fpFadeInDown 300ms cubic-bezier(.23,1,.32,1)
    }

    .flatpickr-calendar.inline {
        display: block;
        position: relative;
        top: 2px
    }

    .flatpickr-calendar.static {
        position: absolute;
        top: calc(100% + 2px);
    }

        .flatpickr-calendar.static.open {
            z-index: 999;
            display: block
        }

    .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
        -webkit-box-shadow: none !important;
        box-shadow: none !important
    }

    .flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
        -webkit-box-shadow: -2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;
        box-shadow: -2px 0 0 #e6e6e6,5px 0 0 #e6e6e6
    }

    .flatpickr-calendar .hasWeeks .dayContainer, .flatpickr-calendar .hasTime .dayContainer {
        border-bottom: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0
    }

    .flatpickr-calendar .hasWeeks .dayContainer {
        border-left: 0
    }

    .flatpickr-calendar.showTimeInput.hasTime .flatpickr-time {
        height: 40px;
        border-top: 1px solid #e6e6e6
    }

    .flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
        height: auto
    }

    .flatpickr-calendar:before, .flatpickr-calendar:after {
        position: absolute;
        display: block;
        pointer-events: none;
        border: solid transparent;
        content: '';
        height: 0;
        width: 0;
        left: 22px
    }

    .flatpickr-calendar.rightMost:before, .flatpickr-calendar.rightMost:after {
        left: auto;
        right: 22px
    }

    .flatpickr-calendar:before {
        border-width: 5px;
        margin: 0 -5px
    }

    .flatpickr-calendar:after {
        border-width: 4px;
        margin: 0 -4px
    }

    .flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after {
        bottom: 100%;
        top: 30px;
        left: 10px;
    }
    .flatpickr-calendar.centerMost::after {
        left: 87%;
    }

/*    .flatpickr-calendar.arrowTop:before {
        border-bottom-color: #e6e6e6
    }*/

 /*   .flatpickr-calendar.arrowTop:after {
        border-bottom-color: #fff
    }*/

    .flatpickr-calendar.arrowBottom:before, .flatpickr-calendar.arrowBottom:after {
        top: 100%
    }

    .flatpickr-calendar.arrowBottom:before {
        border-top-color: #e6e6e6
    }

    .flatpickr-calendar.arrowBottom:after {
        border-top-color: #fff
    }

    .flatpickr-calendar:focus {
        outline: 0
    }

.flatpickr-wrapper {
    position: relative;
    display: inline-block
}

.flatpickr-months {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    border-bottom: 1px solid black;
    height: 50px;
    background-position: bottom;
}

    .flatpickr-months .flatpickr-month {
        background: white;
        color: rgba(0,0,0,0.9);
        fill: rgba(0,0,0,0.9);
        height: 50px;
        line-height: 1;
        text-align: center;
        position: relative;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        overflow: hidden;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1
    }

    .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
        text-decoration: none;
        cursor: pointer;
        position: absolute;
        top: 0;
        height: 34px;
        padding: 10px;
        z-index: 3;
        color: rgba(0,0,0,0.9);
        fill: rgba(0,0,0,0.9);
    }

        .flatpickr-months .flatpickr-prev-month.flatpickr-disabled, .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
            display: none
        }

        .flatpickr-months .flatpickr-prev-month i, .flatpickr-months .flatpickr-next-month i {
            position: relative
        }

        .flatpickr-months .flatpickr-prev-month.flatpickr-prev-month, .flatpickr-months .flatpickr-next-month.flatpickr-prev-month { /*
      /*rtl:begin:ignore*/
            left: 0; /*
      /*rtl:end:ignore*/
        }
        /*
      /*rtl:begin:ignore*/
        /*
      /*rtl:end:ignore*/
        .flatpickr-months .flatpickr-prev-month.flatpickr-next-month, .flatpickr-months .flatpickr-next-month.flatpickr-next-month { /*
      /*rtl:begin:ignore*/
            right: 0; /*
      /*rtl:end:ignore*/
        }
        /*
      /*rtl:begin:ignore*/
        /*
      /*rtl:end:ignore*/
        .flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover {
            color: #959ea9;
        }

            .flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg {
                fill: #f64747
            }

        .flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg {
            width: 14px;
            height: 14px;
        }

            .flatpickr-months .flatpickr-prev-month svg path, .flatpickr-months .flatpickr-next-month svg path {
                -webkit-transition: fill .1s;
                transition: fill .1s;
                fill: inherit
            }

.numInputWrapper {
    position: relative;
    height: auto;
}

    .numInputWrapper input, .numInputWrapper span {
        display: inline-block
    }

    .numInputWrapper input {
        width: 100%;
    }

        .numInputWrapper input::-ms-clear {
            display: none
        }

        .numInputWrapper input::-webkit-outer-spin-button, .numInputWrapper input::-webkit-inner-spin-button {
            margin: 0;
            -webkit-appearance: none
        }

    .numInputWrapper span {
        position: absolute;
        right: 0;
        width: 14px;
        padding: 0 4px 0 2px;
        height: 50%;
        line-height: 50%;
        opacity: 0;
        cursor: pointer;
        border: 1px solid rgba(57,57,57,0.15);
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

        .numInputWrapper span:hover {
            background: rgba(0,0,0,0.1)
        }

        .numInputWrapper span:active {
            background: rgba(0,0,0,0.2)
        }

        .numInputWrapper span:after {
            display: block;
            content: "";
            position: absolute
        }

        .numInputWrapper span.arrowUp {
            top: 0;
            border-bottom: 0;
        }

            .numInputWrapper span.arrowUp:after {
                border-left: 4px solid transparent;
                border-right: 4px solid transparent;
                border-bottom: 4px solid rgba(57,57,57,0.6);
                top: 26%
            }

        .numInputWrapper span.arrowDown {
            top: 50%;
        }

            .numInputWrapper span.arrowDown:after {
                border-left: 4px solid transparent;
                border-right: 4px solid transparent;
                border-top: 4px solid rgba(57,57,57,0.6);
                top: 40%
            }

        .numInputWrapper span svg {
            width: inherit;
            height: auto;
        }

            .numInputWrapper span svg path {
                fill: rgba(0,0,0,0.5)
            }

    .numInputWrapper:hover {
        background: rgba(0,0,0,0.05);
    }

        .numInputWrapper:hover span {
            opacity: 1
        }

.flatpickr-current-month {
    font-size: 135%;
    line-height: inherit;
    font-weight: 300;
    color: inherit;
    position: absolute;
    width: 75%;
    left: 12.5%;
    padding: 7.48px 0 0 0;
    line-height: 1;
    height: 34px;
    display: inline-block;
    text-align: center;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

    .flatpickr-current-month span.cur-month {
        font-family: inherit;
        font-weight: 700;
        color: inherit;
        display: inline-block;
        margin-left: .5ch;
        padding: 0;
    }

        .flatpickr-current-month span.cur-month:hover {
            background: rgba(0,0,0,0.05)
        }

    .flatpickr-current-month .numInputWrapper {
        width: 6ch;
        width: 7ch\0;
        display: inline-block;
    }

        .flatpickr-current-month .numInputWrapper span.arrowUp:after {
            border-bottom-color: rgba(0,0,0,0.9)
        }

        .flatpickr-current-month .numInputWrapper span.arrowDown:after {
            border-top-color: rgba(0,0,0,0.9)
        }

    .flatpickr-current-month input.cur-year {
        background: transparent;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: inherit;
        cursor: text;
        padding: 0 0 0 .5ch;
        margin: 0;
        display: inline-block;
        font-size: inherit;
        font-family: inherit;
        font-weight: 300;
        line-height: inherit;
        height: auto;
        border: 0;
        border-radius: 0;
        vertical-align: initial;
        -webkit-appearance: textfield;
        -moz-appearance: textfield;
        appearance: textfield;
    }

        .flatpickr-current-month input.cur-year:focus {
            outline: 0
        }

        .flatpickr-current-month input.cur-year[disabled], .flatpickr-current-month input.cur-year[disabled]:hover {
            font-size: 100%;
            color: rgba(0,0,0,0.5);
            background: transparent;
            pointer-events: none
        }

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        appearance: menulist;
        background: transparent;
        border: none;
        border-radius: 0;
        box-sizing: border-box;
        color: inherit;
        cursor: pointer;
        font-size: inherit;
        font-family: inherit;
        font-weight: 300;
        height: auto;
        line-height: inherit;
        margin: -1px 0 0 0;
        outline: none;
        padding: 0 0 0 .5ch;
        position: relative;
        vertical-align: initial;
        -webkit-box-sizing: border-box;
        -webkit-appearance: menulist;
        -moz-appearance: menulist;
        width: auto;
    }

        .flatpickr-current-month .flatpickr-monthDropdown-months:focus, .flatpickr-current-month .flatpickr-monthDropdown-months:active {
            outline: none
        }

        .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
            background: rgba(0,0,0,0.05)
        }

        .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
            background-color: transparent;
            outline: none;
            padding: 0
        }

.flatpickr-weekdays {
    background: #f1f3f7;
    text-align: center;
    overflow: hidden;
    width: 100%;
    padding-top: 10px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    height: 28px;
}

    .flatpickr-weekdays .flatpickr-weekdaycontainer {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1
    }

span.flatpickr-weekday {
    cursor: default;
    font-size: 90%;
    background: transparent;
    color: #505162;
    line-height: 1;
    margin: 0;
    text-align: center;
    display: block;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-weight: bolder
}

.dayContainer, .flatpickr-weeks {
    padding: 1px 0 0 0
}

.flatpickr-days {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    width: 307.875px;
}

    .flatpickr-days:focus {
        outline: 0
    }

.dayContainer {
    padding: 0;
    outline: 0;
    text-align: left;
    width: 307.875px;
    min-width: 307.875px;
    max-width: 307.875px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    display: -ms-flexbox;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -ms-flex-pack: justify;
    -webkit-justify-content: space-around;
    justify-content: space-around;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
    opacity: 1;
}

    .dayContainer + .dayContainer {
        -webkit-box-shadow: -1px 0 0 #e6e6e6;
        box-shadow: -1px 0 0 #e6e6e6
    }

.flatpickr-day {
    background: none;
    border: 1px solid transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #393939;
/*    margin-top: 4px !important;*/
    cursor: pointer;
    font-weight: 400;
    width: 14.2857143%;
    -webkit-flex-basis: 14.2857143%;
    -ms-flex-preferred-size: 14.2857143%;
    flex-basis: 14.2857143%;
    max-width: 39px;
    height: 39px;
    line-height: 39px;
    margin: 0;
    display: inline-block;
    position: relative;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

    .flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange, .flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus {
        cursor: pointer;
        outline: 0;
        font-weight: 500;
        background: #e6e6e6;
        color: black;
        border-color: #e6e6e6
    }

/*    .flatpickr-day:hover {
        background:none !important;
    }
*/
/*    .flatpickr-day.today {
        border-color: #959ea9;
    }*/

        .flatpickr-day.today:hover, .flatpickr-day.today:focus {
            border-color: #959ea9;
            background: #959ea9;
            color: #fff
        }

    .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
        background: #2563eb;
        -webkit-box-shadow: none;
        box-shadow: none;
        color: #fff;
        border-color: #2563eb;
    }


        .flatpickr-day.selected.startRange, .flatpickr-day.startRange.startRange, .flatpickr-day.endRange.startRange {
            border-radius: 15px 0 0 15px;
        }

        .flatpickr-day.selected.endRange, .flatpickr-day.startRange.endRange, .flatpickr-day.endRange.endRange {
            border-radius: 0 15px 15px 0;
            color:white !important;
        }

        .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
            -webkit-box-shadow: -10px 0 0 #2563eb;
            box-shadow: -10px 0 0 #2563eb;
        }

        .flatpickr-day.selected.startRange.endRange, .flatpickr-day.startRange.startRange.endRange, .flatpickr-day.endRange.startRange.endRange {
            border-radius: 50px
        }

    .flatpickr-day.inRange {
        border-radius: 0;
        -webkit-box-shadow: -5px 0 0 #e6e6e6,5px 0 0 #e6e6e6;
        box-shadow: -5px 0 0 #e6e6e6,5px 0 0 #e6e6e6
    }

    .flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay, .flatpickr-day.notAllowed, .flatpickr-day.notAllowed.prevMonthDay, .flatpickr-day.notAllowed.nextMonthDay {
        color: rgba(57,57,57,0.3);
        background: transparent;
        border-color: transparent;
        cursor: default
    }

        .flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
            cursor: not-allowed;
            color: rgba(57,57,57,0.1)
        }

    .flatpickr-day.week.selected {
        border-radius: 0;
        -webkit-box-shadow: -5px 0 0 #569ff7,5px 0 0 #569ff7;
        box-shadow: -5px 0 0 #569ff7,5px 0 0 #569ff7
    }

/*    .flatpickr-day.hidden {
        visibility: hidden;
    }*/

/*.rangeMode .flatpickr-day {
    margin-top: 1px
}
*/
.flatpickr-weekwrapper {
    float: left;
}

    .flatpickr-weekwrapper .flatpickr-weeks {
        padding: 0 12px;
        -webkit-box-shadow: 1px 0 0 #e6e6e6;
        box-shadow: 1px 0 0 #e6e6e6
    }

    .flatpickr-weekwrapper .flatpickr-weekday {
        float: none;
        width: 100%;
        line-height: 28px
    }

    .flatpickr-weekwrapper span.flatpickr-day, .flatpickr-weekwrapper span.flatpickr-day:hover {
        display: block;
        width: 100%;
        max-width: none;
        color: rgba(57,57,57,0.3);
        background: transparent;
        cursor: default;
        border: none
    }

.flatpickr-innerContainer {
    display: block;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

.flatpickr-rContainer {
    display: inline-block;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

.flatpickr-time {
    text-align: center;
    outline: 0;
    display: block;
    height: 0;
    line-height: 40px;
    max-height: 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

    .flatpickr-time:after {
        content: "";
        display: table;
        clear: both
    }

    .flatpickr-time .numInputWrapper {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        width: 40%;
        height: 40px;
        float: left;
    }

        .flatpickr-time .numInputWrapper span.arrowUp:after {
            border-bottom-color: #393939
        }

        .flatpickr-time .numInputWrapper span.arrowDown:after {
            border-top-color: #393939
        }

    .flatpickr-time.hasSeconds .numInputWrapper {
        width: 26%
    }

    .flatpickr-time.time24hr .numInputWrapper {
        width: 49%
    }

    .flatpickr-time input {
        background: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        text-align: center;
        margin: 0;
        padding: 0;
        height: inherit;
        line-height: inherit;
        color: #393939;
        font-size: 14px;
        position: relative;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-appearance: textfield;
        -moz-appearance: textfield;
        appearance: textfield;
    }

        .flatpickr-time input.flatpickr-hour {
            font-weight: bold
        }

        .flatpickr-time input.flatpickr-minute, .flatpickr-time input.flatpickr-second {
            font-weight: 400
        }

        .flatpickr-time input:focus {
            outline: 0;
            border: 0
        }

    .flatpickr-time .flatpickr-time-separator, .flatpickr-time .flatpickr-am-pm {
        height: inherit;
        float: left;
        line-height: inherit;
        color: #393939;
        font-weight: bold;
        width: 2%;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center
    }

    .flatpickr-time .flatpickr-am-pm {
        outline: 0;
        width: 18%;
        cursor: pointer;
        text-align: center;
        font-weight: 400
    }

        .flatpickr-time input:hover, .flatpickr-time .flatpickr-am-pm:hover, .flatpickr-time input:focus, .flatpickr-time .flatpickr-am-pm:focus {
            background: #eee
        }

.flatpickr-input[readonly] {
    cursor: pointer
}

@-webkit-keyframes fpFadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }
}

@keyframes fpFadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0,-20px,0);
        transform: translate3d(0,-20px,0)
    }

    to {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0)
    }
}


:root {
    --bg: rgba(15, 23, 42, .55); /* overlay */
    --card: rgba(255, 255, 255, .92);
    --text: #0f172a;
    --muted: #475569;
    --border: rgba(15, 23, 42, .12);
    --shadow: 0 24px 70px rgba(2, 6, 23, .28);
    --radius: 18px;
    --focus: 0 0 0 4px rgba(59, 130, 246, .25);
    --primary: #2563eb;
    --primaryHover: #1d4ed8;
}


.modal-overlay {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: var(--bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
    z-index: 9999;
}

    .modal-overlay.is-open {
        opacity: 1;
        pointer-events: auto;
    }

/* Card */
.modal {
    width: min(520px, 100%);
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(8px) scale(.98);
    opacity: 0;
    transition: transform .18s ease, opacity .18s ease;
    padding: 18px 18px 16px;
    outline: none;
}

.modal-overlay.is-open .modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.modal-title {
    font-size: 1.1rem;
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.02em;
}

.modal-desc {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.modal-close {
    border: 1px solid var(--border);
    background: rgba(255,255,255,.6);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease;
}

    .modal-close:hover {
        transform: scale(1.03);
        background: rgba(255,255,255,.85);
    }

    .modal-close:focus-visible {
        outline: none;
        box-shadow: var(--focus);
    }

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn {
    border-radius: 14px;
    border: 1px solid var(--border);
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
    min-height: 42px;
}

    .btn:focus-visible {
        outline: none;
        box-shadow: var(--focus);
    }

    .btn:active {
        transform: translateY(1px);
    }

.btn-primary {
    background: var(--primary);
    border-color: rgba(37, 99, 235, .35);
    color: white;
}

    .btn-primary:hover {
        background: var(--primaryHover);
    }

.btn-secondary {
    background: rgba(255,255,255,.7);
    color: var(--text);
}

    .btn-secondary:hover {
        background: rgba(255,255,255,.95);
    }

/* Mobile tweaks */
@media (max-width: 420px) {
    .modal {
        padding: 16px;
    }

    .modal-actions {
        justify-content: stretch;
    }

    .btn {
        flex: 1;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .modal-overlay, .modal {
        transition: none;
    }
}
/* ===== Modern room card ===== */
.hdRoomTypeBox {
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 18px 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .08) !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease !important;
}

  /*  .hdRoomTypeBox:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 16px 48px rgba(2, 6, 23, .12) !important;
        border-color: rgba(37, 99, 235, .22) !important;
    }*/

/* left image */
.hdtImage {
    flex: 0 0 220px !important; 
    height: auto !important; 
    display: grid !important;
    place-items: center !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.00)) !important;
    border: 1px solid rgba(15, 23, 42, .06) !important;
    overflow: hidden !important;
}

    .hdtImage img {
        max-width: auto !important; 
        max-height: auto !important; 
        object-fit: contain !important;
        filter: saturate(1.05) !important;
    }


/* center */
.hdtCenter {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.hdtTitle {
    font-size: 18px !important;
    font-weight: 750 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    margin-bottom: 10px !important;
}

.hdcLeft {
    color: #475569 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

    .hdcLeft i {
        width: 18px !important;
        margin-right: 6px !important;
        color: rgba(37, 99, 235, .9) !important;
    }

/* right */
.hdtRight {
    flex:none;
    text-align: right !important;
    padding-left: 18px !important;
    border-left: 1px solid rgba(15, 23, 42, .07) !important;
}

.hrPrices {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: flex-end !important;
}

.oldPrice {

    text-decoration: line-through !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.newPrice {
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
}

.dec {
    font-size: .75em !important;
   /* opacity: .9 !important;*/
}

.hrDiscount {
    margin-top: 6px !important;
    color: #16a34a;
    font-weight: 700 !important;
    font-size: 13px !important;
}

/* button */
.hrButton {
    margin-top: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 11px 14px !important;
    border-radius: 14px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 750 !important;
    border: 1px solid rgba(37, 99, 235, .35) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .25) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    min-height: 42px !important;
}

/*    .hrButton:hover {
        background: #1d4ed8 !important;
        box-shadow: 0 14px 28px rgba(37, 99, 235, .30) !important;
        transform: translateY(-1px) !important;
    }*/

    .hrButton:active {
        transform: translateY(0px) !important;
    }

    .hrButton i {
        font-size: 1.1em !important;
    }

/* ===== Mobile ===== */
@media (max-width: 820px) {
    .hdRoomTypeBox {
        flex-direction: column !important;
        align-items: stretch !important;
    }
  
        .hdtImage {
        height: 110px !important;
    }

        .hdtImage img {
            max-width: auto !important;
            max-height: auto !important;
        }

    .hdtRight {
        width: 100% !important;
        text-align: left !important;
        border-left: 0 !important;
        padding-left: 0 !important;
        padding-top: 12px !important;
        border-top: 1px solid rgba(15, 23, 42, .07) !important;
    }

    .hrPrices {
        align-items: flex-start !important;
    }

    .hrButton {
        width: 100% !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hdRoomTypeBox,
    .hrButton {
        transition: none !important;
    }
}

.fieldInput input {
    font-size: 15px;
}

/* ===== Booking basket container ===== */
.nBookingRight {
    position: relative !important;
}

/* Mobile trigger */
.nbMobileTrigger {
    display: none !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    padding: 12px 14px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .08) !important;
    cursor: pointer !important;
    user-select: none !important;
}

    .nbMobileTrigger i {
        font-size: 1.05em !important;
    }

/* Basket card */
.nBookingCart {
    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 44px rgba(2, 6, 23, .10) !important;
    padding: 14px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Close button (top right) */
.bcaClose {
    display: none !important; /* shown on mobile below */
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    background: rgba(255,255,255,.8) !important;
    box-shadow: 0 10px 24px rgba(2,6,23,.10) !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
}

    .bcaClose i {
        color: #0f172a !important;
        font-size: 18px !important;
    }

/* ===== Sections (Accommodation + Flights + transfers/extras) ===== */
.bcAccommodation,
.bcFlight {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    padding: 12px 12px !important;
    margin: 10px 0 !important;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .06) !important;
}

/* Titles */
.bcaTitle {
    font-weight: 700 !important;
    color: #0f172a !important;
    font-size: 15px !important;
    letter-spacing: -0.01em !important;
    text-transform: uppercase !important;
}

.bcaSubTitle {
    margin-top: 4px !important;
    font-weight: 550 !important;
    color: #334155 !important;
    font-size: 13.5px !important;
}

.bcaDesc {
    margin-top: 2px !important;
    color: #64748b !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
        top: 0vh !important;
    }
}


.disabledBk {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(100%);
    transition: opacity 0.2s ease;
}

/* Dates area */
.bcaDates {
    margin-top: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    align-items: start !important;
}

    .bcaDates .line {
        grid-column: 1 / -1 !important;
        height: 1px !important;
        background: rgba(15, 23, 42, .08) !important;
        margin: 2px 0 6px !important;
    }

.bcaDate {
    background: linear-gradient(180deg, rgba(37,99,235,.06), rgba(37,99,235,.00)) !important;
    border: 1px solid rgba(37, 99, 235, .12) !important;
    border-radius: 14px !important;
    padding: 10px 10px !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

    .bcaDate span {
        color: #2563eb !important;
        font-weight: 900 !important;
    }

    /* If you have .fr to float right, neutralize it */
    .bcaDate.fr {
        float: none !important;
        text-align: left !important;
    }

/* Flight rows */
.bcfTitle {
    font-weight: 550 !important;
    color: #0f172a !important;
    font-size: 13.5px !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
}

    .bcfTitle i {
        color: rgba(37, 99, 235, .95) !important;
        margin: 0 6px !important;
    }

.bcfDetails {
    margin-top: 6px !important;
    color: #64748b !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

/* ===== Total / Price ===== */
.bcPrices {
    margin-top: 12px !important;
}

.bcPrice {
    background: linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.00)) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    padding: 12px 12px !important;
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    gap: 12px !important;
}

    .bcPrice .label {
        font-weight: 800 !important;
        color: #334155 !important;
        font-size: 13px !important;
    }

    .bcPrice .price,
    #totalAmount {
        font-weight: 650 !important;
        color: #2563eb !important;
        font-size: 18px !important;
        letter-spacing: -0.02em !important;
    }

/* ===== Responsive: turn into slide-up drawer ===== */
@media (max-width: 900px) {
    .prevMonthDay.hidden {
        visibility: hidden;
    }


    .nextMonthDay.hidden {
        visibility: hidden;
    }
    .nbMobileTrigger {
        display: inline-flex !important;
        width: 100% !important;
        justify-content: center !important;
    }

    .nBookingCart {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        top: 5vh !important;
        max-height: 85vh !important;
        max-height: 82vh !important;
        overflow: auto !important;
        z-index: 9999 !important;
        display: none !important; /* you toggle this with JS */
        padding-top: 56px !important; /* room for close btn */
    }

        .nBookingCart.is-open {
            display: block !important;
            width: 95%;
        }

    .bcaClose {
        display: flex !important;
    }

    .bcaDates {
        grid-template-columns: 1fr !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .nBookingCart,
    .nbMobileTrigger {
        transition: none !important;
    }
}


/* ===== Left booking content card ===== */
.nBookingItem {
    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 44px rgba(2, 6, 23, .10) !important;
    padding: 18px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* Big titles */
.biBigTitle {
    font-size: 20px !important;
    font-weight: 650 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    margin: 6px 0 14px !important;
}

/* Section titles (1. Kişi etc.) */
.biMidTitle {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin: 14px 0 10px !important;
    padding-top: 12px !important;
    border-top: 1px solid rgba(15, 23, 42, .08) !important;
}

    .biMidTitle span {
        font-weight: 700 !important;
        color: #64748b !important;
    }

/* Spacers */
.biSpacer {
    height: 10px !important;
    display:none;
}

/* ===== Table layout -> make it behave like a grid ===== */
.full-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 12px 10px !important;
}

    .full-table td {
        vertical-align: top !important;
        padding: 0 !important;
    }

        /* If some empty <td> exist, don't break spacing */
        .full-table td:empty {
            display: none !important;
        }

/* ===== Inputs / Selects / Textarea ===== */
.full-input,
.full-select,
.full-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, .12) !important;
    background: rgba(255,255,255,.95) !important;
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 4px 12px !important;
    outline: none !important;
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease !important;
}

/* Prevent iOS zoom */
.full-input,
.full-select,
.full-textarea {
    font-size: 16px !important;
}

    /* Placeholder */
    .full-input::placeholder,
    .full-textarea::placeholder {
        color: #94a3b8 !important;
        font-weight: 600 !important;
    }

    /* Focus state */
    .full-input:focus,
    .full-select:focus,
    .full-textarea:focus {
   /*     border-color: rgba(37, 99, 235, .45) !important;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .18) !important;*/
    }

    /* Hover */
    .full-input:hover,
    .full-select:hover,
    .full-textarea:hover {
        border-color: rgba(15, 23, 42, .18) !important;
    }

/* Select arrow + nicer look */
.full-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 42px !important;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%) !important;
    background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px) !important;
    background-size: 6px 6px, 6px 6px !important;
    background-repeat: no-repeat !important;
}

/* Textarea */
.full-textarea {
    min-height: 120px !important;
    line-height: 1.5 !important;
}

/* ===== Radio options: Kişisel / Şirket ===== */
.biSecOptions {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 10px 0 12px !important;
}

.biOpt {
    flex: 0 0 auto !important;
}

/* Make radio blocks look like pills */
.bCheck.radio {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    background: rgba(255,255,255,.95) !important;
    box-shadow: 0 10px 22px rgba(2, 6, 23, .06) !important;
}

    /* Hide default radio but keep accessible */
    .bCheck.radio input[type="radio"] {
        position: absolute !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Custom dot before label */
    .bCheck.radio label {
        position: relative !important;
        padding-left: 26px !important;
        cursor: pointer !important;
        color: #0f172a !important;
        font-weight: 650 !important;
        font-size: 14px !important;
        user-select: none !important;
    }

        .bCheck.radio label:before {
            content: "" !important;
            position: absolute !important;
            left: 0 !important;
            top: 50% !important;
            margin-top: -2px;
            transform: translateY(-50%) !important;
            width: 16px !important;
            height: 16px !important;
            border-radius: 999px !important;
            border: 2px solid rgba(37, 99, 235, .45) !important;
            background: #ffffff !important;
        }

    .bCheck.radio input[type="radio"]:checked + label:before {
        background: radial-gradient(circle at center, #2563eb 0 45%, transparent 47% 100%) !important;
        border-color: rgba(37, 99, 235, .85) !important;
    }

/* ===== Person blocks (optional subtle grouping) ===== */
.biPerson {
    padding: 2px 0 !important;
}

/* ===== Responsive: stack table cells nicely ===== */
@media (max-width: 900px) {
    .nBookingItem {
        padding: 16px !important;
    }
    @media (max-width: 900px) {
        .footer-inner img {
            width: 25% !important;
            height: 25% !important;
        }
    }

    .phone small {
        display: block;
        font-size: 12px;
        color: var(--muted);
        font-weight: 600;
        margin-top: -2px;
    }


    .full-table {
        border-spacing: 10px 10px !important;
    }

        /* Stack each row’s cells vertically on small screens */
        .full-table tr {
            display: grid;
            grid-template-columns: 1fr !important;
            gap: 10px !important;
        }

        .full-table td {
            display: block !important;
            width: 100% !important;
        }

    .biSecOptions {
        flex-wrap: wrap !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .full-input,
    .full-select,
    .full-textarea {
        transition: none !important;
    }
}
 .blurFilterBooking {
    filter: blur(4px) !important;
    transition: filter .2s ease !important;
}

.bCheck.radio input:checked + label:after {
    background:none !important;
}

.footer-inner img {
    width:20%;
    height:20%;
}

/* ===== Search container card ===== */
.containerItem {
    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 44px rgba(2, 6, 23, .10) !important;
    padding: 16px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

/* ===== Tabs ===== */
.searchTabNav {
    display: inline-flex !important;
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    background: rgba(255,255,255,.85) !important;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .06) !important;
    margin-bottom: 14px !important;
}

.stnBt {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
    cursor: pointer !important;
    font-weight: 650 !important;
    color: #0f172a !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    user-select: none !important;
    transition: transform .12s ease, background .12s ease, box-shadow .12s ease !important;
}

    .stnBt i {
        color: rgba(37, 99, 235, .95) !important;
    }

    .stnBt:hover {
        background: rgba(2, 6, 23, .03) !important;
        transform: translateY(-1px) !important;
    }

    .stnBt.active {
        background: rgba(37, 99, 235, .12) !important;
        border-color: rgba(37, 99, 235, .18) !important;
        box-shadow: 0 10px 22px rgba(37, 99, 235, .14) !important;
    }

/* ===== Table layout tweaks ===== */
.searchMain.full-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 12px 12px !important;
}

    .searchMain.full-table td {
        padding: 0 !important;
    }

/* ===== Field Input (icon + label + input) ===== */
.fieldInput {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    background: rgba(255,255,255,.95) !important;
    padding: 12px 14px !important;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .06) !important;
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease !important;
}

    .fieldInput:hover {
        border-color: rgba(15, 23, 42, .16) !important;
        transform: translateY(-1px) !important;
    }

    .fieldInput:focus-within {
       /* border-color: rgba(37, 99, 235, .45) !important;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .18), 0 12px 30px rgba(2,6,23,.08) !important;*/
        transform: translateY(-1px) !important;
    }

    .fieldInput > i {
        width: 36px !important;
        height: 36px !important;
        border-radius: 14px !important;
        display: grid !important;
        place-items: center !important;
        background: rgba(37, 99, 235, .10) !important;
        color: rgba(37, 99, 235, .95) !important;
        font-size: 16px !important;
    }

.fiText {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

    .fiText label {
        display: block !important;
        font-size: 12px !important;
        font-weight: 850 !important;
        color: #64748b !important;
        margin-bottom: 4px !important;
        letter-spacing: .02em !important;
    }

    .fiText input {
        width: 100% !important;
        border: 0 !important;
        outline: none !important;
        background: transparent !important;
        color: #0f172a !important;
        font-weight: 500 !important;
        font-size: 16px !important; /* prevents iOS zoom */
        padding: 0 !important;
    }

        .fiText input::placeholder {
            color: #94a3b8 !important;
            font-weight: 650 !important;
        }

        /* Flatpickr readonly still looks like input */
        .fiText input[readonly] {
            cursor: pointer !important;
        }

/* ===== Passengers dropdown ===== */
.passengers {
    position: relative !important;
    width: 100% !important;
}

.passTrigger {
    display: flex !important;
    align-items: center !important;
    border-radius: 16px !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    background: rgba(255,255,255,.95) !important;
    padding: 14px 14px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .06) !important;
    cursor: pointer !important;
    transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease !important;
    font-size: 16px !important; /* iOS zoom prevention if it becomes focusable */
}

    .passTrigger:after {
        content: "" !important;
        width: 10px !important;
        height: 10px !important;
        margin-left: 75% !important;
        border-right: 2px solid rgba(100,116,139,.9) !important;
        border-bottom: 2px solid rgba(100,116,139,.9) !important;
        transform: rotate(45deg) !important;
        opacity: .85 !important;
    }

    .passTrigger:hover {
        border-color: rgba(15, 23, 42, .16) !important;
        transform: translateY(-1px) !important;
    }

/* Dropdown panel */
.pass-drop {
    position: absolute !important;
    right: 0 !important;
    top: calc(100% + 10px) !important;
    width: min(360px, 100%) !important;
    z-index: 999 !important;
    background: rgba(255,255,255,.95) !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 60px rgba(2, 6, 23, .18) !important;
    padding: 12px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

    .pass-drop .full-table {
        border-spacing: 10px 10px !important;
    }

    .pass-drop td {
        color: #0f172a !important;
        font-weight: 400 !important;
        font-size: 14px !important;
    }

    .pass-drop .full-select {
        width: 100% !important;
        border-radius: 14px !important;
        border: 1px solid rgba(15, 23, 42, .12) !important;
        padding: 4px 12px !important;
        font-size: 16px !important; /* iOS zoom prevention */
        font-weight: 400 !important;
        background: rgba(255,255,255,.98) !important;
        appearance: none !important;
        -webkit-appearance: none !important;
    }

/* OK button */
.passOkBt {
    width: 100% !important;
    font-weight: 500 !important;
    padding: 4px 14px !important;
    margin-top: 10px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(37, 99, 235, .35) !important;
    background: #2563eb !important;
    color: #ffffff !important;
    cursor: pointer !important;
    box-shadow: 0 12px 26px rgba(37, 99, 235, .25) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
}

    .passOkBt:hover {
        background: #1d4ed8 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 16px 30px rgba(37, 99, 235, .30) !important;
    }

    .passOkBt:active {
        transform: translateY(0px) !important;
    }

/* ===== Search button ===== */
.auto-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    border-radius: 16px !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: 1px solid rgba(37, 99, 235, .35) !important;
    font-weight: 950 !important;
    padding: 12px 14px !important;
    cursor: pointer !important;
    box-shadow: 0 14px 30px rgba(37, 99, 235, .25) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
}

    .auto-button:hover {
        background: #1d4ed8 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 18px 34px rgba(37, 99, 235, .30) !important;
    }

    .auto-button:active {
        transform: translateY(0px) !important;
    }

    .auto-button i {
        font-size: 1.05em !important;
    }

/* ===== Responsive: stack fields nicely ===== */
@media (max-width: 900px) {
    .searchMain.full-table {
        border-spacing: 0 !important;
    }
    .showAllFlBtn {
        margin-left: 34% !important;
    }
    .showLessFlBtn {
        margin-left:34% !important;
    }
 
        .passTrigger:after {

        margin-left: 65% !important;

    }
        .searchMain.full-table tr {
            display: grid;
            grid-template-columns: 1fr !important;
            gap: 10px !important;
        }

        .searchMain.full-table td {
            width: 100% !important;
            display: block !important;
        }

    .pass-drop {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fieldInput,
    .stnBt,
    .auto-button,
    .passTrigger,
    .passOkBt {
        transition: none !important;
    }
}

.usersFA {
    width: 36px !important;
    height: 36px !important;
    margin-right:15px !important;
    border-radius: 14px !important;
    display: grid !important;
    place-items: center !important;
    background: rgba(37, 99, 235, .10) !important;
    color: rgba(37, 99, 235, .95) !important;
    font-size: 16px !important;
}

/* ===== Flight list wrapper ===== */
.hdFlightList {
    background: rgba(255,255,255,.92) !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 44px rgba(2, 6, 23, .10) !important;
    padding: 12px !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}
.hdFlights .hdFlightItem:after {
    background:none !important;
}
/* ===== Individual flight item ===== */
.hdFlightItem {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .06) !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease !important;
}

    .hdFlightItem:hover {
        transform: translateY(-1px) !important;
        border-color: rgba(37, 99, 235, .18) !important;
        box-shadow: 0 14px 34px rgba(2, 6, 23, .08) !important;
    }

    /* Selected (choosed) */
    .hdFlightItem.choosed {
        background: rgba(37, 99, 235, .06) !important;
        border-color: rgba(37, 99, 235, .22) !important;
        box-shadow: 0 16px 42px rgba(37, 99, 235, .14) !important;
    }

/* Left airline logo */
.hdfLogo {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 16px !important;
    display: grid !important;
    place-items: center !important;
    background: linear-gradient(180deg, rgba(2,6,23,.02), rgba(2,6,23,.00)) !important;
    border: 1px solid rgba(15, 23, 42, .06) !important;
    overflow: hidden !important;
}

    .hdfLogo img {
        max-width: 34px !important;
        max-height: 34px !important;
        object-fit: contain !important;
    }

/* Middle details */
.hdfDetails {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    color: #334155 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

    .hdfDetails span {
        color: #0f172a !important;
        font-weight: 600 !important;
    }

    .hdfDetails .flightType {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin-top: 4px !important;
        padding: 5px 10px !important;
        border-radius: 999px !important;
        background: rgba(15, 23, 42, .04) !important;
        border: 1px solid rgba(15, 23, 42, .07) !important;
        color: #475569 !important;
        font-weight: 500 !important;
        font-size: 12px !important;
    }

/* Right price */
.hdfPrice {
    flex: 0 0 auto !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    text-align: right !important;
    white-space: nowrap !important;
    margin-left: auto !important;
}

/* Radio indicator (CSS only) */
.hdFlightItem::after {
    content: "" !important;
    flex: 0 0 auto !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    border: 2px solid rgba(148, 163, 184, .9) !important;
    background: #ffffff !important;
    margin-left: 10px !important;
}

.hdFlightItem.choosed::after {
    border-color: rgba(37, 99, 235, .95) !important;
    background: radial-gradient(circle at center, rgba(37, 99, 235, .95) 0 45%, transparent 47% 100%) !important;
}

/* Optional: show "+0,00 TL" as a softer badge when zero */
.hdFlightItem .hdfPrice {
    padding: 6px 10px !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, .03) !important;
    border: 1px solid rgba(15, 23, 42, .07) !important;
}

/* If selected, make the price badge slightly blue */
.hdFlightItem.choosed .hdfPrice {
    background: rgba(37, 99, 235, .10) !important;
    border-color: rgba(37, 99, 235, .18) !important;
}

/* ===== Mobile ===== */
@media (max-width: 700px) {
    .hdFlightItem {
        gap: 12px !important;
        padding: 12px !important;
    }

    .hdfLogo {
        width: 48px !important;
        height: 48px !important;
        border-radius: 16px !important;
    }

    .hdfPrice {
        font-size: 15px !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hdFlightItem {
        transition: none !important;
    }
}

@keyframes priceDrop {
    0% {
        transform: scale(1);
        background: rgba(22, 163, 74, 0);
    }

    35% {
        transform: scale(1.06);
        background: rgba(22, 163, 74, .14);
    }

    100% {
        transform: scale(1);
        background: rgba(22, 163, 74, 0);
    }
}

.newPrice.price-drop {
    color: #16a34a;
    padding: 4px 8px;
    border-radius: 12px;
    animation: priceDrop 1s 3;
}

@keyframes priceRise {
    0% {
        transform: scale(1);
        background: rgba(220, 38, 38, 0);
    }

    35% {
        transform: scale(1.06);
        background: rgba(220, 38, 38, .14);
    }

    100% {
        transform: scale(1);
        background: rgba(220, 38, 38, 0);
    }
}

.newPrice.price-rise {
    color: #dc2626;
    padding: 4px 8px;
    border-radius: 12px;
    animation: priceRise 1s 3;
}

.acCategorySpan  {
    font-weight:400 !important;
}

.wrong {
    border: 1px solid #f00 !important;
}

.bkfltime {
    font-weight:700;
}

.showAllFlBtn {
    margin-top: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer;
    padding: 0 14px !important;
    line-height: 42px;
    float: left;
    margin-left: 38%;
    border-radius: 14px !important;
    background: #0ece4c !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 750 !important;
    border: 1px solid rgb(49 235 37 / 35%) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .25) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    min-height: 42px !important;
}

.showLessFlBtn {
    margin-top: 12px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    cursor: pointer;
    padding: 0 14px !important;
    line-height: 42px;
    float: left;
    margin-left: 38%;
    border-radius: 14px !important;
    background: #f22f50 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 750 !important;
    border: 1px solid rgb(235 37 37 / 35%) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .25) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
    min-height: 42px !important;
}

/* ===== Tabs container (pill bar) ===== */
.searchTabNav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.90) !important;
    border: 1px solid rgba(15, 23, 42, .10) !important;
    box-shadow: 0 10px 28px rgba(2, 6, 23, .08) !important;
}

/* ===== Tab button ===== */
.stnBt {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    color: #0f172a !important;
    cursor: pointer !important;
    user-select: none !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    transition: transform .12s ease, background .12s ease, box-shadow .12s ease, border-color .12s ease !important;
}

    /* Hover */
    .stnBt:hover {
        background: rgba(2, 6, 23, .03) !important;
        transform: translateY(-1px) !important;
    }

    /* Active = professional primary pill */
    .stnBt.active {
        background: rgba(37, 99, 235, .12) !important;
        border-color: rgba(37, 99, 235, .20) !important;
        box-shadow: 0 12px 26px rgba(37, 99, 235, .18) !important;
    }

    /* ===== Icon styling: turn FA icons into "chips" ===== */
    .stnBt i {
        width: 30px !important;
        height: 30px !important;
        border-radius: 12px !important;
        display: inline-grid !important;
        place-items: center !important;
        background: rgba(37, 99, 235, .10) !important;
        border: 1px solid rgba(37, 99, 235, .14) !important;
        color: rgba(37, 99, 235, .95) !important;
        font-size: 14px !important;
    }

    /* When active, slightly stronger icon chip */
    .stnBt.active i {
        background: rgba(37, 99, 235, .14) !important;
        border-color: rgba(37, 99, 235, .22) !important;
    }

    /* Make the '+' look like a subtle separator, not a big icon */
    .stnBt i.fa-plane + * {
        /* no-op: keep spacing stable */
    }

    .stnBt .fa-plane {
        margin-right: 2px !important;
    }

    .stnBt .fa-bed {
        margin-left: 2px !important;
    }

/* Optional: style the plus sign between icons */
.stnBt {
    letter-spacing: -0.01em !important;
}

    .stnBt .fa-plane {
        /* keep */
    }

/* ===== Mobile: full width, nicer wrapping ===== */
@media (max-width: 520px) {
    .searchTabNav {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .stnBt {
        flex: 1 1 0 !important;
        justify-content: center !important;
        padding: 10px 10px !important;
    }
}

.stnBt .icon {
    width: 22px !important;
    height: 22px !important;
    color: rgba(37,99,235,.95) !important;
    flex-shrink: 0;
}

.stnBt .icon img {
    width:100%;
}

/* ===== No results state ===== */
#noResultDiv {
    width: 100% !important;
    margin-top: 26px !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 42px 18px !important;
    border-radius: 22px !important;
    border: 1px solid rgba(15, 23, 42, .08) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) !important;
    box-shadow: 0 18px 60px rgba(2, 6, 23, .10) !important;
}

    /* Title line */
    #noResultDiv .pgbTitle {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        justify-content: center;
        font-size: 28px !important;
        font-weight: 950 !important;
        letter-spacing: -0.02em !important;
        color: #2563eb !important;
        margin: 0 0 10px !important;
    }

        /* Icon bubble */
        #noResultDiv .pgbTitle i {
            width: 44px !important;
            height: 44px !important;
            border-radius: 999px !important;
            display: grid !important;
            place-items: center !important;
            background: rgba(37, 99, 235, .12) !important;
            border: 1px solid rgba(37, 99, 235, .18) !important;
            color: rgba(37, 99, 235, .95) !important;
            font-size: 18px !important;
        }

    /* Subtitle */
    #noResultDiv .pgbSubTitle {
        font-size: 15.5px !important;
        font-weight: 750 !important;
        color: #0f172a !important;
        margin: 0 0 6px !important;
        line-height: 1.45 !important;
    }

    /* Helper text */
    #noResultDiv .pgbDest {
        font-size: 13.5px !important;
        font-weight: 650 !important;
        color: #64748b !important;
        margin: 0 !important;
    }

/* Optional: make it feel centered on large screens */
@media (min-width: 900px) {
    #noResultDiv {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .prevMonthDay.hidden {
        display: block !important;
      /*  visibility: visible;*/
    }
}

/* Mobile sizing */
@media (max-width: 520px) {
    #noResultDiv {
        padding: 34px 14px !important;
        border-radius: 18px !important;
    }

        #noResultDiv .pgbTitle {
            font-size: 24px !important;
        }
}

.noFlightFound {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    margin: 12px 0 !important;
    border-radius: 16px !important;
    background: linear-gradient( 180deg, rgba(220, 38, 38, .08), rgba(220, 38, 38, .04) ) !important;
    border: 1px solid rgba(220, 38, 38, .25) !important;
    box-shadow: 0 10px 28px rgba(2, 6, 23, .08) !important;
    color: #b91c1c !important;
    font-weight: 850 !important;
    font-size: 14.5px !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
}

    /* Icon bubble (pure CSS, no extra HTML needed) */
    .noFlightFound::before {
        content: "✈" !important;
        display: grid !important;
        place-items: center !important;
        width: 34px !important;
        height: 34px !important;
        border-radius: 999px !important;
        background: rgba(220, 38, 38, .15) !important;
        border: 1px solid rgba(220, 38, 38, .35) !important;
        font-size: 14px !important;
        color: #dc2626 !important;
    }

/* Optional: subtle attention animation (once) */
@keyframes nfPulse {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

.noFlightFound {
    animation: nfPulse .35s ease-out !important;
}

/* Mobile tweaks */
@media (max-width: 520px) {
    .noFlightFound {
        font-size: 14px !important;
        padding: 12px 14px !important;
    }
}


/* ===== Flatpickr fullscreen on mobile ===== */
@media (max-width: 767px) {
    .flatpickr-months {
        display:none !important;
    }
    .flatpickr-calendar {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100dvh !important; /* mobile-safe viewport */
        max-width: none !important;
        max-height: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: none !important;
        z-index: 999999 !important;
        background: #ffffff !important;
    }
    .ui-menu .ui-menu-item {
        font-size: 15px !important;
        line-height: 50px !important;
        font-weight: 500 !important;
        background: white !important;
        height: 50px !important;
    }
    /* center calendar content */
    .flatpickr-innerContainer {
        height: 100% !important;
    }

    .flatpickr-rContainer {
    /*    height: calc(100% - 42vh) !important;*/
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        justify-content: center !important;
    }

    .dayContainer {
        width: 100%;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .flatpickr-weekdays {
        height: 20vh !important;
    }

    span .flatpickr-weekday {
        font-size: 16px !important;
    }
    /* Bigger days (touch friendly) */
    .flatpickr-day {
        height: 45px;
        line-height: 45px;
        max-width: 60px;
        font-weight: 500;
        font-size: 1rem;
    }

    /* Header */
    .flatpickr-months {
        padding: 14px 16px !important;
        border-bottom: 1px solid rgba(15,23,42,.08) !important;
        margin-top: 10vh;
    }

        .flatpickr-months .flatpickr-month {
            height: 80px !important;
            margin-top:-50px;
        }

        .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
            top:5vh !important;
            height:45px !important;
        }
            .flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg {
                width: 40px !important;
                height: 22px !important;
            }
        .flatpickr-current-month {
            font-size: 25px !important;
            font-weight: 900 !important;
            height: 60px !important;
        }

    /* Weekdays */
    .flatpickr-weekdays {
        padding: 10px 0 !important;
        font-weight: 800 !important;
    }

    /* Bottom action area */
    .flatpickr-time,
    .flatpickr-footer {
        padding: 14px 16px !important;
        border-top: 1px solid rgba(15,23,42,.08) !important;
    }
}

@media (min-width: 400px) {
    .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
        top: 6vh !important;
    }
}
@media (min-width: 900px) {
    .roomSlider {
        height: 150px !important;
    }
    .flatpickr-day.hidden {
        display: block !important;
    }
    .flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
        top: .5vh !important;
    }
    .flatpickr-current-month {

        padding: 15.48px 0 0 0 !important;

    }
}


@media (max-width: 767px) {
    .flatpickr-calendar::after {
        content: "✕";
        position: absolute;
        width: 40px;
        line-height: 40px;
        height: 40px;
        border-radius: 14px;
        display:none;
        place-items: center;
        font-size: 40px;
        font-weight: 900;
        color: #0f172a;
        cursor: pointer;
        z-index: 2;
    }
    .hdfDetails .flightType {
        padding: 5px !important;
        font-size: 10px !important;
    }
    .hdFlightItem .hdfPrice {
        padding: 2px 4px !important;
    }
    .hdFlights .hdFlightList {
        width: 100%;
        float: left;
        max-height: 220px;
        overflow: hidden;
    }
}

/* ===== Sticky footer with buttons ===== */
.flatpickr-calendar .fp-footer {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(15,23,42,.08) !important;
    background: rgba(255,255,255,.96) !important;
    display: block;
    gap: 10px !important;
    z-index: 10 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.flatpickr-calendar .fp-btn {
    flex: 1 1 0 !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    font-weight: 950 !important;
    font-size: 15px !important;
    width: 48%;
    cursor: pointer !important;
    border: 1px solid rgba(15,23,42,.10) !important;
}

    .flatpickr-calendar .fp-btn.fp-clear {
        background: rgba(15,23,42,.05) !important;
        color: #0f172a !important;
    }

    .flatpickr-calendar .fp-btn.fp-apply {
        background: #2563eb !important;
        color: #ffffff !important;
        border-color: rgba(37,99,235,.35) !important;
        box-shadow: 0 14px 30px rgba(37,99,235,.22) !important;
    }

/* ===== Fullscreen autocomplete on mobile (jQuery UI) ===== */
@media (max-width: 767px) {

    body.ac-fullscreen {
        overflow: hidden !important; /* stop background scroll */
    }

        /* The autocomplete menu (jQuery UI uses .ui-menu / .ui-autocomplete) */
        body.ac-fullscreen .ui-menu {
            position: fixed !important;
            inset: 0 !important;
            width: 100vw !important;
            height: 100dvh !important;
            max-height: none !important;
            margin: 0 !important;
            padding: calc(64px + env(safe-area-inset-top)) 12px 14px !important;
            padding-top:80px !important;
            border-radius: 0 !important;
            border: none !important;
            box-shadow: none !important;
            background: #ffffff !important;
            z-index: 999999 !important;
            overflow-y: auto !important;
            -webkit-overflow-scrolling: touch !important;
        }

       
}
/*

@media (max-width: 768px) {

    #acTextMirror {
        position: fixed;
        top: 0;
        z-index: 1000002;
        height: 80px;
        line-height: 80px;
        font-size: 24px;
        padding: 14px 16px;
        width: 100%;
        border-bottom: 2px solid black;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .15);
        box-shadow: 0 18px 50px rgba(2, 6, 23, .12);
        font-weight: 800;
        color: #0f172a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: none;
    }

    body.ac-fullscreen #acTextMirror {
        display: block;
    }
}*/

#acTextMirror {
    display:none;
}

@media (max-width: 767px) {

    #acTextMirror {
        position: fixed;
        top: 0;
        z-index: 1000002;
        height: 80px;
        line-height: 80px;
        font-size: 24px;
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
        border-bottom: 2px solid black;
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .15);
        font-weight: 800;
        color: #0f172a;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: none;
    }

    body.ac-fullscreen #acTextMirror {
        display: flex;
    }

    #acTextMirror .ac-text {
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Cancel button */
    #acTextMirror .ac-cancel {
        background: none;
        border: none;
        padding: 6px 8px;
        font-size: 20px;
        font-weight: 700;
        color: #2563eb;
        cursor: pointer;
        border-radius: 10px;
    }

        #acTextMirror .ac-cancel:active {
            background: rgba(37,99,235,.1);
        }
}

/* ===== Required field attention animation ===== */
@keyframes requiredShake {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-6px);
    }

    30% {
        transform: translateX(6px);
    }

    45% {
        transform: translateX(-4px);
    }

    60% {
        transform: translateX(4px);
    }

    75% {
        transform: translateX(-2px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes requiredGlow {
    0% {
        box-shadow: 0 0 0 rgba(220,38,38,0);
    }

    30% {
        box-shadow: 0 0 0 4px rgba(220,38,38,.25);
    }

    60% {
        box-shadow: 0 0 0 6px rgba(220,38,38,.35);
    }

    100% {
        box-shadow: 0 0 0 rgba(220,38,38,0);
    }
}

/* Apply to the whole field */
.fieldInput.required-error {
    border-color: rgba(220,38,38,.55) !important;
    animation: requiredShake .5s ease-in-out, requiredGlow 2s ease-out !important;
}

    /* Icon turns red briefly */
    .fieldInput.required-error > i {
        color: #dc2626 !important;
        background: rgba(220,38,38,.12) !important;
        border-radius: 12px !important;
    }

    /* Label hint */
    .fieldInput.required-error label {
        color: #dc2626 !important;
    }

input.required-error {
    border-color: rgba(220,38,38,.55) !important;
    animation: requiredShake .5s ease-in-out, requiredGlow 2s ease-out !important;
}

    /* Icon turns red briefly */
    input.required-error > i {
        color: #dc2626 !important;
        background: rgba(220,38,38,.12) !important;
        border-radius: 12px !important;
    }

    /* Label hint */
    input.required-error label {
        color: #dc2626 !important;
    }
select.required-error {
    border-color: rgba(220,38,38,.55) !important;
    animation: requiredShake .5s ease-in-out, requiredGlow 2s ease-out !important;
}

    /* Icon turns red briefly */
    select.required-error > i {
        color: #dc2626 !important;
        background: rgba(220,38,38,.12) !important;
        border-radius: 12px !important;
    }

    /* Label hint */
    select.required-error label {
        color: #dc2626 !important;
    }


.limitHeightBk {
    max-height: 75px;
    overflow: hidden;
    pointer-events:all;
    cursor:pointer;
}

@media (max-width: 600px) {
    .flatpickr-calendar {
        width: 100%;
    }

  
    .flatpickr-rContainer {
        display: block;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .flatpickr-days {
        height: auto !important;
        overflow-y: auto;
        display: block;
    }

    .dayContainer {
        display: flex;
        flex-wrap: wrap;
        height: auto !important;
        min-height: unset !important;
        margin-bottom: 14px;
    }

    .fp-month-title {
        font-weight: 700;
        font-size: 22px;
        text-align: left;
        padding: 14px 12px 6px;
        padding-left: 30px;
    }
    .flatpickr-weekdaycontainer {
        display:none !important;
    }
        .flatpickr-weekdaycontainer:nth-of-type(1) {
            display: flex !important;
            font-size: 18px;
            background: #f1f3f7;
            padding: 10px;
        }
}

.hotelGallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    border-radius: 24px;
    overflow: hidden;
}

    .hotelGallery a {
        display: block;
        position: relative;
    }

    .hotelGallery img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.gHero {
    grid-row: 1 / span 2;
    grid-column: 1;
}

.gTop {
    grid-row: 1;
    grid-column: 2;
}

.gBottom {
    grid-row: 2;
    grid-column: 2;
}

/* Optional: make the whole thing a consistent height */
.hotelGallery {
    height: 34vh !important;
    min-height: 220px !important;
}

@media (max-width: 600px) {
    .hotelGallery {
        height: auto;
        gap: 4x;
        border-radius: 18px;
    }
}

.hdtImage {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.roomSlider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

    .roomSlider::-webkit-scrollbar {
        display: none;
    }
    /* Chrome/Safari */

    .roomSlider img {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        object-fit: cover;
        scroll-snap-align: start;
        display: block;
    }

/* arrows */
.roomNav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,.45);
    color: #fff;
    font-size: 22px;
    line-height: 34px;
    cursor: pointer;
}

    .roomNav.prev {
        left: 10px;
    }

    .roomNav.next {
        right: 10px;
    }

/* dots */
.roomDots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

    .roomDots .dot {
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: rgba(255,255,255,.6);
    }

        .roomDots .dot.active {
            background: rgba(255,255,255,1);
        }

/* optional: hide arrows on small screens (keep swipe) */
@media (max-width: 600px) {
    .roomNav {
        display: none;
    }
}

.hdtImage {
    position: relative;
}

.roomSlider {
    position: relative;
    z-index: 1;
}

.roomNav {
    position: absolute;
    z-index: 10; /* ✅ above images */
    pointer-events: auto; /* ✅ ensure clickable */
}

.roomDots {
    position: absolute;
    z-index: 10;
    pointer-events: auto;
}

.roomSlider img {
    object-fit: cover !important;
}

.hdtImage {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.roomSlider {
    display: flex;
    height: 100%;
}

    .roomSlider img {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }



@media (max-width: 750px) {
    .hdfDetails .flightType {
        padding: 3px !important;
        font-size: 8px !important;
    }

    .hdFlightItem {
        padding-left: 4px !important;
    }

    .hdfLogo {
        flex: 0 0 36px !important;
    }
    .hdfDetails {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        color: #334155 !important;
        font-size: 10px !important;
        line-height: 10px !important;
        font-weight: 500 !important;
    }
 
    .hdfPrice {
        font-size: 12px !important;
    }
    .hdFlightItem .hdfPrice {
        padding: 1px 2px !important;
    }
}

.roomDetailsBtn {
    border: 0;
    background: transparent;
    color: #1a56db;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 0;
    text-decoration: underline;
}

.roomModal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

    .roomModal.is-open {
        display: block;
    }

.roomModal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.roomModal__panel {
    position: relative;
    width: min(860px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.roomModal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}

.roomModal__title {
    font-size: 18px;
    margin: 0;
}

.roomModal__close {
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 8px;
}

.roomSliderBig {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 6px;
}

.roomSliderBig__viewport {
    overflow: hidden;
    border-radius: 12px;
}

.roomSliderBig__track {
    display: flex;
    transition: transform .25s ease;
    will-change: transform;
}

.roomSlide {
    min-width: 100%;
    aspect-ratio: 16 / 9;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .roomSlide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.roomSliderBig__nav {
    height: 44px;
    width: 44px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    font-size: 22px;
}

.roomSliderBig__dots {
    display: flex;
    gap: 6px;
    padding: 0 16px 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.roomSliderBig__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: #d1d5db;
    cursor: pointer;
}

    .roomSliderBig__dot.is-active {
        background: #111827;
    }

.roomModal__content {
    padding: 12px 16px 16px;
    overflow: auto;
}

    .roomModal__content h3 {
        margin: 0 0 8px;
        font-size: 16px;
    }

    .roomModal__content ul {
        margin: 0;
        padding-left: 18px;
    }

    .roomModal__content li {
        margin: 6px 0;
    }

/* Full-page on mobile */
@media (max-width: 640px) {
    .roomModal__panel {
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .roomSliderBig {
        grid-template-columns: 44px 1fr 44px;
        padding: 12px;
    }
}


/* Full-page on mobile */
@media (max-width: 640px){
  .roomModal__panel{
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
  }
  .roomSlider{
    grid-template-columns: 44px 1fr 44px;
    padding: 12px;
  }
}

.titlePhotos {
    font-size: 13px !important;
    color: #2563eb !important;
    font-weight: 500 !important;
}

.roomSliderBig__dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: #d1d5db;
    cursor: pointer;
}

    .roomSliderBig__dot.is-active {
        background: #111827;
    }

.ui-menu-item-wrapper:hover {
    color: black !important;
}

/*.fpAvailable {
    color: #50c850;
    font-weight:700;
}*/

.fpStopSale {
     color: #fb4d3f !important;
    font-weight: 700 !important;

}




    .fpStopSale:hover {
        color: #fb4d3f !important;
        font-weight: 700 !important;
    }

.fpAskSale {
    color: #fbca3f !important;
    font-weight: 700 !important;
}

.fp-asksale {
    background: #fff3cd;
    color: #856404;
    border-radius: 4px;
}
.endRange {
    color: white !important;
    font-weight: 700 !important;
}

.startRange {
    color: white !important;
    font-weight: 700 !important;
}
/* Stop Sale */
.fp-stopsale {
    background: #f8d7da;
    color: #842029;
    border-radius: 4px;
}

    /* Optional: make stop-sale clearly unselectable */
.fpStopSale.flatpickr-disabled,
.fpStopSale:hover {
    cursor: not-allowed;
    opacity: 0.8;
}

.selectedRangeText {
    padding: 10px 14px;
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}

.fp-month-title {
    padding: 10px 10px 6px;
    font-weight: 700;
    line-height: 1.2;
}

.dayContainer.has-month-title {
    position: relative;
    padding-top: 34px; /* space for title */
}

    /* Title is painted, not inserted as DOM */
    .dayContainer.has-month-title::before {
        content: attr(data-month-title);
        position: absolute;
        left: 10px;
        top: 6px;
        font-weight: 700;
        font-size: 20px;
        line-height: 0.5;
        background: #fff;
        padding: 2px 0;
        z-index: 2;
    }


a:visited {
    color: initial !important;
}

.selectedRangeTextAvailability {
    padding: 5px 7px;
    font-weight: 600;
    display: flex;
    font-size: 14px;
    color: #111827;
}

.selectedRangeTextAvailability span {
  width:50%;
}

.flatpickr-calendar .fp-footerDesktop {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 2px 2px calc(2px + env(safe-area-inset-bottom)) !important;
    border-top: 1px solid rgba(15,23,42,.08) !important;
    background: rgba(255,255,255,.96) !important;
    display: block;
    gap: 5px !important;
    z-index: 10 !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.passengers .pass-drop .children .child .c-right {
    padding:0 !important;
}
.full-select.childSelect2 {
    border: none !important;
}

.pwrTn {
    width: 100%;
    float: left;
    color: var(--muted);
    font-size: 15px;
    font-weight: 550;
}

.extraServiceBk {
    border: 1px solid rgba(15, 23, 42, .08) !important;
    border-radius: 16px !important;
    padding: 12px 12px !important;
    margin: 10px 0 !important;
    box-shadow: 0 10px 26px rgba(2, 6, 23, .06) !important;
}