/* 
  Mobile App Specific CSS 
  - Overides default browser behaviors to make it feel like an iOS/Android Native App
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --atana-brand: #1e3d3d;
    --atana-accent: #4db8b8;
    --atana-accent-light: #7ed4d4;
    --atana-accent-dark: #2d6b6b;
    --atana-accent-deep: #1e3d3d;
    /* ذهبي فيروزي — لمعان فاخر بنفس هوية Atana */
    --atana-teal-gold: #6ec9c9;
    --atana-teal-gold-bright: #a8e8e8;
    --atana-teal-gold-deep: #3a9e9e;
    --atana-glow: rgba(77, 184, 184, 0.55);
    --atana-glow-soft: rgba(77, 184, 184, 0.22);
    --atana-glow-strong: rgba(126, 212, 212, 0.45);
    /* مزيج ذهب + فيروزي للهيدر السفلي */
    --atana-gold: #d4af37;
    --atana-gold-light: #e8c86a;
    --atana-gold-deep: #b8860b;
    --atana-mix-border: rgba(77, 184, 184, 0.45);
    --atana-mix-gold-line: rgba(212, 175, 55, 0.28);
    /* حجم الصقر — يملأ الفراغ تحت suite picker */
    --atana-falcon-scale: 1.5;
    --atana-falcon-scale-max: 1.62;
    --atana-falcon-hero-scale: 1.55;
    --atana-falcon-hero-scale-max: 1.72;
}

@media (min-width: 390px) {
    :root {
        --atana-falcon-scale: 1.62;
        --atana-falcon-scale-max: 1.75;
        --atana-falcon-hero-scale: 1.68;
        --atana-falcon-hero-scale-max: 1.82;
    }
}

@media (min-width: 480px) {
    :root {
        --atana-falcon-scale: 1.72;
        --atana-falcon-scale-max: 1.88;
        --atana-falcon-hero-scale: 1.78;
        --atana-falcon-hero-scale-max: 1.92;
    }
}

html {
    font-size: 16px !important; /* Restored to standard browser font size to prevent mobile layout crowding, while preserving our massive custom headers */
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    /* Disable bounce scroll effect and tap highlights for native app feel */
    overscroll-behavior-y: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #141518; /* Deep Slate Gray for luxury contrast */
}

/* Custom fonts setup */
.font-serif {
    font-family: 'Playfair Display', serif;
}
.font-arabic {
    font-family: 'Cairo', sans-serif;
}

body.lang-en {
    font-family: 'Cairo', 'Segoe UI', system-ui, sans-serif;
}

.atana-header-card {
    pointer-events: auto;
}

.atana-top-stack {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-bottom: 0.875rem;
    width: 100%;
}

/* Header checkout card — slightly taller */
.atana-header-checkout-card {
    padding: 1rem 1.125rem 1rem;
    min-height: 0;
}

.atana-header-checkout-card__link {
    gap: 0.875rem;
    display: flex;
    align-items: center;
    transition: transform 0.15s ease;
    text-decoration: none;
    color: inherit;
}

.atana-header-checkout-card__link:active {
    transform: scale(0.98);
}

.atana-header-checkout-card__logo {
    width: 3rem;
    height: 3rem;
    background: #fff;
}

.atana-brand-logo__img {
    object-fit: contain !important;
    transform: none !important;
}

.atana-header-checkout-card__brand {
    margin: 0 0 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    line-height: 1.2;
}

.atana-header-checkout-card__title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--atana-accent, #4db8b8);
}

@media (min-width: 390px) {
    .atana-header-checkout-card {
        padding: 1.05rem 1.2rem 1.05rem;
        min-height: 0;
    }

    .atana-header-checkout-card__logo {
        width: 3.25rem;
        height: 3.25rem;
    }

    .atana-header-checkout-card__title {
        font-size: 1.1875rem;
    }
}

.atana-main-below-top {
    padding-top: calc(var(--atana-top-stack-height, 15.5rem) + env(safe-area-inset-top, 0px));
    pointer-events: none;
}

/* Index — fixed app screen, no page scroll */
html.atana-index-html {
    background: #141518;
}

html.atana-index-html,
body.atana-index-page {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}

body.atana-index-page {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    background: transparent;
}

.atana-index-hotel-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #141518;
}

.atana-index-hotel-bg__ambient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 55% at 50% 18%, rgba(77, 184, 184, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 70% 45% at 82% 72%, rgba(212, 175, 55, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 60% 40% at 12% 65%, rgba(77, 184, 184, 0.08) 0%, transparent 48%),
        linear-gradient(180deg, #1a1c22 0%, #141518 42%, #101114 100%);
}

.atana-index-hotel-bg__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 21, 24, 0.2) 0%,
        rgba(20, 21, 24, 0.45) 45%,
        rgba(20, 21, 24, 0.78) 78%,
        #141518 100%
    );
}

.atana-index-shell {
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    padding-inline: clamp(0.35rem, 1.5vw, 0.5rem);
    box-sizing: border-box;
}

/* Royal lion — under suite picker, fills to bottom nav */
body.atana-index-page .atana-index-shell {
    position: relative;
}

body.atana-index-page #app-header {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    z-index: 40;
}

.atana-header-card--static .atana-top-stack {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Hero — صقر ذهبي+فيروزي يملأ الفراغ كامل تحت suite picker */
.atana-hero-showcase {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    position: relative;
    margin-top: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
    transition:
        opacity 0.32s ease,
        transform 0.38s ease,
        visibility 0.32s ease;
}

body.atana-index-page .atana-rooms-pick > .atana-hero-showcase {
    flex: 1 1 0;
    min-height: 0;
}

.atana-hero-showcase .atana-royal-falcon--hero-fill {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    max-height: none;
    height: 100%;
    margin: 0;
    background: transparent;
}

.atana-hero-showcase .atana-royal-falcon--hero-fill::before {
    display: none;
}

.atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-lion__stage {
    inset: -24% -32%;
}

body.atana-index-pwd-locked .atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-lion__stage {
    opacity: 0;
    visibility: hidden;
}

body.atana-falcon-flight-active .atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-lion__img {
    animation: none !important;
}

body.atana-falcon-flight-active .atana-royal-falcon__halo,
body.atana-falcon-flight-active .atana-royal-lion__halo {
    opacity: 0;
}

.atana-royal-falcon--landed .atana-royal-falcon__halo,
.atana-royal-falcon--landed .atana-royal-lion__halo {
    opacity: 0.92;
}

body.atana-falcon-flight-active .atana-royal-lion__stage {
    will-change: transform;
    z-index: 3;
}

@media (prefers-reduced-motion: reduce) {
    body.atana-index-pwd-locked .atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-lion__stage {
        opacity: 1;
        visibility: visible;
    }
}

body.atana-suite-picker-open .atana-hero-showcase,
.atana-hero-showcase--hidden {
    display: none !important;
    flex: 0 0 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
}

body.atana-suite-picker-open #atana-royal-falcon,
body.atana-suite-picker-open #atana-money-reveal {
    display: none !important;
}

.atana-hero-showcase--money-active {
    overflow: hidden;
}

/* Atana Elite — royal falcon (ذهب + فيروزي) */
.atana-royal-falcon .atana-royal-lion__mouth {
    display: none;
}

.atana-royal-falcon__img,
.atana-royal-falcon .atana-royal-lion__img {
    object-position: center 50%;
    transform: scale(var(--atana-falcon-scale));
    transform-origin: center 50%;
    filter:
        drop-shadow(0 0 32px rgba(77, 184, 184, 0.5))
        drop-shadow(0 0 24px rgba(212, 175, 55, 0.38))
        drop-shadow(0 0 48px rgba(168, 232, 232, 0.28));
    -webkit-mask-image: radial-gradient(
        ellipse 88% 82% at 50% 50%,
        #000 28%,
        rgba(0, 0, 0, 0.82) 62%,
        transparent 88%
    );
    mask-image: radial-gradient(
        ellipse 88% 82% at 50% 50%,
        #000 28%,
        rgba(0, 0, 0, 0.82) 62%,
        transparent 88%
    );
}

/* صقر الهيرو — يملأ الشاشة، مزيج ذهب+فيروزي */
.atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-falcon__img,
.atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-lion__img {
    object-fit: contain;
    object-position: center 50%;
    transform-origin: center 50%;
    mix-blend-mode: screen;
    transform: scale(var(--atana-falcon-hero-scale));
    -webkit-mask-image: radial-gradient(
        ellipse 118% 108% at 50% 50%,
        #000 32%,
        rgba(0, 0, 0, 0.72) 68%,
        transparent 94%
    );
    mask-image: radial-gradient(
        ellipse 118% 108% at 50% 50%,
        #000 32%,
        rgba(0, 0, 0, 0.72) 68%,
        transparent 94%
    );
    filter:
        saturate(1.22)
        brightness(1.1)
        drop-shadow(0 0 48px rgba(77, 184, 184, 0.72))
        drop-shadow(0 0 36px rgba(212, 175, 55, 0.58))
        drop-shadow(0 0 72px rgba(240, 215, 122, 0.28))
        drop-shadow(0 0 24px rgba(168, 232, 232, 0.45));
    animation: atana-falcon-hero-breathe 4.5s ease-in-out infinite;
}

.atana-royal-falcon__halo,
.atana-royal-falcon .atana-royal-lion__halo {
    background: radial-gradient(
        ellipse 75% 60% at 50% 40%,
        rgba(212, 175, 55, 0.22) 0%,
        rgba(77, 184, 184, 0.2) 42%,
        transparent 70%
    );
}

.atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-falcon__halo,
.atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-lion__halo {
    inset: -8% -12%;
    background: radial-gradient(
        ellipse 115% 100% at 50% 48%,
        rgba(212, 175, 55, 0.48) 0%,
        rgba(240, 215, 122, 0.32) 22%,
        rgba(77, 184, 184, 0.38) 48%,
        rgba(168, 232, 232, 0.18) 62%,
        transparent 78%
    );
    filter: blur(20px);
    opacity: 0.92;
    animation: atana-falcon-halo-mix 4.5s ease-in-out infinite;
}

@keyframes atana-falcon-halo-mix {
    0%,
    100% {
        opacity: 0.82;
        filter: brightness(1);
    }
    50% {
        opacity: 1;
        filter: brightness(1.08);
    }
}

/* ===== Lets Make Money — نفس مساحة الصقر ===== */
.atana-money-reveal {
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.atana-money-reveal--visible {
    opacity: 1;
}

.atana-money-reveal__bills {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.atana-money-bill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', 'Cairo', serif;
    font-weight: 800;
    line-height: 1;
    color: #f0d77a;
    text-shadow:
        0 0 12px rgba(212, 175, 55, 0.85),
        0 0 22px rgba(77, 184, 184, 0.45),
        0 2px 4px rgba(0, 0, 0, 0.55);
    filter: drop-shadow(0 0 6px rgba(168, 232, 232, 0.35));
    user-select: none;
    will-change: transform, opacity;
}

.atana-money-reveal__copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(0.5rem, 3vw, 1.25rem);
    pointer-events: none;
}

.atana-money-reveal__copy--show {
    opacity: 1;
}

.atana-money-reveal__title {
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 13.5vw, 4.1rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.08;
    text-transform: none;
    background: linear-gradient(
        118deg,
        #fff4c4 0%,
        #f0d77a 18%,
        #d4af37 36%,
        #a8e8e8 52%,
        #6ec9c9 68%,
        #4db8b8 82%,
        #e8c86a 100%
    );
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 28px rgba(77, 184, 184, 0.45))
        drop-shadow(0 0 18px rgba(212, 175, 55, 0.5));
    animation: atana-money-title-shimmer 2.8s ease-in-out infinite;
}

@keyframes atana-money-title-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atana-money-reveal__title {
        animation: none;
    }

    .atana-money-bill {
        display: none;
    }
}

@keyframes atana-falcon-hero-breathe {
    0%,
    100% {
        transform: scale(var(--atana-falcon-hero-scale));
    }
    50% {
        transform: scale(var(--atana-falcon-hero-scale-max));
    }
}

@keyframes atana-falcon-breathe {
    0%,
    100% {
        transform: scale(var(--atana-falcon-scale));
    }
    50% {
        transform: scale(var(--atana-falcon-scale-max));
    }
}

@keyframes atana-falcon-reveal-img {
    0% {
        transform: scale(calc(var(--atana-falcon-scale) * 0.92));
        opacity: 0.35;
    }
    55% {
        transform: scale(calc(var(--atana-falcon-scale-max) * 1.08));
        opacity: 1;
    }
    100% {
        transform: scale(var(--atana-falcon-scale));
        opacity: 1;
    }
}

.atana-royal-falcon .atana-royal-lion__img {
    animation: atana-falcon-breathe 4.5s ease-in-out infinite;
}

.atana-hero-showcase .atana-royal-falcon--hero-fill .atana-royal-lion__img {
    animation: atana-falcon-hero-breathe 4.5s ease-in-out infinite;
}

.atana-royal-falcon--reveal .atana-royal-lion__img,
.atana-royal-lion--reveal.atana-royal-falcon .atana-royal-lion__img {
    animation: atana-falcon-reveal-img 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        atana-falcon-breathe 4.5s ease-in-out 1.05s infinite;
}

.atana-hero-banner {
    flex: 1 1 auto;
    min-height: 7rem;
    width: 100%;
    margin-top: 0.35rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
    border-radius: 0.75rem;
}
.atana-hero-banner__img {
    width: 100%;
    max-height: min(42vh, 280px);
    object-fit: cover;
    object-position: center bottom;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(77, 184, 184, 0.25);
}
body.atana-suite-picker-open .atana-hero-banner {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.96);
}

