:root {
    --navy: #0f2247;
    --navy-light: #17325f;
    --navy-deep: #0a1830;
    --accent: #10b981;
    --accent-dark: #059669;
    --accent-rgb: 16, 185, 129;
    --grey-bg: #f3f5f9;
    --white: #ffffff;
    --text: #1e2733;
    --text-muted: #6b7480;
    --border: #e5e8ef;
    --danger: #e5484d;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(15, 34, 71, 0.06), 0 4px 14px rgba(15, 34, 71, 0.05);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', system-ui, sans-serif;
    background: var(--grey-bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #059669; }
.alert-danger { background: #fee2e2; color: #b91c1c; }

.form-group { margin-bottom: 16px; text-align: left; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-control {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    background: var(--white);
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.14); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--white); box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: var(--white); border: 1px solid var(--border); color: var(--text); }

.auth-page {
    min-height: 100vh;
    display: flex;
}

.auth-panel {
    flex: 1;
    background: radial-gradient(circle at 20% 20%, var(--navy-light) 0%, var(--navy) 45%, var(--navy-deep) 100%);
    color: #e6ebf5;
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.auth-brand-mark {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--accent);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 19px;
}
.auth-brand-name { font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: -0.01em; }

.auth-panel h2 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    max-width: 480px;
}

.auth-panel p { font-size: 15px; color: #b7c2da; max-width: 460px; line-height: 1.6; margin: 0 0 28px; }

.auth-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.auth-points li {
    font-size: 14px;
    color: #dbe3f2;
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-points li::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.auth-form-wrap {
    width: 460px;
    max-width: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
}

.auth-form-box { width: 100%; max-width: 340px; }
.auth-form-box h1 { font-size: 24px; font-weight: 800; color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; }
.auth-sub { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; margin: 0 0 24px; }
.auth-submit { width: 100%; margin-top: 4px; }
.auth-footnote { margin-top: 20px; font-size: 12.5px; color: var(--text-muted); text-align: center; line-height: 1.5; }

@media (max-width: 900px) {
    .auth-page { flex-direction: column; }
    .auth-panel { padding: 40px 28px; }
    .auth-panel h2 { font-size: 26px; }
    .auth-form-wrap { width: 100%; padding: 36px 24px; }
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 20px;
}
.login-box {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 32px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    text-align: center;
}
.login-box h1 { text-align: center; color: var(--navy); font-size: 20px; margin-bottom: 22px; font-weight: 800; }
