﻿body {
    background: #FBFDFF;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

main {
    padding-top: 30px;
    padding-bottom: 0;
}

/* Header */
.logo img {
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.round {
    border-radius: 20px;
}
.layout-header-fixed {
    position: sticky; 
    top: 0;
    width: 100%;
    background: #FBFDFF;
    z-index: 3000;
    border-bottom: none;
    box-shadow: none;
}
main {
    padding-top: 30px;
}
#switch {
    padding: 8px 10px;
    transition: 0.2s ease;
    user-select: none;
}

    #switch:hover {
        border-radius: 25px;
        background-color: #f3f3f3;
        cursor: pointer;
    }

#user-menu-toggle {
    padding: 5px;
    border-radius: 50%;
    transition: 0.2s ease;
}

    #user-menu-toggle:hover {
        background-color: #f1efef;
    }

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    background-color: #fff;
    transition: 0.2s ease;
}

    .menu:hover {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }

.user-avatar-wrapper {
    width: 30px;
    height: 30px;
    background-color: #f2f4f7;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#menu-container {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 2000;
}

.user-dropdown {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    width: 240px;
    padding: 8px 0 8px 8px;
    border: 1px solid #ddd;
}

    .user-dropdown ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .user-dropdown li {
        padding: 12px 16px;
        font-size: 14px;
        color: #222;
        cursor: pointer;
        transition: background 0.2s;
        border-radius: 8px;
        margin-right: 8px;
    }

        .user-dropdown li i {
            margin-right: 15px;
            font-size: 15px;
        }

        .user-dropdown li:hover {
            background-color: #f7f7f7;
        }

/* popup support */
.popup-content {
    font-family: inherit;
    color: var(--Brand-Colors-Dark, #060c16);
}

/* Search لو موجود في صفحاتك */
.search-bar {
    background-color: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 50px;
    padding: 10px 8px 10px 25px;
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 500px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.btn-search {
    background-color: #11223e;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    flex-shrink: 0;
}

    .btn-search:hover {
        background-color: #1a345e;
        color: white;
    }

#search-input {
    border: none;
    flex-grow: 1;
    padding: 0 15px;
    font-size: 16px;
    background: transparent;
}

    #search-input::placeholder {
        font-size: 15px;
        color: rgb(184, 183, 183);
    }

    #search-input:focus,
    #search-input:active {
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent;
    }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

@media (max-width: 576px) {
    .search-bar {
        padding: 8px;
        width: 100%;
    }

    .btn-search {
        width: 38px;
        height: 38px;
    }

    #switch {
        font-size: 14px;
    }

    .user-dropdown {
        width: 220px;
    }

    .popup-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .popup-content {
        width: 100%;
        min-height: auto;
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 16px 16px 0 0;
        padding: 24px 20px 32px;
    }
}



/* Footer */
/* Color Palette */
:root {
    --bg-dark: #11223E;
    --card-dark: #1a263e;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
}

.footer-section {
    background-color: var(--bg-dark);
}

    /* Links */
    .footer-section h6 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }

        .footer-section ul li a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s;
        }

            .footer-section ul li a:hover {
                color: #ffffff;
            }

/* Social Icons */
.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

    .social-icons a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

/* Newsletter Card */
.newsletter-card {
    background-color: #1B2B46;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
}

.newsletter-form {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
}

    .newsletter-form .form-control:focus {
        box-shadow: none;
        background: transparent;
    }

    .newsletter-form input::placeholder {
        color: var(--text-muted);
    }

    .newsletter-form .btn {
        font-weight: 600;
    }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #818895 !important;
    -webkit-box-shadow: 0 0 0px 1000px #27364F inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        gap: 10px;
    }

        .newsletter-form .form-control {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 50px;
            padding: 12px 20px;
        }
}

/* =========================
   Overlay
========================= */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 16px;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

    .popup-overlay.active {
        display: flex;
    }

/* =========================
   Popup Content
========================= */
.popup-content {
    background: #fff;
    padding: 32px;
    width: 400px;
    max-width: 100%;
    min-height: 500px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    position: relative;
    z-index: 1;
    -webkit-overflow-scrolling: touch;
}

/* Close Icon */
.popup-close svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Step */
.popup-step {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Step text */
.step-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 19.5px;
    color: #6a7282;
}

/* Title */
.popup-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 39px;
    color: #11223e;
    margin: 0;
}

/* Subtitle */
.popup-subtitle {
    font-size: 13px;
    font-weight: 400;
    line-height: 19.5px;
    color: #6a7282;
    margin: 0;
}

/* Inputs */
.popup-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.custom-input label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #11223e;
}

.custom-input input {
    width: 100%;
    height: 56px;
    padding: 18px 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: #060c16;
}

    .custom-input input::placeholder {
        font-weight: 400;
        font-size: 14px;
        color: #aaa;
    }