.atana-royal-lion {
    flex: 1 1 auto;
    min-height: 8rem;
    width: 100%;
    position: relative;
    margin-top: 0.35rem;
    margin-inline: 0;
    pointer-events: none;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    transition:
        opacity 0.32s ease,
        transform 0.38s ease,
        visibility 0.32s ease;
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.atana-royal-lion__stage {
    position: absolute;
    inset: -8% -12%;
    overflow: visible;
}

.atana-royal-lion__mouth {
    position: absolute;
    left: 50%;
    top: 51%;
    z-index: 5;
    width: 16%;
    height: 11%;
    transform: translateX(-50%) scaleY(0);
    transform-origin: 50% 15%;
    border-radius: 0 0 48% 48% / 0 0 100% 100%;
    background: radial-gradient(
        ellipse at 50% 0%,
        rgba(40, 12, 8, 0.95) 0%,
        rgba(8, 4, 4, 0.98) 55%,
        rgba(0, 0, 0, 1) 100%
    );
    box-shadow:
        inset 0 6px 18px rgba(255, 120, 40, 0.25),
        0 0 24px rgba(255, 80, 20, 0.2);
    opacity: 0;
    pointer-events: none;
}

.atana-royal-lion__mouth--open,
body.atana-lion-intro-active .atana-royal-lion__mouth.atana-royal-lion__mouth--open {
    opacity: 1;
    transform: translateX(-50%) scaleY(1.2);
}

.atana-royal-lion__sparks {
    position: absolute;
    inset: 0;
    z-index: 6;
    overflow: visible;
    pointer-events: none;
}

.atana-royal-lion__spark {
    position: absolute;
    width: 5px;
    height: 5px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--atana-teal-gold-bright, #a8e8e8) 35%, var(--atana-accent, #4db8b8) 70%, transparent 100%);
    box-shadow:
        0 0 8px #fff,
        0 0 16px var(--atana-accent-light, #7ed4d4),
        0 0 28px var(--atana-teal-gold, #6ec9c9);
    animation: atana-lion-spark-fly 0.75s ease-out forwards;
}

@keyframes atana-lion-spark-fly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(var(--sx), var(--sy)) scale(0.2);
    }
}

body.atana-lion-intro-active .atana-royal-lion__img {
    animation: none;
}

body.atana-lion-intro-active .intro-slide {
    opacity: 0;
}

@keyframes atana-lion-intro-roar {
    0%,
    100% {
        transform: scale(1.18) rotate(0deg);
    }
    25% {
        transform: scale(1.26) rotate(-4deg);
    }
    50% {
        transform: scale(1.3) rotate(4deg);
    }
    75% {
        transform: scale(1.24) rotate(-2deg);
    }
}

.atana-royal-lion--intro-anim .atana-royal-lion__img {
    animation: atana-lion-intro-shake 0.9s ease-in-out 0.2s;
}

@keyframes atana-lion-intro-shake {
    0%,
    100% {
        transform: scale(1.12) rotate(0deg);
    }
    20% {
        transform: scale(1.2) rotate(-5deg);
    }
    40% {
        transform: scale(1.22) rotate(5deg);
    }
    60% {
        transform: scale(1.2) rotate(-4deg);
    }
    80% {
        transform: scale(1.18) rotate(3deg);
    }
}

.atana-royal-lion__halo {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse 70% 55% at 50% 42%,
        rgba(212, 175, 55, 0.22) 0%,
        transparent 68%
    );
    animation: atana-lion-halo-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes atana-lion-halo-pulse {
    0%,
    100% {
        transform: scale(0.96);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}

.atana-royal-lion__img {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 38%;
    transform: scale(1.18);
    transform-origin: center 40%;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 32px rgba(212, 175, 55, 0.45));
    -webkit-mask-image: radial-gradient(
        ellipse 72% 68% at 50% 42%,
        #000 35%,
        rgba(0, 0, 0, 0.85) 55%,
        transparent 78%
    );
    mask-image: radial-gradient(
        ellipse 72% 68% at 50% 42%,
        #000 35%,
        rgba(0, 0, 0, 0.85) 55%,
        transparent 78%
    );
    animation: atana-lion-breathe 5s ease-in-out infinite;
    transition: filter 0.5s ease;
}

@keyframes atana-lion-breathe {
    0%,
    100% {
        transform: scale(1.18);
    }
    50% {
        transform: scale(1.24);
    }
}

.atana-royal-lion--hidden {
    opacity: 0;
    transform: scale(0.82);
    visibility: hidden;
}

.atana-royal-lion--reveal {
    animation: atana-lion-reveal 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.atana-royal-lion--reveal .atana-royal-lion__img {
    animation: atana-lion-reveal-img 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards,
        atana-lion-breathe 5s ease-in-out 1.05s infinite;
    filter: drop-shadow(0 0 48px rgba(212, 175, 55, 0.65));
}

@keyframes atana-lion-reveal-img {
    0% {
        transform: scale(0.95);
        opacity: 0.35;
    }
    55% {
        transform: scale(1.26);
        opacity: 1;
    }
    100% {
        transform: scale(1.18);
        opacity: 1;
    }
}

@keyframes atana-lion-reveal {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    55% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 480px) {
    body.atana-index-page .atana-index-shell {
        max-width: 100%;
        padding-inline: clamp(0.4rem, 2vw, 0.65rem);
    }
}

body.atana-index-page .atana-top-stack {
    width: 100%;
    margin: 0.5rem 0 0;
    padding: 0;
    gap: 0.5rem;
    padding-bottom: 0;
}

body.atana-index-page .atana-top-stack > .atana-app-card,
body.atana-index-page .atana-rooms-pick > .atana-app-card,
body.atana-index-page .atana-suite-selection {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    border-radius: 1rem;
    border-left-color: rgba(212, 175, 55, 0.28);
    border-right-color: rgba(212, 175, 55, 0.28);
}

body.atana-index-page .atana-header-checkout-card {
    width: 100%;
    border-bottom: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

body.atana-index-page .atana-header-card--static {
    width: 100%;
}

.atana-header-card--static {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    flex-shrink: 0;
    transform: none !important;
}

@media (max-height: 700px) {
    body.atana-index-page .atana-header-checkout-card {
        padding: 0.9rem 1rem 0.95rem;
        min-height: 0;
    }

    body.atana-index-page .atana-top-stack {
        gap: 0.625rem;
    }

    body.atana-index-page .atana-royal-picker__trigger {
        min-height: 2.75rem;
        padding: 0.6rem 0.85rem;
    }

    body.atana-index-page .atana-royal-picker-card {
        padding: 0.75rem !important;
    }
}

body.atana-index-page .atana-rooms-pick {
    flex: 1;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
}

body.atana-index-page .atana-rooms-pick > .atana-royal-picker-card {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

body.atana-index-page .atana-royal-picker-card .atana-royal-picker {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.atana-suite-selection[hidden] {
    display: none !important;
}

body.atana-index-page .atana-royal-picker-card .atana-suite-selection:not([hidden]) {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(212, 175, 55, 0.22);
    animation: atana-suite-reveal 0.35s ease-out;
}

@keyframes atana-suite-reveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.atana-rooms-pick {
    margin: 0;
    padding: 0;
}

.atana-suite-selection {
    padding: 0 0.15rem 0.25rem;
    overflow: hidden;
    min-height: 0;
}

.atana-suite-selection__row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.5rem;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.atana-suite-selection__name {
    flex-shrink: 0;
    margin: 0;
    width: 100%;
    padding: 0 0.35rem 0.5rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    color: var(--atana-accent, #4db8b8);
    letter-spacing: 0.02em;
}

/* Royal scroll — suite checkout panel */
.atana-suite-selection__scroll {
    flex: 1;
    min-height: 0;
    max-height: min(42dvh, calc(100dvh - 15.5rem));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.15rem 0.35rem 0.5rem 0.15rem;
    margin-inline-end: 2px;
}

.atana-royal-scroll {
    scrollbar-width: thin;
    scrollbar-color: #c9a227 rgba(14, 15, 18, 0.85);
}

.atana-royal-scroll::-webkit-scrollbar {
    width: 7px;
}

.atana-royal-scroll::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(20, 21, 24, 0.95), rgba(10, 11, 13, 0.98));
    border-radius: 999px;
    margin: 6px 0;
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.atana-royal-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(180deg, #f0d78c 0%, #d4af37 45%, #9a7b28 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.35);
}

.atana-royal-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffe9a8 0%, #e5c158 50%, #b8860b 100%);
}

.atana-suite-selection__scroll::before,
.atana-suite-selection__scroll::after {
    content: '';
    position: sticky;
    left: 0;
    right: 0;
    display: block;
    height: 10px;
    pointer-events: none;
    z-index: 2;
}

.atana-suite-selection__scroll::before {
    top: 0;
    margin-bottom: -10px;
    background: linear-gradient(180deg, rgba(29, 30, 34, 0.95), transparent);
}

.atana-suite-selection__scroll::after {
    bottom: 0;
    margin-top: -10px;
    background: linear-gradient(0deg, rgba(29, 30, 34, 0.95), transparent);
}

.atana-fx-date {
    margin: 0 0 0.5rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.5625rem;
    font-weight: 600;
    line-height: 1.4;
    color: #9ca3af;
    text-align: center;
    border-radius: 0.5rem;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.12);
}

.atana-suite-selection__fields {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding-bottom: 0.35rem;
}

/* Royal stepper: amount & days — stacked under room name */
.atana-royal-stepper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 17rem;
}

.atana-royal-stepper__label {
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atana-accent, #4db8b8);
    line-height: 1.2;
    text-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.atana-royal-stepper__control {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 2.85rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: linear-gradient(160deg, rgba(35, 36, 42, 0.98) 0%, rgba(14, 15, 18, 0.98) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 3px 14px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(212, 175, 55, 0.08);
    overflow: hidden;
}

.atana-royal-stepper__btn {
    flex: 0 0 2.25rem;
    border: none;
    background: rgba(212, 175, 55, 0.1);
    color: var(--atana-accent, #4db8b8);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    padding: 0;
}

.atana-royal-stepper__btn:hover {
    background: rgba(212, 175, 55, 0.22);
    color: #f5e6b8;
}

.atana-royal-stepper__btn:active {
    background: rgba(212, 175, 55, 0.32);
    transform: scale(0.96);
}

.atana-royal-stepper__value {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.3rem 0.4rem;
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    color: #e8c96a;
    border-inline: 1px solid rgba(212, 175, 55, 0.25);
    background: rgba(0, 0, 0, 0.2);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.atana-royal-stepper__input {
    width: 100%;
    border: none;
    outline: none;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    color: #e8c96a;
    -moz-appearance: textfield;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.atana-royal-stepper__input:focus {
    background: rgba(212, 175, 55, 0.08);
    color: #f5e6b8;
}

.atana-royal-stepper__input::placeholder {
    color: #6b7280;
}

.atana-royal-stepper--fx .atana-royal-stepper__label {
    color: #b8a06a;
}

.atana-royal-stepper__control--fx {
    min-height: 2.65rem;
}

.atana-royal-stepper__fx {
    width: 100%;
    font-size: 0.9375rem;
    color: var(--atana-accent, #4db8b8);
    letter-spacing: 0.02em;
}

.atana-royal-picker__option-name {
    flex: 1;
    min-width: 0;
    text-align: start;
}

.atana-royal-picker-card {
    overflow: hidden;
}

.atana-royal-picker--has-suite .atana-royal-picker__trigger {
    flex-shrink: 0;
}

.atana-royal-picker {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

@keyframes atana-picker-border-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.atana-royal-picker__trigger {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(77, 184, 184, 0.35);
    background: linear-gradient(135deg, rgba(35, 36, 42, 0.95) 0%, rgba(18, 19, 24, 0.98) 100%);
    color: var(--atana-accent, #4db8b8);
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.atana-royal-picker__trigger::before,
.atana-royal-picker__trigger::after {
    display: none;
}

.atana-royal-picker__trigger > * {
    position: relative;
    z-index: 1;
}

.atana-royal-picker__trigger:hover,
.atana-royal-picker__trigger:focus-visible {
    outline: none;
    border-color: rgba(77, 184, 184, 0.65);
    box-shadow: 0 0 0 2px rgba(77, 184, 184, 0.12), 0 6px 20px rgba(0, 0, 0, 0.35);
}

.atana-royal-picker__trigger:active {
    transform: scale(0.99);
}

.atana-royal-picker--open .atana-royal-picker__trigger {
    border-color: rgba(77, 184, 184, 0.75);
    background: linear-gradient(135deg, #2a2b32 0%, #141518 100%);
}

.atana-royal-picker__icon {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(212, 175, 55, 0.08);
    color: var(--atana-accent, #4db8b8);
    font-size: 1.1rem;
}

.atana-royal-picker__label {
    flex: 1;
    min-width: 0;
    text-align: start;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #f5f0e6;
}

.atana-royal-picker__chevron {
    flex-shrink: 0;
    color: var(--atana-accent, #4db8b8);
    font-size: 1.125rem;
    transition: transform 0.25s ease;
}

.atana-royal-picker--open .atana-royal-picker__chevron {
    transform: rotate(180deg);
}

.atana-royal-picker__menu {
    display: none;
    position: fixed;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    border-radius: 1.125rem;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(160deg, #25262d 0%, #121318 55%, #0d0e11 100%);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 0 24px rgba(212, 175, 55, 0.1);
    z-index: 200;
    max-height: min(17rem, 45vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.atana-suite-picker-open .atana-royal-picker__menu,
body.atana-suite-picker-open #atana-suite-picker-menu {
    display: block;
    pointer-events: auto;
}

.atana-suite-backdrop {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
    pointer-events: none;
}

.atana-suite-backdrop--visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.atana-royal-picker__menu::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

.atana-royal-picker__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.85rem;
    margin-bottom: 2px;
    border: none;
    border-radius: 0.75rem;
    background: transparent;
    color: #e8e6e3;
    font-family: 'Cairo', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: start;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, padding-inline-start 0.15s;
}

.atana-royal-picker__option i {
    flex-shrink: 0;
    width: 1.75rem;
    font-size: 1rem;
    color: var(--atana-accent, #4db8b8);
    opacity: 0.85;
}


.atana-royal-picker__option--active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.06));
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.atana-royal-picker__option:hover,
.atana-royal-picker__option:focus-visible {
    outline: none;
    background: rgba(212, 175, 55, 0.12);
    color: #fff;
    padding-inline-start: 1rem;
    border-inline-start: 2px solid #d4af37;
}

.atana-royal-picker__option--signature i {
    color: #e8c547;
}

body.atana-header-fixed #app-header {
    transform: translateY(0) !important;
}

body.atana-suite-picker-open .atana-royal-picker__trigger {
    border-color: rgba(77, 184, 184, 0.75);
    background: linear-gradient(135deg, #2a2b32 0%, #141518 100%);
}

body.atana-suite-picker-open .atana-royal-picker__chevron {
    transform: rotate(180deg);
}

.atana-app-card.atana-royal-picker-card {
    overflow: visible;
}

.atana-app-card {
    background: linear-gradient(135deg, #1d1e22 0%, #141518 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px rgba(20, 21, 24, 0.5);
    position: relative;
    overflow: hidden;
}

.atana-app-card__glow {
    position: absolute;
    right: -2rem;
    top: -2rem;
    width: 8rem;
    height: 8rem;
    background: #d4af37;
    filter: blur(60px);
    opacity: 0.15;
    pointer-events: none;
}

.atana-header-tools {
    position: relative;
    z-index: 55;
}

/* Header: language dropdown */
.atana-lang-select-wrap {
    position: relative;
    z-index: 56;
}

.atana-lang-select {
    appearance: none;
    -webkit-appearance: none;
    height: 36px;
    min-width: 7.25rem;
    max-width: 9.5rem;
    padding: 0 2rem 0 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: linear-gradient(165deg, #23242a 0%, #121318 100%);
    color: #f3f4f6;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.07);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.atana-lang-select:hover,
.atana-lang-select:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.85);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.atana-lang-select option {
    background: #1d1e22;
    color: #f3f4f6;
}

.atana-lang-select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0.65rem;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
    transform: translateY(-65%) rotate(45deg);
    pointer-events: none;
}

html[dir='rtl'] .atana-lang-select {
    padding: 0 0.75rem 0 2rem;
}

html[dir='rtl'] .atana-lang-select-wrap::after {
    right: auto;
    left: 0.65rem;
    transform: translateY(-65%) rotate(-135deg);
}

/* Header: country / currency picker */
.atana-country-btn {
    height: 38px;
    max-width: min(168px, 42vw);
    padding: 0 10px 0 8px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: linear-gradient(165deg, #2a2b32 0%, #141518 100%);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f3f4f6;
    transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}

.atana-country-btn:hover {
    border-color: rgba(229, 193, 88, 0.75);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.atana-country-btn--open {
    border-color: #d4af37;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 8px 24px rgba(212, 175, 55, 0.15);
}

.atana-country-btn:active {
    transform: scale(0.97);
}

.atana-country-flag-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atana-flag-img {
    display: block;
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #1a1b1e;
}

.atana-flag-img--sm {
    width: 22px;
    height: 16px;
    border-radius: 3px;
}

.atana-flag-fallback {
    font-size: 9px;
    font-weight: 800;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

.atana-country-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
    gap: 1px;
}

.atana-country-name-text {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}

.atana-country-code-tag {
    font-size: 8px;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    letter-spacing: 0.06em;
    color: var(--atana-accent, #4db8b8);
    opacity: 0.95;
}

.atana-country-caret {
    font-size: 11px;
    color: #9ca3af;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.atana-country-btn--open .atana-country-caret {
    transform: rotate(180deg);
    color: var(--atana-accent, #4db8b8);
}

.atana-country-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 250;
    width: min(300px, calc(100vw - 24px));
    max-height: min(70vh, 420px);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(20, 21, 24, 0.98);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.atana-country-menu-head {
    padding: 12px 14px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.atana-country-menu-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--atana-accent, #4db8b8);
    letter-spacing: 0.04em;
}

.atana-country-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 10px;
    padding: 0 10px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d0e11;
}

.atana-country-search-wrap i {
    color: #6b7280;
    font-size: 14px;
}

.atana-country-search {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    color: #fff;
}

.atana-country-search::placeholder {
    color: #6b7280;
}

.atana-country-list {
    overflow-y: auto;
    padding: 4px 6px 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.atana-country-group-label {
    padding: 8px 10px 4px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #6b7280;
}

.atana-country-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    margin-bottom: 2px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    text-align: start;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.atana-country-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.atana-country-option--active {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
}

.atana-country-option-flag {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 24px;
}

.atana-country-option-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.atana-country-option-body .atana-country-name {
    font-size: 12px;
    font-weight: 600;
    color: #f3f4f6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atana-country-option-code {
    font-size: 9px;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    color: #9ca3af;
}

.atana-country-check {
    font-size: 14px;
    color: var(--atana-accent, #4db8b8);
    opacity: 0;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.atana-country-option--active .atana-country-check {
    opacity: 1;
}

.atana-country-empty {
    padding: 16px 12px;
    text-align: center;
    font-size: 11px;
    color: #6b7280;
}

html[dir="rtl"] .atana-country-label {
    align-items: flex-end;
}

html[dir="rtl"] .atana-country-search {
    text-align: right;
}

html[dir="ltr"] .atana-header-tools {
    margin-left: auto;
    margin-right: 0;
}
html[dir="rtl"] .atana-header-tools {
    margin-right: auto;
    margin-left: 0;
}

html[dir="ltr"] .nav-back-mirror i.ph-arrow-right {
    transform: scaleX(-1);
}

/* Ensure LTR directions render correctly inside Arabic layout */
.dir-ltr {
    direction: ltr;
}

/* 
  Safe Area handles notch/home indicators on iPhones
  padding-bottom-safe makes sure bottom navbar doesn't clash with iOS home bar
*/
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 16px);
}

/* 
  Hide Scrollbars for horizontal native-like scroll containers 
*/
.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

/* Helper for truncating text */
.text-line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}
.text-line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Animation for progress bar shine */
@keyframes shine {
    0% { transform: translateX(-100%) skewX(12deg); }
    100% { transform: translateX(300%) skewX(12deg); }
}

.shadow-shine {
    animation: shine 3s infinite ease-in-out;
}

@keyframes marquee-rtl {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}
.animate-marquee {
    animation: marquee-rtl 35s linear infinite;
}
@keyframes marquee-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.animate-marquee-reverse {
    animation: marquee-ltr 30s linear infinite;
}
.pause-animation {
    animation-play-state: paused;
}

/* Bilingual blocks (profile, etc.) */
body.lang-en .i18n-ar-only,
body.lang-en .i18n-ar-only,
body.lang-ru .i18n-ar-only,
body.lang-tr .i18n-ar-only {
    display: none !important;
}
body.lang-ru .i18n-en-only,
body.lang-tr .i18n-en-only {
    display: none !important;
}

body.lang-en .profile-clients .client-name-ar,
body.lang-en .profile-clients .client-name-ar,
body.lang-ru .profile-clients .client-name-ar,
body.lang-tr .profile-clients .client-name-ar {
    display: none !important;
}
body.lang-ru .profile-clients .client-name-en,
body.lang-tr .profile-clients .client-name-en {
    display: none !important;
}
body.lang-en .profile-clients .clients-title-ar,
body.lang-en .profile-clients .clients-title-ar,
body.lang-ru .profile-clients .clients-title-ar,
body.lang-tr .profile-clients .clients-title-ar {
    display: none !important;
}
body.lang-ru .profile-clients .clients-title-en,
body.lang-tr .profile-clients .clients-title-en {
    display: none !important;
}
body.lang-en .profile-clients .clients-title-en,
body.lang-en .profile-clients .clients-title-en {
    display: block !important;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--atana-accent, #4db8b8);
    margin-bottom: 0.25rem;
}

/* Simpler — test mode banner on checkout */
.atana-simpler-test-banner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.45);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(20, 21, 24, 0.9) 100%);
    color: #fcd34d;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.12);
}

.atana-simpler-test-banner.hidden {
    display: none !important;
}

/* Simpler checkout — always-visible pay button */
.atana-simpler-pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0.95rem 1.25rem;
    border-radius: 14px;
    border: 2px solid #996515;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 55%, #8b7325 100%);
    color: #141518;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative;
    overflow: hidden;
}
.atana-simpler-pay-btn:hover {
    box-shadow: 0 10px 32px rgba(212, 175, 55, 0.5);
    transform: translateY(-1px);
}
.atana-simpler-pay-btn:active {
    transform: scale(0.98);
}
.atana-simpler-pay-btn i {
    font-size: 1.35rem;
}
.atana-simpler-pay-note {
    text-align: center;
    font-size: 10px;
    color: #6b7280;
    margin-top: 0.65rem;
    line-height: 1.4;
}

/* Elite transfers — manual amount & pay */
.atana-transfer-checkout {
    background: linear-gradient(165deg, rgba(29, 30, 34, 0.95) 0%, rgba(20, 21, 24, 0.98) 100%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 24px;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.atana-amount-stepper {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.atana-amount-step-btn {
    flex-shrink: 0;
    width: 52px;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 2px solid #996515;
    background: linear-gradient(145deg, #e5c158 0%, #d4af37 42%, #b8860b 100%);
    color: #141518;
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow:
        0 4px 16px rgba(212, 175, 55, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        inset 0 -2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.atana-amount-step-btn:hover {
    filter: brightness(1.08);
    box-shadow:
        0 6px 22px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.atana-amount-step-btn:active {
    transform: scale(0.94);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.atana-amount-step-field {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0.5rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.35);
}

.atana-transfer-amount-input {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
    letter-spacing: 0.04em;
    text-align: center;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.atana-transfer-amount-input::-webkit-outer-spin-button,
.atana-transfer-amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.atana-amount-step-field:focus-within {
    border-color: #d4af37;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.35),
        0 0 0 3px rgba(212, 175, 55, 0.18);
}

.atana-transfer-amount-input::placeholder {
    color: #6b7280;
    font-weight: 500;
}

.atana-amount-currency-tag {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--atana-accent, #4db8b8);
    opacity: 0.9;
}
.atana-pay-now-main {
    margin-top: 1rem;
    max-width: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: 'Playfair Display', Georgia, serif;
}
.atana-pay-now-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: atana-pay-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes atana-pay-shine {
    0%, 100% { transform: translateX(-120%); }
    55% { transform: translateX(120%); }
}
.atana-transfer-pay-error {
    color: #f87171;
    font-size: 11px;
    margin-top: 0.5rem;
    text-align: center;
}
@keyframes atana-spin {
    to { transform: rotate(360deg); }
}
.atana-spin {
    animation: atana-spin 0.8s linear infinite;
    display: inline-block;
}

/* Bottom app navigation — ذهب + فيروزي */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: linear-gradient(
        180deg,
        rgba(30, 61, 61, 0.92) 0%,
        rgba(14, 18, 20, 0.98) 35%,
        #0a0b0d 100%
    );
    border-top: 1px solid var(--atana-mix-border);
    padding: 0.5rem 1.5rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
    box-shadow:
        inset 0 1px 0 var(--atana-mix-gold-line),
        0 -6px 28px rgba(77, 184, 184, 0.14),
        0 -4px 16px rgba(212, 175, 55, 0.1),
        0 -10px 36px rgba(0, 0, 0, 0.65);
}

.app-bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--atana-gold, #d4af37) 18%,
        var(--atana-teal-gold-bright, #a8e8e8) 50%,
        var(--atana-accent, #4db8b8) 82%,
        transparent 100%
    );
    opacity: 0.85;
    pointer-events: none;
}

@media (min-width: 768px) {
    .app-bottom-nav {
        max-width: 28rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        margin-bottom: 1.5rem;
        border-radius: 9999px;
        border: 1px solid var(--atana-mix-border);
        box-shadow:
            inset 0 1px 0 var(--atana-mix-gold-line),
            0 0 0 1px rgba(212, 175, 55, 0.12),
            0 -8px 32px rgba(77, 184, 184, 0.18),
            0 12px 40px rgba(0, 0, 0, 0.55);
    }

    .app-bottom-nav::before {
        border-radius: 9999px 9999px 0 0;
    }
}

.app-bottom-nav__list {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-bottom-nav__center {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    transform: translateY(-1.75rem);
}

.atana-label-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-bottom-nav__tab span,
.app-bottom-nav__pay-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.app-bottom-nav__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    color: #4a5558;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.app-bottom-nav__tab i {
    color: #4a5558;
    transition: color 0.2s ease, filter 0.2s ease;
}

.app-bottom-nav__tab:hover {
    color: var(--atana-teal-gold, #6ec9c9);
}

.app-bottom-nav__tab:hover i {
    color: var(--atana-gold-light, #e8c86a);
    filter: drop-shadow(0 0 6px var(--atana-glow-soft));
}

.app-bottom-nav__tab--active,
.app-bottom-nav__tab--active i {
    color: var(--atana-teal-gold-bright, #a8e8e8);
    filter: drop-shadow(0 0 8px var(--atana-glow));
}

.app-bottom-nav__pay {
    position: relative;
    overflow: hidden;
    width: 4.85rem;
    height: 4.85rem;
    border-radius: 9999px;
    border: 5px solid transparent;
    background:
        linear-gradient(145deg, var(--atana-gold-light, #e8c86a) 0%, var(--atana-gold, #d4af37) 32%, var(--atana-teal-gold, #6ec9c9) 68%, var(--atana-accent, #4db8b8) 100%)
            padding-box,
        linear-gradient(145deg, var(--atana-gold-deep, #b8860b), var(--atana-accent-dark, #2d6b6b), var(--atana-gold, #d4af37))
            border-box;
    color: #141518;
    box-shadow:
        0 10px 28px rgba(77, 184, 184, 0.35),
        0 6px 18px rgba(212, 175, 55, 0.28),
        0 0 24px rgba(126, 212, 212, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.app-bottom-nav__pay i {
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

.app-bottom-nav__pay:active {
    transform: scale(0.88);
}

.app-bottom-nav__pay::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3rem;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.65) 35%,
        rgba(168, 232, 232, 0.5) 55%,
        rgba(255, 255, 255, 0.75) 70%,
        transparent
    );
    animation: atana-pay-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}

.app-bottom-nav__pay--checkout {
    flex-direction: column;
    gap: 0;
}

.app-bottom-nav__pay--checkout .app-bottom-nav__pay-label {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 0.15rem;
    overflow: visible;
    clip: auto;
    font-family: 'Cairo', 'Segoe UI', system-ui, sans-serif;
    font-size: 0.625rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    max-width: 3.5rem;
    color: #141518;
}

/* ===== Royal Checkout Page ===== */
.atana-checkout-page {
    min-height: 100dvh;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

.atana-checkout-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    padding-top: calc(0.85rem + env(safe-area-inset-top, 0px));
    background: rgba(20, 21, 24, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.atana-checkout-header__back {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #1d1e22;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atana-checkout-header__title-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.atana-checkout-header__crown {
    color: var(--atana-teal-gold-bright, #a8e8e8);
    filter: drop-shadow(0 0 10px var(--atana-glow));
    font-size: 1.25rem;
}

.atana-checkout-header__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.atana-checkout-header__lang {
    flex-shrink: 0;
}

.atana-checkout-header__lang .atana-lang-select {
    font-size: 0.68rem;
    padding: 0.32rem 1.5rem 0.32rem 0.45rem;
    min-width: 4.5rem;
    max-width: 5.75rem;
}

.atana-checkout-header__logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid rgba(77, 184, 184, 0.45);
    background: #fff;
    flex-shrink: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.15s;
}

.atana-checkout-header__logo:hover,
.atana-checkout-header__logo:focus-visible {
    outline: none;
    border-color: rgba(77, 184, 184, 0.85);
}

.atana-checkout-header__logo:active {
    transform: scale(0.96);
}

.atana-home-logo {
    padding: 0;
    background: transparent;
    cursor: pointer;
    border: none;
}

.atana-checkout-header__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.atana-home-logo img {
    object-fit: contain;
    padding: 2px;
}

.atana-checkout-main {
    max-width: 28rem;
    margin: 0 auto;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 0.75rem 1.5rem;
}

.atana-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.atana-checkout-card {
    position: relative;
    border-radius: 1.25rem;
    border: 1px solid rgba(212, 175, 55, 0.28);
    background: linear-gradient(160deg, rgba(35, 36, 42, 0.98), rgba(14, 15, 18, 0.98));
    padding: 1rem 1rem 1.1rem;
    overflow: hidden;
}

.atana-checkout-card__glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    pointer-events: none;
}

.atana-checkout-card--hero {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(212, 175, 55, 0.08);
}

.atana-checkout-kicker {
    margin: 0 0 0.25rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9ca3af;
}

.atana-checkout-suite {
    margin: 0 0 0.85rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--atana-accent, #4db8b8);
    text-align: center;
}

.atana-checkout-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.atana-checkout-stat {
    text-align: center;
    padding: 0.55rem 0.35rem;
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.atana-checkout-stat__label {
    display: block;
    font-size: 0.5625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 0.2rem;
}

.atana-checkout-stat__value {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: #e8c96a;
    line-height: 1.2;
}

.atana-checkout-stat__sub {
    font-size: 0.625rem;
    color: var(--atana-accent, #4db8b8);
    font-weight: 700;
}

.atana-checkout-fx-hint {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.5625rem;
    color: #6b7280;
}

.atana-checkout-section-title {
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--atana-accent, #4db8b8);
}

.atana-checkout-fields {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.atana-checkout-field > span {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.atana-checkout-field input {
    width: 100%;
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(0, 0, 0, 0.3);
    color: #f5f0e6;
    font-size: 16px;
    font-weight: 600;
}

.atana-checkout-field input:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.15);
}

.atana-checkout-field input[type='date'],
input.atana-date-input {
    color-scheme: dark;
    direction: ltr;
    text-align: left;
    unicode-bidi: isolate;
}

html[dir='rtl'] .atana-checkout-field input[type='date'],
html[dir='rtl'] input.atana-date-input {
    text-align: left;
}

/* ===== Card issuing country (royal) ===== */
.atana-checkout-card--card-issuer {
    position: relative;
    overflow: visible;
}

.atana-card-issuer__title {
    margin: 0 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--atana-accent, #4db8b8);
    letter-spacing: 0.02em;
    text-align: center;
}

.atana-card-issuer__row {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
}

.atana-card-issuer {
    position: relative;
    flex: 1;
    min-width: 0;
}

.atana-card-issuer__trigger {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: 3.1rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, rgba(35, 36, 42, 0.96) 0%, rgba(14, 15, 18, 0.99) 100%);
    color: #f5f0e6;
    cursor: pointer;
    box-shadow:
        0 4px 22px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transition: border-color 0.2s, transform 0.15s;
}

.atana-card-issuer__trigger::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 240%;
    height: 240%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(
        rgba(212, 175, 55, 0.35) 0deg,
        rgba(212, 175, 55, 0.18) 230deg,
        rgba(255, 255, 255, 0.05) 252deg,
        rgba(255, 255, 255, 0.5) 272deg,
        rgba(255, 255, 255, 0.95) 288deg,
        rgba(255, 252, 245, 0.85) 298deg,
        rgba(255, 255, 255, 0.3) 312deg,
        rgba(212, 175, 55, 0.15) 330deg,
        rgba(212, 175, 55, 0.35) 360deg
    );
    animation: atana-picker-border-spin 3.8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.atana-card-issuer__trigger::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: calc(1rem - 2px);
    background: linear-gradient(135deg, rgba(32, 33, 38, 0.98) 0%, rgba(12, 13, 16, 0.99) 100%);
    pointer-events: none;
    z-index: 0;
}

.atana-card-issuer__trigger > * {
    position: relative;
    z-index: 1;
}

.atana-card-issuer__trigger:hover,
.atana-card-issuer__trigger:focus-visible {
    outline: none;
    border-color: rgba(212, 175, 55, 0.95);
}

.atana-card-issuer--open .atana-card-issuer__trigger {
    border-color: rgba(212, 175, 55, 0.95);
}

.atana-card-issuer__flag {
    flex-shrink: 0;
    width: 2rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
}

.atana-card-issuer__flag .atana-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atana-card-issuer__name {
    flex: 1;
    min-width: 0;
    text-align: start;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.25;
    color: #f5f0e6;
}

.atana-card-issuer__name--placeholder {
    color: rgba(245, 240, 230, 0.55);
    font-weight: 600;
}

.atana-card-issuer__caret {
    flex-shrink: 0;
    color: var(--atana-accent, #4db8b8);
    font-size: 1.125rem;
    transition: transform 0.25s ease;
}

.atana-card-issuer--open .atana-card-issuer__caret {
    transform: rotate(180deg);
}

.atana-card-issuer__menu {
    position: absolute;
    z-index: 40;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    max-height: min(72vh, 520px);
    border-radius: 1.125rem;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(165deg, #25262d 0%, #101114 100%);
    box-shadow:
        0 18px 48px rgba(0, 0, 0, 0.65),
        0 0 24px rgba(212, 175, 55, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.atana-card-issuer__menu[hidden] {
    display: none !important;
}

.atana-card-issuer__search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--atana-accent, #4db8b8);
}

.atana-card-issuer__search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    min-height: 0;
    padding: 0.3rem 0;
}

.atana-card-issuer__search-wrap input:focus {
    outline: none;
    box-shadow: none;
}

.atana-card-issuer__list {
    flex: 1;
    min-height: 12rem;
    max-height: min(62vh, 440px);
    overflow-y: auto;
    padding: 0.35rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

.atana-card-issuer__count {
    position: sticky;
    bottom: 0;
    padding: 0.5rem 0.55rem 0.4rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-align: center;
    color: rgba(212, 175, 55, 0.9);
    background: linear-gradient(180deg, transparent 0%, #101114 28%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.atana-card-issuer__group {
    padding: 0.45rem 0.55rem 0.2rem;
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atana-accent, #4db8b8);
}

.atana-card-issuer__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 0.55rem;
    border: none;
    border-radius: 0.65rem;
    background: transparent;
    color: #e8e4dc;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: start;
    cursor: pointer;
}

.atana-card-issuer__option .atana-flag-img {
    width: 1.75rem;
    height: 1.3125rem;
    object-fit: cover;
    border-radius: 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.atana-card-issuer__option span:last-child {
    flex: 1;
    min-width: 0;
}

.atana-card-issuer__option:hover,
.atana-card-issuer__option--active {
    background: rgba(212, 175, 55, 0.14);
    color: #f5e6b8;
}

.atana-card-issuer__empty {
    padding: 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
}

/* Royal Generate button — traveling white light on golden frame */
.atana-card-issuer__generate {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    flex-shrink: 0;
    min-width: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.6rem 0.7rem;
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.65);
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.28) 0%, rgba(70, 55, 15, 0.5) 100%);
    color: #fff8e7;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.45),
        0 0 22px rgba(212, 175, 55, 0.22),
        0 0 36px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    animation: atana-generate-royal-glow 2.8s ease-in-out infinite;
    transition: transform 0.15s, border-color 0.2s;
}

.atana-card-issuer__generate::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280%;
    height: 280%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: conic-gradient(
        rgba(212, 175, 55, 0.4) 0deg,
        rgba(212, 175, 55, 0.22) 228deg,
        rgba(255, 255, 255, 0.06) 250deg,
        rgba(255, 255, 255, 0.55) 270deg,
        rgba(255, 255, 255, 1) 286deg,
        rgba(255, 252, 245, 0.95) 296deg,
        rgba(255, 255, 255, 0.4) 310deg,
        rgba(212, 175, 55, 0.18) 328deg,
        rgba(212, 175, 55, 0.4) 360deg
    );
    animation: atana-picker-border-spin 2.6s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.atana-card-issuer__generate::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: calc(1rem - 2px);
    background: linear-gradient(165deg, rgba(48, 42, 28, 0.98) 0%, rgba(22, 20, 14, 0.99) 55%, rgba(32, 28, 18, 0.98) 100%);
    pointer-events: none;
    z-index: 0;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
}

.atana-card-issuer__generate > * {
    position: relative;
    z-index: 1;
}

.atana-card-issuer__generate i {
    font-size: 1.2rem;
    color: #f0d78c;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

.atana-card-issuer__generate span {
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.atana-card-issuer__generate:hover,
.atana-card-issuer__generate:focus-visible {
    outline: none;
    border-color: rgba(255, 248, 220, 0.85);
    box-shadow:
        0 0 0 2px rgba(212, 175, 55, 0.25),
        0 8px 28px rgba(212, 175, 55, 0.35),
        0 0 32px rgba(255, 255, 255, 0.14);
}

.atana-card-issuer__generate:hover::before,
.atana-card-issuer__generate:focus-visible::before {
    animation-duration: 1.8s;
}

.atana-card-issuer__generate:active {
    transform: scale(0.96);
}

.atana-card-issuer__generate--pulse {
    animation:
        atana-generate-royal-glow 2.8s ease-in-out infinite,
        atana-generate-pulse 0.5s ease;
}

@keyframes atana-generate-royal-glow {
    0%,
    100% {
        box-shadow:
            0 4px 20px rgba(0, 0, 0, 0.45),
            0 0 18px rgba(212, 175, 55, 0.2),
            0 0 28px rgba(255, 255, 255, 0.05);
    }
    50% {
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.5),
            0 0 32px rgba(212, 175, 55, 0.45),
            0 0 48px rgba(255, 255, 255, 0.12),
            0 0 64px rgba(212, 175, 55, 0.15);
    }
}

@keyframes atana-generate-pulse {
    0% {
        transform: scale(1);
    }
    45% {
        transform: scale(1.06);
    }
    100% {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .atana-card-issuer__generate {
        animation: none;
    }

    .atana-card-issuer__generate::before {
        animation: none;
        width: 100%;
        height: 100%;
        border-radius: inherit;
        background: linear-gradient(
            135deg,
            rgba(212, 175, 55, 0.55),
            rgba(255, 255, 255, 0.35),
            rgba(212, 175, 55, 0.55)
        );
    }
}

.atana-card-issuer--flash .atana-card-issuer__trigger {
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.15),
        0 8px 28px rgba(212, 175, 55, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .atana-card-issuer__trigger::before {
        animation: none;
    }
}

.atana-checkout-country {
    position: relative;
}

.atana-checkout-country__btn {
    width: 100%;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(0, 0, 0, 0.3);
    color: #f5f0e6;
    cursor: pointer;
}

.atana-checkout-country__flag {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.3125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.atana-checkout-country__flag .atana-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atana-checkout-country__option .atana-flag-img {
    width: 1.75rem;
    height: 1.3125rem;
    object-fit: cover;
    border-radius: 0.15rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.atana-checkout-country__name {
    flex: 1;
    text-align: start;
    font-weight: 600;
}

.atana-checkout-country__caret {
    color: var(--atana-accent, #4db8b8);
}

.atana-checkout-country__menu {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: min(50vh, 280px);
    border-radius: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: #1a1b1f;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.atana-checkout-country__menu[hidden] {
    display: none !important;
}

.atana-checkout-country__search-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.atana-checkout-country__search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    min-height: 0;
    padding: 0.25rem 0;
}

.atana-checkout-country__list {
    overflow-y: auto;
    padding: 0.35rem;
}

.atana-checkout-country__group {
    padding: 0.4rem 0.5rem 0.2rem;
    font-size: 0.5625rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--atana-accent, #4db8b8);
}

.atana-checkout-country__option {
    width: 100%;
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.5rem;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #e5e7eb;
    font-size: 0.8125rem;
    text-align: start;
    cursor: pointer;
}

.atana-checkout-country__option:hover,
.atana-checkout-country__option--active {
    background: rgba(212, 175, 55, 0.12);
    color: #f5e6b8;
}

.atana-checkout-country__empty {
    padding: 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
}

.atana-pay-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.atana-pay-method {
    cursor: pointer;
}

.atana-pay-method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.atana-pay-method__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 4.5rem;
    padding: 0.65rem 0.5rem;
    border-radius: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.25);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.atana-pay-method input:checked + .atana-pay-method__box {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

.atana-pay-method--apple .atana-pay-method__box {
    color: #fff;
    background: linear-gradient(145deg, #2a2a2e, #0d0d0f);
}

.atana-pay-method--visa .atana-pay-method__box {
    color: #1a1f71;
    background: linear-gradient(145deg, #f8fafc, #e2e8f0);
}

.atana-pay-method--visa .atana-pay-method__brand {
    color: #1a1f71;
    font-size: 1.25rem;
    font-weight: 900;
    font-style: italic;
}

.atana-pay-method--master .atana-pay-method__box {
    color: #fff;
    background: linear-gradient(145deg, #3a3a40, #1a1a1e);
}

.atana-pay-method--master .atana-pay-method__brand--mc {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.atana-pay-method--master .atana-pay-method__brand--mc::before {
    content: '';
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #eb001b;
    margin-right: -0.35rem;
    vertical-align: middle;
}

.atana-pay-method--mada .atana-pay-method__box {
    color: #00a651;
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
}

.atana-pay-method--mada .atana-pay-method__brand--mada {
    font-size: 1.125rem;
    font-weight: 900;
    color: #00a651;
    font-style: italic;
}

.atana-pay-method__logo {
    width: 2.5rem;
    height: auto;
}

.atana-checkout-error {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    color: #f87171;
    text-align: center;
}

/* زر Check Out — نفس مزيج الهيدر السفلي (ذهب + فيروزي) */
.atana-checkout-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    border: 3px solid transparent;
    border-radius: 1rem;
    background:
        linear-gradient(
            145deg,
            var(--atana-gold-light, #e8c86a) 0%,
            var(--atana-gold, #d4af37) 28%,
            var(--atana-teal-gold, #6ec9c9) 62%,
            var(--atana-accent, #4db8b8) 100%
        )
            padding-box,
        linear-gradient(
            145deg,
            var(--atana-gold-deep, #b8860b),
            var(--atana-accent-dark, #2d6b6b),
            var(--atana-gold, #d4af37)
        )
            border-box;
    color: #141518;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow:
        0 10px 28px rgba(77, 184, 184, 0.35),
        0 6px 18px rgba(212, 175, 55, 0.28),
        0 0 24px rgba(126, 212, 212, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.atana-checkout-submit::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20%;
    width: 45%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.55) 40%,
        rgba(168, 232, 232, 0.4) 55%,
        rgba(255, 255, 255, 0.65) 70%,
        transparent
    );
    animation: atana-pay-shine 3.5s ease-in-out infinite;
    pointer-events: none;
}

.atana-checkout-submit > * {
    position: relative;
    z-index: 1;
}

.atana-checkout-submit i {
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

.atana-checkout-submit:hover {
    box-shadow:
        0 12px 32px rgba(77, 184, 184, 0.42),
        0 8px 22px rgba(212, 175, 55, 0.34),
        0 0 28px rgba(126, 212, 212, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.atana-checkout-submit:active {
    transform: scale(0.98);
}

.atana-checkout-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.atana-checkout-submit__amount {
    font-size: 0.8125rem;
    opacity: 0.9;
    font-weight: 800;
}

.atana-checkout-secure {
    text-align: center;
    font-size: 0.625rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.atana-checkout-secure i {
    color: #25d366;
}

/* Royal centered notice — card country required */
.atana-royal-notice {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    pointer-events: none;
}

.atana-royal-notice[hidden] {
    display: none !important;
}

.atana-royal-notice:not([hidden]) {
    pointer-events: auto;
}

.atana-royal-notice__backdrop {
    position: absolute;
    inset: 0;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 14, 0.82);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.atana-royal-notice__panel {
    position: relative;
    z-index: 1;
    width: min(22rem, 92vw);
    animation: atana-royal-notice-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.atana-royal-notice__border {
    position: absolute;
    inset: -2px;
    border-radius: 1.35rem;
    overflow: hidden;
    pointer-events: none;
}

.atana-royal-notice__border::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        rgba(212, 175, 55, 0.35) 0deg,
        rgba(212, 175, 55, 0.2) 230deg,
        rgba(255, 255, 255, 0.08) 252deg,
        rgba(255, 255, 255, 0.5) 272deg,
        rgba(255, 255, 255, 1) 288deg,
        rgba(255, 252, 245, 0.9) 298deg,
        rgba(255, 255, 255, 0.35) 312deg,
        rgba(212, 175, 55, 0.15) 330deg,
        rgba(212, 175, 55, 0.35) 360deg
    );
    animation: atana-picker-border-spin 3s linear infinite;
}

.atana-royal-notice__inner {
    position: relative;
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(165deg, #2c2a24 0%, #141518 55%, #1a1814 100%);
    text-align: center;
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.65),
        0 0 40px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.atana-royal-notice__crown {
    font-size: 2.25rem;
    color: var(--atana-teal-gold-bright, #a8e8e8);
    filter: drop-shadow(0 0 12px var(--atana-glow));
    margin-bottom: 0.5rem;
}

.atana-royal-notice__kicker {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(212, 175, 55, 0.85);
}

.atana-royal-notice__title {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.45;
    color: #fff8e7;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.12);
}

.atana-royal-notice__body {
    margin: 0 0 1.15rem;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: rgba(209, 213, 219, 0.95);
}

.atana-royal-notice__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.atana-royal-notice__btn--primary {
    border: 2px solid #996515;
    background: linear-gradient(135deg, #e5c158, #d4af37, #b8860b);
    color: #141518;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.atana-royal-notice__btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d1d5db;
    box-shadow: none;
}

.atana-royal-notice__btn--ghost:hover,
.atana-royal-notice__btn--ghost:focus-visible {
    border-color: rgba(212, 175, 55, 0.45);
    color: #f5e6b8;
}

.atana-royal-notice__backdrop--static {
    cursor: default;
    pointer-events: none;
}

#atana-royal-guest-choice .atana-royal-notice__panel {
    width: min(24rem, 94vw);
}

.atana-royal-notice__btn {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.65rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(212, 175, 55, 0.65);
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.35) 0%, rgba(90, 70, 20, 0.5) 100%);
    color: #fff8e7;
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
    transition: transform 0.15s, box-shadow 0.2s;
}

.atana-royal-notice__btn:hover,
.atana-royal-notice__btn:focus-visible {
    outline: none;
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
}

.atana-royal-notice__btn:active {
    transform: scale(0.98);
}

.atana-checkout-fields--locked input {
    cursor: not-allowed;
    opacity: 0.72;
}

@keyframes atana-royal-notice-in {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .atana-royal-notice__panel {
        animation: none;
    }

    .atana-royal-notice__border::before {
        animation: none;
    }
}

.atana-checkout-success {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(10, 11, 14, 0.88);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.atana-royal-booking-success__panel {
    width: min(24rem, 94vw);
}

.atana-royal-booking-success__panel .atana-royal-notice__border::before {
    background: conic-gradient(
        from 0deg,
        var(--atana-gold, #d4af37),
        var(--atana-teal-gold-bright, #a8e8e8),
        var(--atana-accent, #4db8b8),
        var(--atana-gold-light, #e8c86a),
        var(--atana-gold, #d4af37)
    );
}

.atana-royal-booking-success .atana-royal-notice__title {
    background: linear-gradient(
        135deg,
        var(--atana-gold-light, #e8c86a) 0%,
        var(--atana-gold, #d4af37) 35%,
        var(--atana-teal-gold-bright, #a8e8e8) 65%,
        var(--atana-accent, #4db8b8) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(77, 184, 184, 0.35));
}

.atana-royal-booking-success .atana-royal-notice__crown {
    color: var(--atana-gold, #d4af37);
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.55))
        drop-shadow(0 0 20px rgba(77, 184, 184, 0.35));
}

.atana-royal-booking-success__inner {
    padding-bottom: 1.35rem;
}

.atana-royal-booking-success__suite {
    background: linear-gradient(90deg, var(--atana-gold, #d4af37), var(--atana-accent, #4db8b8));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.atana-royal-booking-success__note {
    margin: 0 0 1rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(212, 175, 55, 0.75);
}

.atana-checkout-success[hidden] {
    display: none !important;
}

.atana-payment-redirect {
    z-index: 85;
    background: rgba(10, 11, 14, 0.92);
    backdrop-filter: blur(8px);
}

.atana-payment-redirect__crown {
    font-size: 2.5rem;
    color: var(--atana-accent, #4db8b8);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.3));
}

.atana-payment-redirect__spinner {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 3px solid rgba(212, 175, 55, 0.25);
    border-top-color: #fff8e7;
    animation: atana-payment-spin 0.9s linear infinite;
}

.atana-payment-redirect h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #fff8e7;
}

.atana-payment-redirect p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(212, 175, 55, 0.85);
}

@keyframes atana-payment-spin {
    to {
        transform: rotate(360deg);
    }
}

body.atana-checkout-busy {
    overflow: hidden;
}

body.atana-checkout-busy .atana-checkout-main {
    pointer-events: none;
}

.atana-checkout-success__icon {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

html[dir="rtl"] .atana-checkout-header__back i {
    transform: scaleX(-1);
}

@media (max-width: 380px) {
    .atana-checkout-header__title {
        font-size: 0.95rem;
    }

    .atana-checkout-main {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .atana-pay-methods {
        grid-template-columns: 1fr;
    }

    .atana-checkout-country__menu {
        max-height: min(55dvh, 320px);
    }
}

/* ===== Royal view protection (no photo / screenshot / copy) ===== */
.atana-protected-view img:not(.atana-flag-img):not([data-allow-copy="true"]) {
    -webkit-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.atana-protected-view .atana-index-hotel-bg,
.atana-protected-view .atana-royal-lion__img {
    pointer-events: none;
}

body.atana-view-scramble .atana-index-hotel-bg__ambient,
body.atana-view-scramble .atana-royal-lion__img,
body.atana-view-scramble .atana-protected-zone img {
    filter: blur(22px) brightness(0.35);
    transition: filter 0.15s ease;
}

.atana-royal-shield {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.atana-royal-shield[hidden] {
    display: none !important;
}

.atana-royal-shield__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 10, 0.88);
    backdrop-filter: blur(8px);
}

.atana-royal-shield__card {
    position: relative;
    z-index: 1;
    width: min(100%, 22rem);
    border-radius: 1.25rem;
    border: 2px solid rgba(212, 175, 55, 0.55);
    background: linear-gradient(165deg, #1e1f24 0%, #141518 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(212, 175, 55, 0.12);
    padding: 1.5rem 1.25rem 1.25rem;
    text-align: center;
}

.atana-royal-shield__crown {
    font-size: 2.25rem;
    color: var(--atana-accent, #4db8b8);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.45));
}

.atana-royal-shield__title {
    margin: 0 0 0.65rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #f5e6b8;
}

.atana-royal-shield__body {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #d1d5db;
}

.atana-royal-shield__video {
    margin: 0 0 1.1rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--atana-accent, #4db8b8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.atana-royal-shield__ok {
    width: 100%;
    min-height: 2.75rem;
    border: 2px solid #996515;
    border-radius: 0.85rem;
    background: linear-gradient(135deg, #e5c158, #d4af37, #b8860b);
    color: #141518;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

body.atana-royal-shield-open {
    overflow: hidden;
}

/* ===== Index password gate (شاشة شفافة) ===== */
html.atana-index-pwd-ok .atana-index-password-gate {
    display: none !important;
}

html.atana-index-pwd-ok body {
    overflow: auto;
}

body.atana-index-pwd-locked {
    overflow: hidden;
    background: #141518;
}

html.atana-index-html body.atana-index-pwd-locked,
html:not(.atana-index-pwd-ok) body.atana-index-pwd-locked {
    background: #141518;
}

body.atana-index-pwd-locked .atana-index-shell,
body.atana-index-pwd-locked .atana-index-hotel-bg {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.atana-index-password-gate {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background:
        radial-gradient(ellipse 90% 55% at 50% 18%, rgba(77, 184, 184, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 70% 45% at 82% 72%, rgba(212, 175, 55, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 60% 40% at 12% 65%, rgba(77, 184, 184, 0.08) 0%, transparent 48%),
        linear-gradient(180deg, #1a1c22 0%, #141518 45%, #0e0f11 100%);
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.atana-index-password-gate--unlocked {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.atana-index-password-gate__backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 11, 13, 0.25) 0%, rgba(20, 21, 24, 0.72) 55%, rgba(14, 15, 17, 0.95) 100%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(77, 184, 184, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.atana-index-password-gate__card {
    position: relative;
    z-index: 1;
    width: min(100%, 20rem);
    padding: 1.35rem 1.2rem 1.2rem;
    border-radius: 1.1rem;
    border: 2px solid rgba(77, 184, 184, 0.45);
    background: linear-gradient(165deg, rgba(28, 30, 36, 0.96) 0%, rgba(18, 19, 22, 0.98) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.55),
        0 0 32px rgba(77, 184, 184, 0.12);
    text-align: center;
}

.atana-index-password-gate__brand {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: #b8c4c4;
}

.atana-index-password-gate__title {
    margin: 0 0 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--atana-teal-gold-bright, #a8e8e8);
}

.atana-index-password-gate__input {
    width: 100%;
    box-sizing: border-box;
    min-height: 2.85rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(77, 184, 184, 0.45);
    background: rgba(0, 0, 0, 0.35);
    color: #fcfbf9;
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    text-align: center;
}

.atana-index-password-gate__input:focus {
    outline: none;
    border-color: var(--atana-accent, #4db8b8);
    box-shadow: 0 0 0 2px rgba(77, 184, 184, 0.25);
}

.atana-index-password-gate__input--shake {
    animation: atana-pwd-shake 0.45s ease;
}

@keyframes atana-pwd-shake {
    0%,
    100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-6px);
    }
    75% {
        transform: translateX(6px);
    }
}

.atana-index-password-gate__submit {
    width: 100%;
    margin-top: 0.75rem;
    min-height: 2.75rem;
    border: 3px solid transparent;
    border-radius: 0.85rem;
    background:
        linear-gradient(
            145deg,
            var(--atana-gold-light, #e8c86a) 0%,
            var(--atana-gold, #d4af37) 28%,
            var(--atana-teal-gold, #6ec9c9) 62%,
            var(--atana-accent, #4db8b8) 100%
        )
            padding-box,
        linear-gradient(145deg, var(--atana-gold-deep, #b8860b), var(--atana-accent-dark, #2d6b6b))
            border-box;
    color: #141518;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.atana-index-password-gate__error {
    margin: 0.65rem 0 0;
    font-size: 0.75rem;
    color: #f87171;
}

.atana-index-password-gate__card--royal {
    width: min(100%, 25.5rem);
    padding: 1.65rem 1.45rem 1.5rem;
    border: 2px solid transparent;
    background:
        linear-gradient(160deg, rgba(22, 24, 28, 0.92) 0%, rgba(14, 15, 18, 0.96) 100%) padding-box,
        linear-gradient(
            135deg,
            var(--atana-gold, #d4af37) 0%,
            var(--atana-teal-gold-bright, #a8e8e8) 45%,
            var(--atana-accent, #4db8b8) 75%,
            var(--atana-gold-light, #e8c86a) 100%
        )
            border-box;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.2),
        0 24px 60px rgba(0, 0, 0, 0.6),
        0 0 48px rgba(77, 184, 184, 0.18),
        0 0 32px rgba(212, 175, 55, 0.12);
}

.atana-index-password-gate__card--royal.atana-index-password-gate__card--animate {
    animation: atana-pwd-royal-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes atana-pwd-royal-in {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.atana-index-password-gate__brand--royal {
    color: rgba(212, 175, 55, 0.85);
}

.atana-index-password-gate__title--royal {
    margin-bottom: 0.95rem;
    font-size: 1.38rem;
    background: linear-gradient(
        118deg,
        #fff4c4 0%,
        #d4af37 30%,
        #a8e8e8 55%,
        #4db8b8 80%,
        #e8c86a 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: atana-money-title-shimmer 3s ease-in-out infinite;
}

.atana-index-password-gate__message {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(232, 240, 240, 0.92);
    text-align: center;
}

.atana-index-password-gate__card--royal .atana-index-password-gate__message {
    margin-bottom: 0.9rem;
    font-size: 0.94rem;
    line-height: 1.7;
}

.atana-index-password-gate__card--royal .atana-index-password-gate__usdt {
    margin-bottom: 0.95rem;
    font-size: 1.2rem;
}

.atana-index-password-gate__card--royal .atana-index-password-gate__tagline {
    margin-bottom: 1.1rem;
    font-size: 1.12rem;
}

.atana-index-password-gate__card--royal .atana-index-password-gate__input {
    min-height: 3.1rem;
    padding: 0.75rem 0.95rem;
    font-size: 1.12rem;
}

.atana-index-password-gate__card--royal .atana-index-password-gate__submit {
    min-height: 3.05rem;
    font-size: 0.98rem;
    letter-spacing: 0.1em;
}

.atana-index-password-gate__usdt {
    margin: 0 0 0.85rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.35;
    text-align: center;
    background: linear-gradient(
        118deg,
        #fff4c4 0%,
        #f0d77a 16%,
        #d4af37 32%,
        #a8e8e8 48%,
        #6ec9c9 64%,
        #4db8b8 78%,
        #e8c86a 100%
    );
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 14px rgba(77, 184, 184, 0.35))
        drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
    animation: atana-money-title-shimmer 2.8s ease-in-out infinite;
}

.atana-index-password-gate__tagline {
    margin: 0 0 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    background: linear-gradient(90deg, var(--atana-gold-light, #e8c86a), var(--atana-accent-light, #7ed4d4));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Royal gateway notice — between access & agreement */
.atana-index-password-gate__card--royal-notice {
    width: min(100%, 24rem);
    max-height: min(90dvh, 34rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.35rem 1.15rem 1.25rem;
    border: 2px solid transparent;
    background:
        linear-gradient(165deg, rgba(18, 20, 24, 0.96) 0%, rgba(10, 11, 14, 0.98) 100%) padding-box,
        linear-gradient(
            135deg,
            var(--atana-gold, #d4af37) 0%,
            var(--atana-teal-gold-bright, #a8e8e8) 40%,
            var(--atana-accent, #4db8b8) 70%,
            var(--atana-gold-light, #e8c86a) 100%
        )
            border-box;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.22),
        0 28px 64px rgba(0, 0, 0, 0.65),
        0 0 56px rgba(77, 184, 184, 0.2);
}

.atana-index-password-gate__notice-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.2;
    background: linear-gradient(
        118deg,
        #fff4c4 0%,
        #f0d77a 20%,
        #d4af37 38%,
        #a8e8e8 58%,
        #4db8b8 78%,
        #e8c86a 100%
    );
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: atana-money-title-shimmer 3s ease-in-out infinite;
}

.atana-index-password-gate__notice-hero {
    margin: 0 0 0.75rem;
    font-size: clamp(0.95rem, 4.2vw, 1.12rem);
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
    background: linear-gradient(
        110deg,
        #fff4c4 0%,
        #d4af37 28%,
        #7ed4d4 55%,
        #4db8b8 78%,
        #e8c86a 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: atana-money-title-shimmer 3.2s ease-in-out infinite;
}

.atana-index-password-gate__notice-hold {
    margin: 0 0 1rem;
    font-size: clamp(1rem, 4.5vw, 1.18rem);
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
    background: linear-gradient(
        118deg,
        #fff4c4 0%,
        #f0d77a 18%,
        #6ec9c9 50%,
        #4db8b8 72%,
        #d4af37 100%
    );
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: atana-money-title-shimmer 2.6s ease-in-out infinite;
}

.atana-index-password-gate__notice-opt {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.75rem;
    cursor: pointer;
    border: 1px solid transparent;
    background:
        linear-gradient(160deg, rgba(22, 24, 28, 0.92) 0%, rgba(14, 15, 18, 0.96) 100%) padding-box,
        linear-gradient(135deg, rgba(212, 175, 55, 0.65), rgba(77, 184, 184, 0.55), rgba(232, 200, 106, 0.65))
            border-box;
}

.atana-index-password-gate__notice-check {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--atana-accent, #4db8b8);
    cursor: pointer;
}

.atana-index-password-gate__notice-opt-text {
    font-size: 0.78rem;
    line-height: 1.55;
    font-weight: 700;
    background: linear-gradient(90deg, #e8c86a 0%, #7ed4d4 45%, #4db8b8 75%, #d4af37 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: atana-money-title-shimmer 3.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .atana-index-password-gate__notice-title,
    .atana-index-password-gate__notice-hero,
    .atana-index-password-gate__notice-hold,
    .atana-index-password-gate__notice-opt-text {
        animation: none;
    }
}

/* Lightweight layout utils (replaces Tailwind CDN) */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.min-w-0 { min-width: 0; }
.shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.w-full { width: 100%; }
.p-4 { padding: 1rem; }
.text-white { color: #fff; }

body.atana-index-page,
body.atana-checkout-page {
    color: #fcfbf9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: #4db8b8;
    color: #fff;
}
