:root {
    --primary: #1769e0;
    --primary-dark: #1056bd;
    --dark: #111827;
    --muted: #6b7280;
    --surface: #ffffff;
    --background: #f4f7fb;
    --border: #e5e7eb;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--dark);
    background: var(--background);
}

.auth-page {
    min-height: 100vh;
}

.auth-visual {
    position: relative;
    align-items: flex-end;
    overflow: hidden;
    padding: 70px;
    background:
        linear-gradient(
            135deg,
            rgba(13, 42, 88, 0.94),
            rgba(23, 105, 224, 0.78)
        ),
        url(
            "https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80"
        )
        center / cover no-repeat;
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.15),
            transparent 40%
        );
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
    color: #ffffff;
}

.auth-visual-content h1 {
    margin-bottom: 20px;
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2px;
}

.auth-visual-content p {
    max-width: 560px;
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.brand-mark {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 12px 30px rgba(23, 105, 224, 0.3);
}

.auth-visual .brand-mark {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}

.brand-mark i {
    font-size: 24px;
}

.feature-list {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.feature-item i {
    color: #8ee7b0;
}

.auth-form-column {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--background);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 460px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
}

.auth-card {
    padding: 42px;
    border: 1px solid rgba(229, 231, 235, 0.8);
    border-radius: 24px;
    background: var(--surface);
    box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.08);
}

.auth-label {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-title {
    margin-bottom: 10px;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.auth-subtitle {
    margin: 0;
    color: var(--muted);
}

.form-label {
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.auth-input-group {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
    transition: 0.2s ease;
}

.auth-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(23, 105, 224, 0.1);
}

.auth-input-group .input-group-text {
    border: 0;
    color: #9ca3af;
    background: transparent;
}

.auth-input-group .form-control {
    min-height: 52px;
    border: 0;
    box-shadow: none;
}

.password-toggle {
    border: 0;
    color: #6b7280;
    background: transparent;
}

.auth-submit-btn {
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    font-weight: 600;
    transition: 0.2s ease;
}

.auth-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.auth-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 575.98px) {
    .auth-form-column {
        padding: 24px 16px;
    }

    .auth-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .auth-title {
        font-size: 28px;
    }
}