/* Password */
.password-input .input-wrapper input {
    width: 100%;
    height: 56px;
    padding: 18px 40px 18px 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    font-weight: 600;
    font-size: 16px;
    color: #060c16;
}

/* OTP */
#step3 .popup-subtitle a {
    color: #060c16;
    text-decoration: underline;
    font-weight: 500;
}

.otp-inputs {
    display: flex;
    gap: 10px;
    margin: 16px 0;
}

.otp-box {
    width: 48px;
    height: 56px;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #060c16;
}

/* Resend + Timer */
.resend-otp {
    text-align: left;
    color: #060c16;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}

.otp-timer {
    text-align: center;
    font-size: 11px;
    margin-bottom: 20px;
}

/* Buttons */
.d-flex.justify-content-between {
    width: 100%;
    gap: 10px;
}

.btn-back {
    display: flex;
    height: 54px;
    padding: 0 32px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    border-radius: var(--Border-Radious-Border-Large, 16px);
    border: 1px solid var(--brand-colors-main-10, rgba(17, 34, 62, 0.1));
    background-color: transparent;
}

.btn-primary {
    border-radius: var(--Border-Radious-Border-Large, 16px);
    background: var(--Brand-Colors-Main, #11223e);
    color: #fbfdff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    width: 50%;
}

#nextStep1,
#nextStep2,
#nextStep3,
#nextForgot1,
#nextForgot2,
#nextForgot3 {
    border-radius: var(--Border-Radious-Border-Large, 16px);
    background: var(--Brand-Colors-Main, #11223e);
    color: #fbfdff;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    cursor: pointer;
    width: 100%;
}

/* OR Divider */
.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

    .or-divider::before,
    .or-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--brand-colors-main-10, rgba(17, 34, 62, 0.1));
    }

    .or-divider span {
        margin: 0 10px;
        color: var(--Neutral-Colors-Input-Hint, #aaa);
        font-size: 12px;
        font-weight: 500;
        line-height: 18px;
    }

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 52px;
    border-radius: 8px;
    border: 2px solid var(--Neutral-Colors-Input-Stroke, rgba(0, 0, 0, 0.08));
    background: var(--Neutral-Colors-Back-ground, #fbfdff);
    color: var(--Brand-Colors-Dark, #060c16);
    cursor: pointer;
    transition: 0.3s;
}

    .social-btn:hover {
        background: #f5f7fa;
    }

/* Sign in text */
.signin-text {
    color: var(--Neutral-Colors-Gray, #6a7282);
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    line-height: 19.5px;
}

    .signin-text a {
        color: var(--Brand-Colors-Main, #11223e);
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
    }

/* Links */
#changeEmail {
    color: var(--Brand-Colors-Main, #11223e);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.progress-steps {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-bottom: 10px;
}

.progress-line {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: rgba(17, 34, 62, 0.12);
    transition: 0.3s;
}

    .progress-line.active {
        background: #11223e;
    }







.global-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    overflow: hidden;
    display: none;
}

    .global-page-loader.show {
        display: block;
    }

.airbnb-skeleton-page {
    padding: 95px 24px 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.skeleton-search {
    width: min(720px, 92%);
    height: 74px;
    border-radius: 999px;
    margin: 0 auto 34px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.skeleton-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e9e9e9;
    position: relative;
    overflow: hidden;
}

.skeleton-search-line {
    width: 210px;
    height: 22px !important;
    margin: 0 !important;
}

.skeleton-categories {
    display: flex;
    justify-content: center;
    gap: 90px;
    margin-bottom: 42px;
}

.skeleton-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.skeleton-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eee;
    position: relative;
    overflow: hidden;
}

.skeleton-small-line {
    width: 92px;
    height: 18px;
    border-radius: 12px;
    background: #eee;
    position: relative;
    overflow: hidden;
}

.skeleton-section-title {
    width: 360px;
    height: 46px;
    border-radius: 12px;
    background: #eee;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.skeleton-card {
    min-width: 0;
}

.skeleton-image {
    height: 260px;
    border-radius: 24px;
    background: #eee;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.skeleton-line {
    width: 85%;
    height: 22px;
    border-radius: 12px;
    background: #eee;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

    .skeleton-line.short {
        width: 55%;
    }

    .skeleton-image::after,
    .skeleton-line::after,
    .skeleton-circle::after,
    .skeleton-small-line::after,
    .skeleton-section-title::after,
    .skeleton-icon::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
        animation: skeleton-loading 1.25s infinite;
    }

@keyframes skeleton-loading {
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 992px) {
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skeleton-categories {
        gap: 45px;
    }
}

@media (max-width: 576px) {
    .airbnb-skeleton-page {
        padding: 72px 20px 90px;
    }

    .skeleton-search {
        width: 100%;
        height: 70px;
        margin-bottom: 32px;
    }

    .skeleton-categories {
        gap: 42px;
    }

    .skeleton-circle {
        width: 58px;
        height: 58px;
    }

    .skeleton-grid {
        display: flex;
        overflow: hidden;
        gap: 18px;
    }

    .skeleton-card {
        min-width: 250px;
    }

    .skeleton-image {
        height: 240px;
    }

    .skeleton-section-title {
        width: 100%;
    }
}





/*.global-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: none;
    overflow: hidden;
}

    .global-page-loader.show {
        display: block;
    }

.details-skeleton {
    padding-top: 105px !important;
}

.sk-title,
.sk-subtitle,
.sk-main-img,
.sk-side-img,
.sk-heading,
.sk-line,
.sk-features div,
.sk-reserve-card,
.sk-box,
.sk-button {
    background: #eeeeee;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

.sk-title {
    width: 360px;
    height: 34px;
    margin-bottom: 14px;
}

.sk-subtitle {
    width: 280px;
    height: 18px;
    margin-bottom: 28px;
}

.sk-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 10px;
}

.sk-main-img {
    grid-row: span 2;
    height: 370px;
    border-radius: 20px 0 0 20px;
}

.sk-side-img {
    height: 180px;
}

.sk-heading {
    width: 230px;
    height: 28px;
    margin-bottom: 20px;
}

.sk-line {
    height: 16px;
    margin-bottom: 12px;
}

.sk-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 35px 0;
}

    .sk-features div {
        height: 72px;
    }

.sk-reserve-card {
    height: 420px;
    padding: 24px;
    border-radius: 18px;
}

.sk-box {
    height: 95px;
    margin-bottom: 20px;
}

.sk-button {
    height: 54px;
    border-radius: 12px;
    margin-bottom: 24px;
}

    .sk-title::after,
    .sk-subtitle::after,
    .sk-main-img::after,
    .sk-side-img::after,
    .sk-heading::after,
    .sk-line::after,
    .sk-features div::after,
    .sk-reserve-card::after,
    .sk-box::after,
    .sk-button::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
        animation: skeletonMove 1.2s infinite;
    }

@keyframes skeletonMove {
    100% {
        transform: translateX(100%);
    }
}*/
.global-page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #fff;
    display: none;
    overflow: hidden;
}

    .global-page-loader.show {
        display: block;
    }

.smart-skeleton {
    padding: 105px 24px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sk-line,
.sk-box,
.sk-img,
.sk-card,
.sk-circle,
.sk-btn {
    background: #eee;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

    .sk-line::after,
    .sk-box::after,
    .sk-img::after,
    .sk-card::after,
    .sk-circle::after,
    .sk-btn::after {
        content: "";
        position: absolute;
        inset: 0;
        transform: translateX(-100%);
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
        animation: skMove 1.2s infinite;
    }

@keyframes skMove {
    100% {
        transform: translateX(100%);
    }
}

.sk-header {
    width: min(720px, 95%);
    height: 70px;
    border-radius: 999px;
    margin: 0 auto 36px;
    box-shadow: 0 8px 28px rgba(0,0,0,.10);
}

.sk-title {
    width: 340px;
    height: 36px;
    margin-bottom: 14px;
}

.sk-subtitle {
    width: 260px;
    height: 18px;
    margin-bottom: 28px;
}

.sk-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.sk-img {
    height: 250px;
    border-radius: 22px;
    margin-bottom: 14px;
}

.sk-line {
    height: 18px;
    margin-bottom: 10px;
}

    .sk-line.w85 {
        width: 85%;
    }

    .sk-line.w65 {
        width: 65%;
    }

    .sk-line.w45 {
        width: 45%;
    }

.sk-details-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

.sk-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 10px;
    margin-bottom: 40px;
}

.sk-gallery-main {
    grid-row: span 2;
    height: 370px;
    border-radius: 22px 0 0 22px;
}

.sk-gallery-side {
    height: 180px;
}

.sk-card {
    height: 420px;
    padding: 24px;
    border-radius: 18px;
}

.sk-btn {
    height: 54px;
    margin: 20px 0;
}

.sk-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin: 32px 0;
}

.sk-feature {
    height: 72px;
}

.sk-form-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.sk-sidebar {
    height: 340px;
    border-radius: 20px;
}

.sk-form-card {
    height: 520px;
    border-radius: 22px;
}

@media (max-width: 992px) {
    .sk-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sk-details-layout,
    .sk-form-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .smart-skeleton {
        padding: 85px 20px 40px;
    }

    .sk-grid {
        display: flex;
        overflow: hidden;
        gap: 18px;
    }

        .sk-grid > div {
            min-width: 250px;
        }

    .sk-gallery {
        display: block;
    }

    .sk-gallery-main {
        height: 300px;
        border-radius: 22px;
    }

    .sk-gallery-side {
        display: none;
    }
}