/* ============================================================
   auth/login.css — KYCGenie branded login landing page
   ============================================================ */

:root {
    --accent: #165BCB;
    --accent-hover: #1250b0;
}

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

html,
body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f0f4ff 0%, #f6f7f9 60%, #eef2ff 100%);
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
}

/* ── Main layout ── */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* ── Card ── */
.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.07),
        0 2px 24px 0 rgba(22, 91, 203, 0.08);
    padding: 52px 44px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Logo ── */
.login-logo {
    display: block;
    margin-bottom: 32px;
}

.login-logo-img {
    height: 44px;
    width: auto;
}

/* ── Headings ── */
.login-title {
    font-family: 'Lufga', 'Inter', sans-serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    text-align: center;
}

.login-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 36px;
    text-align: center;
}

/* ── Primary CTA ── */
.login-btn {
    display: block;
    width: 100%;
    padding: 13px 24px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.18s ease;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
}

.login-btn:hover {
    background: var(--accent-hover);
    color: #ffffff;
}

/* Secondary/ghost variant for error state CTAs */
.login-btn--secondary {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.login-btn--secondary:hover {
    background: var(--accent);
    color: #ffffff;
}

/* ── Footer link ── */
.login-footer {
    font-size: 0.84rem;
    color: #94a3b8;
    text-align: center;
}

.login-footer a {
    color: var(--accent);
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ── Watermark ── */
.login-watermark {
    position: absolute;
    bottom: -32px;
    right: -16px;
    font-family: 'Lufga', sans-serif;
    font-size: 120px;
    font-weight: 800;
    color: rgba(22, 91, 203, 0.04);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    z-index: 0;
}

/* ── Legal footer ── */
.login-legal {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.login-legal a {
    color: #cbd5e1;
    text-decoration: none;
}

.login-legal a:hover {
    color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .login-card {
        padding: 36px 28px;
    }

    .login-watermark {
        font-size: 70px;
    }
}
