/* fastnetstays.com - Global Navbar Stylesheet */
/* ── Trivago Recent Searches Dropdown Styling ──────────────────────────── */
.trivago-recent-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 460px;
    max-width: 95vw;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    z-index: 2500;
    display: none;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: trivagoFadeIn 0.15s ease-out;
}
.trivago-recent-dropdown.show {
    display: block;
}

@keyframes trivagoFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.trivago-recent-header {
    background-color: #f8fafc;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
}

.trivago-recent-list {
    padding: 4px 0;
}

.trivago-recent-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px;
    cursor: pointer;
    transition: background-color 0.12s ease;
}
.trivago-recent-item:hover {
    background-color: #f1f5f9;
}

.trivago-recent-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.trivago-recent-icon.icon-blue {
    color: #0284c7;
}
.trivago-recent-icon.icon-orange {
    color: #f59e0b;
}

.trivago-recent-info {
    flex-grow: 1;
    overflow: hidden;
}

.trivago-recent-name {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trivago-recent-meta {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.2;
}

.trivago-recent-footer {
    background-color: #fefce8;
    border-top: 1px solid #fef08a;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trivago-beta-badge {
    background-color: #f59e0b;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

.trivago-beta-text {
    font-size: 12.5px;
    font-weight: 500;
    color: #1e293b;
}

/* ── Trivago Guests & Rooms Stepper Modal ── */
.trivago-guests-modal {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 360px;
    max-width: 95vw;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 24px 24px 18px;
    z-index: 3000;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: trivagoFadeIn 0.15s ease-out;
}
.trivago-guests-modal.show {
    display: block;
}

.trivago-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.trivago-guest-label {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.trivago-stepper-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trivago-round-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #007fad;
    background-color: #ffffff;
    color: #007fad;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.12s ease;
    user-select: none;
}
.trivago-round-btn:hover:not(.disabled) {
    background-color: #f0f9ff;
}
.trivago-round-btn.disabled {
    border-color: #e0f2fe;
    color: #7dd3fc;
    cursor: not-allowed;
    background-color: #ffffff;
}

.trivago-count-box {
    width: 44px;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    background-color: #ffffff;
}

.trivago-guest-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 20px 0 16px;
}

.trivago-pet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    cursor: pointer;
}

.trivago-pet-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.trivago-pet-sub {
    font-size: 13px;
    color: #64748b;
    margin-top: 2px;
}

.trivago-pet-checkbox {
    width: 22px;
    height: 22px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #007fad;
}

.trivago-guest-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
}

.trivago-reset-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 6px 0;
    transition: color 0.15s ease;
}
.trivago-reset-btn.active {
    color: #007fad;
}
.trivago-reset-btn:hover {
    color: #0f172a;
}

.trivago-apply-btn {
    background-color: #007fad;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 10px 30px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.trivago-apply-btn:hover {
    background-color: #006b94;
}

/* ── Trivago User Account Dropdown Menu ───────────────────────────────── */
.trivago-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    z-index: 3500;
    display: none;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: trivagoFadeIn 0.15s ease-out;
}
.trivago-user-dropdown.show {
    display: block !important;
}

.trivago-user-head-row {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background-color 0.12s ease;
}
.trivago-user-head-row:hover {
    background-color: #f8fafc;
}

.trivago-user-scroll-body {
    max-height: 420px;
    overflow-y: auto;
    padding-bottom: 10px;
}

.trivago-user-scroll-body::-webkit-scrollbar {
    width: 6px;
}
.trivago-user-scroll-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.trivago-user-sec-title {
    padding: 14px 18px 4px;
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
}

.trivago-user-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 9px 18px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.12s ease;
}
.trivago-user-item:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.trivago-user-item-icon {
    width: 20px;
    font-size: 16px;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Agoda Mobile Experience & Architecture ────────────────────────────── */

/* ── FIXED HEADER — non-scrollable on desktop + mobile (Google Travel) ── */
.agoda-sticky-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(60,64,67,0.08);
}
/* Header height lives in one token. The fixed header, the body offset and every
   sticky strip below it (breadcrumbs, tabs) all read this, so they can no longer
   drift apart and leave dead gaps or overlap content. */
