/* ==========================================================================
   BMB affiliate auth — modern aurora system (login)
   ========================================================================== */

:root {
    --auth-navy: #0b1f3d;
    --auth-navy-2: #102a52;
    --auth-blue: #005eb8;
    --auth-blue-2: #3b82f6;
    --auth-accent: #6cb0e0;
    --auth-ink-1: #0f172a;
    --auth-ink-2: #334155;
    --auth-ink-3: #64748b;
    --auth-line: #e2e8f0;
    --auth-radius-card: 20px;
    --auth-radius-input: 12px;
    --auth-font: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

.auth-body {
    font-family: var(--auth-font);
    color: var(--auth-ink-1);
    background: #f4f7fc;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.auth-body img { max-width: 100%; display: block; }
.auth-body a { text-decoration: none; }

.installapp-main { display: none !important; }
.hotel { background: transparent !important; }


/* ==========================================================================
   Shell + aurora background
   ========================================================================== */

.auth-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 24px;
    background: linear-gradient(180deg, #f6f8fd 0%, #eef3fb 100%);
}

.auth-aurora {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.auth-aurora__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    will-change: transform;
}

.auth-aurora__blob--blue {
    width: 720px; height: 720px;
    top: -260px; left: -180px;
    background: radial-gradient(circle, rgba(0, 94, 184, 0.45) 0%, rgba(0, 94, 184, 0) 70%);
    animation: blobFloatA 22s ease-in-out infinite alternate;
}

.auth-aurora__blob--navy {
    width: 620px; height: 620px;
    bottom: -220px; right: -120px;
    background: radial-gradient(circle, rgba(11, 31, 61, 0.40) 0%, rgba(11, 31, 61, 0) 70%);
    animation: blobFloatB 28s ease-in-out infinite alternate;
}

.auth-aurora__blob--accent {
    width: 460px; height: 460px;
    top: 35%; left: 40%;
    background: radial-gradient(circle, rgba(108, 176, 224, 0.35) 0%, rgba(108, 176, 224, 0) 70%);
    animation: blobFloatC 32s ease-in-out infinite alternate;
}

.auth-aurora__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 80%);
}

@keyframes blobFloatA {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(60px, 80px) scale(1.08); }
}

@keyframes blobFloatB {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-50px, -70px) scale(1.06); }
}

@keyframes blobFloatC {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-40px, 50px) scale(1.05); }
}


/* ==========================================================================
   Frame: pitch + card
   ========================================================================== */

.auth-frame {
    position: relative;
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
}

.auth-pitch {
    color: var(--auth-ink-1);
    animation: fadeUp 0.7s ease-out;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: 28px;
}

.auth-brand img { height: 36px; width: auto; }

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--auth-blue);
    margin-bottom: 22px;
    padding: 6px 14px;
    background: rgba(0, 94, 184, 0.08);
    border: 1px solid rgba(0, 94, 184, 0.18);
    border-radius: 999px;
}

.auth-eyebrow i { font-size: 7px; color: #10b981; }

.auth-headline {
    font-size: clamp(36px, 4.6vw, 56px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.035em;
    color: var(--auth-ink-1);
    margin-bottom: 22px;
}

.auth-headline em {
    font-style: normal;
    background: linear-gradient(135deg, #005eb8 0%, #3b82f6 60%, #6cb0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-lede {
    font-size: 16px;
    color: var(--auth-ink-2);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 32px;
}

.auth-pillars {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.auth-pillars li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14.5px;
    color: var(--auth-ink-2);
}

.auth-pillars i {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 94, 184, 0.10), rgba(108, 176, 224, 0.18));
    color: var(--auth-blue);
    border-radius: 10px;
    font-size: 13px;
    flex-shrink: 0;
}

.auth-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding-top: 28px;
    border-top: 1px solid var(--auth-line);
    max-width: 460px;
}

.auth-stats > div { display: flex; flex-direction: column; gap: 4px; }

.auth-stats dt {
    font-size: 24px;
    font-weight: 700;
    color: var(--auth-ink-1);
    letter-spacing: -0.015em;
    line-height: 1;
}

.auth-stats dd {
    font-size: 11.5px;
    color: var(--auth-ink-3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ==========================================================================
   Frosted card
   ========================================================================== */

.auth-card-wrap {
    display: flex;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--auth-radius-card);
    padding: 38px 36px 30px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.6) inset,
        0 30px 60px -20px rgba(11, 31, 61, 0.18),
        0 8px 24px -8px rgba(11, 31, 61, 0.08);
    animation: fadeUp 0.7s ease-out 0.1s both;
}

.auth-card__head {
    margin-bottom: 26px;
}

.auth-card__title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--auth-ink-1);
    margin-bottom: 6px;
}

.auth-card__sub {
    font-size: 14px;
    color: var(--auth-ink-3);
}

.auth-card__foot {
    margin-top: 22px;
    text-align: center;
}

.auth-card__foot-line {
    font-size: 14px;
    color: var(--auth-ink-3);
    margin-bottom: 14px;
}

.auth-card__foot-line a {
    color: var(--auth-blue);
    font-weight: 600;
}

