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

:root {
    --flight-bg: #f3f6fb;
    --flight-panel: #ffffff;
    --flight-line: #e3eaf3;
    --flight-text: #162033;
    --flight-muted: #6a778f;
    --flight-primary: #0a4fb3;
    --flight-primary-2: #1f6fe5;
    --flight-sky-1: #0b3d91;
    --flight-sky-2: #1a6fd4;
    --flight-sky-3: #4fa3e8;
}

html.auth-flight,
html.auth-flight body {
    min-height: 100%;
    font-family: 'Inter', "Montserrat", ui-sans-serif, system-ui, sans-serif !important;
    background: var(--flight-bg);
    color: var(--flight-text);
}

html.auth-flight body.blank-page {
    overflow-x: hidden;
}

html.auth-flight .app-content.content {
    padding: 0 !important;
    margin: 0 !important;
    min-height: 100vh;
}

html.auth-flight .auth-wrapper.auth-v2 {
    min-height: 100vh !important;
}

html.auth-flight .auth-wrapper.auth-v2 .auth-inner {
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
}

/* Full-bleed flight hero panel */
html.auth-flight .auth-flight-hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(145deg, rgba(11, 61, 145, 0.92) 0%, rgba(26, 111, 212, 0.88) 48%, rgba(79, 163, 232, 0.85) 100%),
        url('/resources/assets/img/world-map-img.png') center / cover no-repeat;
    color: #fff;
    overflow: hidden;
}

html.auth-flight .auth-flight-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18), transparent 42%),
        radial-gradient(circle at 86% 78%, rgba(10, 79, 179, 0.35), transparent 40%);
    pointer-events: none;
}

html.auth-flight .auth-flight-hero-content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    padding: 2.5rem;
}

html.auth-flight .auth-flight-hero .brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

html.auth-flight .auth-flight-hero .brand-mark img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

html.auth-flight .auth-flight-hero h1 {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    color: #fff;
}

html.auth-flight .auth-flight-hero p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.75rem;
    max-width: 28rem;
}

html.auth-flight .auth-flight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

html.auth-flight .auth-flight-pills span {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

html.auth-flight .auth-flight-plane {
    position: absolute;
    right: -4%;
    bottom: 8%;
    width: min(46vw, 420px);
    opacity: 0.16;
    pointer-events: none;
    z-index: 0;
}

/* Form panel */
html.auth-flight .auth-flight-panel {
    background: var(--flight-panel);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2.5rem 1.5rem;
}

html.auth-flight .auth-flight-card {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
}

html.auth-flight .auth-flight-card .mobile-brand {
    display: none;
    margin-bottom: 1.5rem;
}

html.auth-flight .auth-flight-card .mobile-brand img {
    height: 48px;
    width: auto;
}

html.auth-flight .auth-flight-card .card-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--flight-text);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

html.auth-flight .auth-flight-card .card-text {
    color: var(--flight-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

html.auth-flight .auth-login-form .form-label,
html.auth-flight .auth-login-form label {
    color: var(--flight-text);
    font-weight: 500;
    font-size: 0.86rem;
}

html.auth-flight .auth-login-form .form-control {
    border-radius: 10px;
    border-color: var(--flight-line);
    background: #fbfdff;
    min-height: 44px;
    font-size: 0.92rem;
}

html.auth-flight .auth-login-form .form-control:focus {
    border-color: var(--flight-primary);
    box-shadow: 0 0 0 0.2rem rgba(10, 79, 179, 0.12);
    background: #fff;
}

html.auth-flight .auth-login-form .input-group-text {
    border-radius: 0 10px 10px 0;
    border-color: var(--flight-line);
    background: #fbfdff;
}

html.auth-flight .auth-login-form a {
    color: var(--flight-primary);
    font-weight: 500;
}

html.auth-flight .auth-login-form a:hover {
    color: var(--flight-primary-2);
}

html.auth-flight .btn-primary {
    border: 0 !important;
    border-radius: 10px !important;
    min-height: 46px;
    font-weight: 600;
    background: linear-gradient(180deg, var(--flight-primary-2), var(--flight-primary)) !important;
    box-shadow: 0 10px 20px rgba(10, 79, 179, 0.28) !important;
}

html.auth-flight .btn-primary:hover,
html.auth-flight .btn-primary:focus {
    filter: brightness(1.04);
    box-shadow: 0 14px 24px rgba(10, 79, 179, 0.34) !important;
}

html.auth-flight .custom-control-label {
    color: var(--flight-muted);
    font-size: 0.88rem;
}

html.auth-flight .auth-flight-footer-link {
    color: var(--flight-muted);
    font-size: 0.9rem;
}

html.auth-flight .auth-flight-footer-link a {
    color: var(--flight-primary);
    font-weight: 600;
}

html.auth-flight .brand-logo {
    display: none !important;
}

@media (max-width: 991.98px) {
    html.auth-flight .auth-flight-hero {
        display: none !important;
    }

    html.auth-flight .auth-flight-panel {
        background:
            linear-gradient(180deg, rgba(243, 246, 251, 0.96), rgba(255, 255, 255, 0.98)),
            url('/resources/assets/img/world-map-img.png') top center / cover no-repeat;
    }

    html.auth-flight .auth-flight-card .mobile-brand {
        display: block;
        text-align: center;
    }
}