:root {
    --fn-header-h: 56px;
}
body {
    padding-top: var(--fn-header-h);
}
html {
    scroll-padding-top: calc(var(--fn-header-h) + 8px);
}
@media (max-width: 991px) {
    :root { --fn-header-h: 64px; }
}
@media (max-width: 575px) {
    :root { --fn-header-h: 58px; }
    .agoda-sticky-wrapper { box-shadow: 0 1px 2px rgba(60,64,67,0.12); }
    .agoda-top-header {
        min-height: 58px;
        height: auto !important;
    }

    .agoda-top-header .container-fluid {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Row 1: Global Top Header (56px) */
.agoda-top-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    height: 56px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Row 2: Secondary Accommodation Category Bar (42px) */
.agoda-cat-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    height: 42px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Consistent Icon Dimensions & Optical Alignment */
.agoda-nav-icon {
    font-size: 15px;
    color: #64748b;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    transition: color 0.15s ease;
}

/* Nav Links in Row 2 */
.agoda-cat-link {
    color: #2a2a2e;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 14px;
    text-decoration: none !important;
    transition: color 0.15s ease, border-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.agoda-cat-link:hover {
    color: #0055d4;
    border-bottom-color: #0055d4;
}
.agoda-cat-link:hover .agoda-nav-icon,
.agoda-cat-link.active .agoda-nav-icon {
    color: #0055d4;
}
.agoda-cat-link.active {
    color: #0055d4;
    border-bottom-color: #0055d4;
    font-weight: 700;
}

/* Utility Links in Row 1 */
.agoda-top-utility {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: color 0.15s ease, background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.agoda-top-utility:hover {
    color: #0055d4;
    background-color: #f1f5f9;
}
.agoda-top-utility:hover .agoda-nav-icon {
    color: #0055d4;
}

.agoda-badge-pill {
    background-color: #ff385c;
    color: #ffffff;
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    line-height: 1;
}

/* Action CTAs in Row 1 */
.agoda-btn-partner {
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.agoda-btn-partner:hover {
    border-color: #0055d4;
    color: #0055d4;
    background-color: #f8fafc;
}
.agoda-btn-partner:hover .agoda-nav-icon {
    color: #0055d4;
}

.agoda-btn-signin {
    border: 1px solid #0055d4;
    background-color: #ffffff;
    color: #0055d4;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
}
.agoda-btn-signin:hover {
    border-color: #0044b3;
    color: #0044b3;
    background-color: #eff6ff;
}

.agoda-btn-register {
    border: 1px solid #0055d4;
    background-color: #0055d4;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
    display: inline-flex;
    align-items: center;
}
.agoda-btn-register:hover {
    background-color: #0044b3;
    border-color: #0044b3;
    color: #ffffff;
}

/* ── Trivago Dual-Month Datepicker Modal in Navbar Search ── */
.trivago-datepicker-modal {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 660px;
    max-width: 95vw;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    padding: 20px 22px;
    z-index: 3500;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: trivagoFadeIn 0.15s ease-out;
}
.trivago-datepicker-modal.show {
    display: block !important;
}

.trivago-cal-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.trivago-cal-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.12s ease;
}
.trivago-cal-nav-btn:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}
.trivago-cal-month-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
}
.trivago-cal-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.trivago-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 5px 0;
    margin-bottom: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}
.trivago-cal-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 2px;
    text-align: center;
}
.trivago-cal-day {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    position: relative;
    user-select: none;
}
.trivago-cal-day.empty {
    cursor: default;
}
.trivago-cal-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
    pointer-events: none;
}
.trivago-cal-day-inner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: background-color 0.12s ease, color 0.12s ease;
}
.trivago-cal-day:hover:not(.disabled):not(.empty) .trivago-cal-day-inner {
    background-color: #e2e8f0;
}

/* Selected Start, End, and In-Range Highlights */
.trivago-cal-day.range-start .trivago-cal-day-inner,
.trivago-cal-day.range-end .trivago-cal-day-inner {
    background-color: #007fad !important;
    color: #ffffff !important;
    font-weight: 800;
}
.trivago-cal-day.in-range,
.trivago-cal-day.hover-range {
    background-color: #e0f2fe;
}
.trivago-cal-day.range-start::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background-color: #e0f2fe;
    z-index: 1;
}
.trivago-cal-day.range-end::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background-color: #e0f2fe;
    z-index: 1;
}
.trivago-cal-day.range-start.range-end::after,
.trivago-cal-day.range-start.range-end::before {
    display: none;
}

