@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
    --auth-ink: #0f2438;
    --auth-soft: #4f5f71;
    --auth-accent: #0f766e;
    --auth-accent-hover: #0c5f5a;
    --auth-bg: #f4f8fb;
    --auth-card: #ffffff;
    --auth-border: #d6e2ee;
    --auth-shadow: 0 18px 40px rgba(16, 42, 67, 0.12);
}

body.login-page.auth-modern {
    background:
        radial-gradient(800px 500px at -10% 0%, rgba(164, 226, 255, 0.38), transparent 60%),
        radial-gradient(800px 540px at 110% 100%, rgba(173, 233, 220, 0.32), transparent 62%),
        linear-gradient(180deg, #eef5fa 0%, #f8fbfd 100%);
    color: var(--auth-ink);
    font-family: 'Source Sans 3', sans-serif;
    margin: 0;
}

body.login-page.auth-modern .container {
    max-width: 980px;
    padding-top: 48px;
    padding-bottom: 32px;
}

.auth-shell {
    background: var(--auth-card);
    border: 1px solid var(--auth-border);
    border-radius: 20px;
    box-shadow: var(--auth-shadow);
    display: flex;
    min-height: 600px;
    overflow: hidden;
}

.auth-hero {
    align-items: flex-start;
    background: linear-gradient(155deg, #123450 0%, #0f766e 100%);
    color: #fff;
    display: flex;
    flex: 1 1 46%;
    flex-direction: column;
    justify-content: center;
    padding: 40px 36px;
}

.auth-logo {
    max-width: 190px;
    width: 100%;
}

.auth-kicker {
    letter-spacing: 0.1em;
    margin: 28px 0 8px;
    opacity: 0.85;
    text-transform: uppercase;
}

.auth-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 12px;
}

.auth-hero p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    max-width: 360px;
    opacity: 0.92;
}

.auth-security-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.auth-security-list li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
}

.auth-security-list li::before {
    content: '\2713';
    left: 0;
    position: absolute;
}

.auth-form-wrap {
    background: #fff;
    flex: 1 1 54%;
    padding: 40px 38px;
}

.auth-form-wrap h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 8px;
}

.auth-subtitle {
    color: var(--auth-soft);
    font-size: 15px;
    margin-bottom: 24px;
}

.auth-input .form-control {
    border: 1px solid #c9d8e7;
    border-radius: 12px;
    box-shadow: none;
    font-size: 15px;
    height: 46px;
    padding: 10px 44px 10px 12px;
}

.auth-input .form-control:focus {
    border-color: #88b9d9;
    box-shadow: 0 0 0 3px rgba(29, 144, 172, 0.12);
}

.auth-input {
    margin-bottom: 14px;
    position: relative;
}

.toggle-password {
    background: transparent;
    border: 0;
    color: #5b6f82;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    position: absolute;
    right: 12px;
    top: 11px;
}

.auth-form-wrap .btn-primary {
    background: var(--auth-accent);
    border: 0;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    min-height: 44px;
    text-transform: uppercase;
    width: 100%;
}

.auth-form-wrap .btn-primary:hover,
.auth-form-wrap .btn-primary:focus {
    background: var(--auth-accent-hover);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
}

.auth-links a {
    color: #0e5f8b;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-signup-card {
    background: #f6fbff;
    border: 1px solid #d9ebf7;
    border-radius: 14px;
    margin-top: 24px;
    padding: 16px;
}

.auth-signup-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    margin: 0 0 6px;
}

.auth-signup-card p {
    color: var(--auth-soft);
    font-size: 14px;
    margin: 0 0 10px;
}

.auth-signup-card .btn {
    border-radius: 10px;
    font-weight: 700;
}

@media (max-width: 991px) {
    body.login-page.auth-modern .container {
        max-width: 760px;
        padding-top: 28px;
    }

    .auth-shell {
        flex-direction: column;
    }

    .auth-hero,
    .auth-form-wrap {
        flex: 1 1 auto;
        padding: 28px 24px;
    }

    .auth-hero h1 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .auth-hero h1 {
        font-size: 24px;
    }

    .auth-form-wrap h2 {
        font-size: 24px;
    }

    .auth-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}