.auth-card__foot-line a:hover { color: var(--auth-blue-2); }

.auth-card__trust {
    padding-top: 14px;
    border-top: 1px dashed var(--auth-line);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    color: var(--auth-ink-3);
    letter-spacing: 0.02em;
}

.auth-card__trust i { color: #10b981; font-size: 13px; }


/* ==========================================================================
   Form fields
   ========================================================================== */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--auth-ink-2);
    letter-spacing: 0.005em;
}

.field__label-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}

.field__link {
    font-size: 13px;
    color: var(--auth-blue);
    font-weight: 500;
}

.field__link:hover { color: var(--auth-blue-2); text-decoration: underline; }

.field__input {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid var(--auth-line);
    border-radius: var(--auth-radius-input);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field__input:hover { border-color: #cbd5e1; }

.field__input:focus-within {
    border-color: var(--auth-blue-2);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14);
}

.field__icon {
    position: absolute;
    left: 14px;
    color: var(--auth-ink-3);
    font-size: 14px;
    pointer-events: none;
}

.field__control {
    width: 100%;
    padding: 13px 14px 13px 42px;
    font-size: 15px;
    font-family: inherit;
    color: var(--auth-ink-1);
    background: transparent;
    border: none;
    outline: none;
    border-radius: var(--auth-radius-input);
}

.field__control::placeholder { color: #94a3b8; }

.field__input input[type="password"],
.field__input input[type="text"]#password { padding-right: 44px; }

.field__toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--auth-ink-3);
    cursor: pointer;
    font-size: 14px;
    padding: 8px;
    border-radius: 6px;
    transition: color 0.18s ease, background 0.18s ease;
}

.field__toggle:hover { color: var(--auth-blue-2); background: rgba(59, 130, 246, 0.08); }


/* Remember-me */
.check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    margin-top: 2px;
    color: var(--auth-ink-2);
    font-size: 13.5px;
}

.check input { position: absolute; opacity: 0; pointer-events: none; }

.check__box {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
}

.check__box i {
    font-size: 10px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.check:hover .check__box { border-color: #94a3b8; }

.check input:checked + .check__box {
    background: var(--auth-blue);
    border-color: var(--auth-blue);
}

.check input:checked + .check__box i {
    opacity: 1;
    transform: scale(1);
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.auth-btn {
    margin-top: 6px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--auth-radius-input);
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.auth-btn i { font-size: 12px; transition: transform 0.18s ease; }

.auth-btn--primary {
    background: linear-gradient(135deg, #005eb8 0%, #3b82f6 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 94, 184, 0.32);
}

.auth-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 94, 184, 0.42);
}

.auth-btn--primary:hover i { transform: translateX(3px); }

.auth-btn--primary:active { transform: translateY(0); }


/* ==========================================================================
   Social sign-in
   ========================================================================== */

.social-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 12px;
    border-radius: var(--auth-radius-input);
    background: #ffffff;
    border: 1.5px solid var(--auth-line);
    color: var(--auth-ink-1);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease, color 0.18s ease;
    text-decoration: none;
    line-height: 1;
    min-width: 0;
}

.social-btn:hover {
    transform: translateY(-1px);
    border-color: #cbd5e1;
    box-shadow: 0 6px 16px -8px rgba(11, 31, 61, 0.18);
}

.social-btn:active { transform: translateY(0); }

.social-btn svg,
.social-btn i {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.social-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.social-btn--apple {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.social-btn--apple:hover {
    background: #000000;
    border-color: #000000;
    color: #ffffff;
}

.social-btn--apple i { font-size: 17px; margin-top: -1px; }

.social-btn--facebook i { color: #1877F2; }

.social-btn--google { background: #ffffff; }


/* ==========================================================================
   Divider — "or continue with email"
   ========================================================================== */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 16px;
    color: var(--auth-ink-3);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-line);
}

.auth-divider span {
    text-transform: lowercase;
    font-weight: 500;
}


/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .auth-frame { grid-template-columns: 1fr; gap: 48px; }
    .auth-pitch { max-width: 600px; margin: 0 auto; text-align: center; }
    .auth-pillars { align-items: flex-start; max-width: 380px; margin-left: auto; margin-right: auto; }
    .auth-stats { margin-left: auto; margin-right: auto; }
    .auth-card-wrap { width: 100%; }
}

@media (max-width: 640px) {
    .auth-shell { padding: 36px 18px; }
    .auth-headline { font-size: 36px; }
    .auth-lede { font-size: 15px; }
    .auth-card { padding: 30px 24px 24px; border-radius: 16px; }
    .auth-card__title { font-size: 22px; }
    .auth-stats dt { font-size: 20px; }
    .auth-aurora__blob { filter: blur(80px); }
    .social-btn { padding: 10px; gap: 0; }
    .social-btn span { display: none; }
}

@media (max-width: 767px) {
    .menuIcon, .menuIcon-mobile {
        background: url("/assests/Bmb-headerimage/mobicon.png") center center / 30px 30px no-repeat #fff !important;
    }
}