/* Shortcut Pills in Datepicker */
.trivago-cal-shortcuts {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 14px;
    margin-top: 14px;
    border-top: 1px solid #f1f5f9;
    flex-wrap: wrap;
}
.trivago-shortcut-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    border-radius: 9999px;
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.12s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.trivago-shortcut-btn:hover {
    border-color: #007fad;
    color: #007fad;
    background-color: #f0f9ff;
}

/* Recent Search & Guests Modals in Navbar */
.trivago-recent-dropdown,
.trivago-guests-modal {
    position: absolute;
    top: calc(100% + 8px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    z-index: 3500;
    display: none;
    animation: trivagoFadeIn 0.15s ease-out;
}
.trivago-recent-dropdown.show,
.trivago-guests-modal.show {
    display: block !important;
}
.trivago-recent-dropdown {
    left: 0;
    width: 480px;
    max-width: 95vw;
    overflow: hidden;
}

.trivago-recent-header {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.trivago-recent-list {
    max-height: 330px;
    overflow-y: auto;
    padding: 4px 0;
}

.trivago-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background-color 0.12s ease;
    user-select: none;
}
.trivago-recent-item:hover,
.trivago-recent-item.selected {
    background-color: #f1f5f9;
}

.trivago-recent-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
}
.trivago-recent-icon.icon-blue {
    background-color: #eff6ff;
    color: #0284c7;
}
.trivago-recent-icon.icon-orange {
    background-color: #fff7ed;
    color: #ea580c;
}
.trivago-recent-icon.icon-green {
    background-color: #f0fdf4;
    color: #16a34a;
}
.trivago-recent-icon.icon-purple {
    background-color: #faf5ff;
    color: #9333ea;
}

.trivago-recent-info {
    flex-grow: 1;
    overflow: hidden;
}
.trivago-recent-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trivago-recent-name mark {
    background: transparent;
    color: #007fad;
    font-weight: 800;
    padding: 0;
}
.trivago-recent-meta {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trivago-recent-footer {
    padding: 7px 14px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    font-size: 11px;
    color: #64748b;
}

.trivago-guests-modal {
    right: 0;
    width: 360px;
    max-width: 95vw;
    padding: 18px 20px;
}

/* Desktop Header Search Bar Placement */
#nav_search_wrapper {
    order: 2;
    flex: 1 1 auto;
    max-width: 840px;
    margin: 0 16px;
}
#nav_logged_in_wrapper,
#nav_logged_out_wrapper {
    order: 3;
}

@media (max-width: 991px) {
    .agoda-top-header {
        height: auto !important;
        min-height: 56px;
        padding: 8px 0 !important;
    }
    .agoda-top-header .container-fluid > .d-flex {
        flex-wrap: wrap !important;
    }
    #nav_search_wrapper {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 8px 0 2px 0 !important;
    }
    #nav_search_form {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    #nav_search_container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        height: auto !important;
        border-radius: 12px !important;
        border: 1px solid #cbd5e1 !important;
        background: #ffffff !important;
        padding: 0 !important;
        gap: 0 !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    #nav_dest_pod {
        grid-column: span 2 !important;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 10px 14px !important;
        width: 100% !important;
        min-width: 100% !important;
    }
    #nav_date_pod {
        grid-column: span 1 !important;
        border-right: 1px solid #e2e8f0 !important;
        border-bottom: none !important;
        padding: 10px 12px !important;
        min-width: auto !important;
    }
    #nav_guest_pod {
        grid-column: span 1 !important;
        border-right: none !important;
        border-bottom: none !important;
        padding: 10px 12px !important;
        min-width: auto !important;
    }
    #nav_search_container button[type="submit"] {
        display: none !important;
    }
    #nav_logged_in_wrapper,
    #nav_logged_out_wrapper {
        order: 2 !important;
    }
    .trivago-user-dropdown {
        width: 92vw !important;
        max-width: 320px;
        right: 0 !important;
        left: auto !important;
    }
    .trivago-datepicker-modal {
        width: 94vw !important;
        left: 0 !important;
        right: 0 !important;
        padding: 14px !important;
    }
    .trivago-cal-grid-wrapper {
        grid-template-columns: 1fr !important;
    }
    .trivago-guests-modal {
        width: 92vw !important;
        max-width: 340px;
        right: 0 !important;
        left: auto !important;
    }
    .trivago-recent-dropdown {
        width: 94vw !important;
        left: 0 !important;
    }
}
