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

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2333;
}

.auth-screen { width: 100%; padding: 24px; display: flex; justify-content: center; }

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
    max-width: 400px;
    width: 100%;
    padding: 36px 32px;
}

.auth-logo { text-align: center; margin-bottom: 24px; }

.auth-logo__mark {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4f8cff, #7a5cff);
    color: #fff;
    font-size: 28px;
    margin-bottom: 14px;
}

.auth-logo h1 { font-size: 20px; font-weight: 700; letter-spacing: -0.4px; }
.auth-subtitle { color: #6b7280; font-size: 14px; margin-top: 4px; }

.auth-error {
    display: flex; align-items: flex-start; gap: 8px;
    background: rgba(239,68,68,0.1);
    color: #b91c1c;
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 8px;
    padding: 11px 14px;
    margin-bottom: 16px;
    font-size: 13px;
}
.auth-error .text-danger { color: #b91c1c; list-style: none; }
.auth-error ul { padding-left: 16px; }

.auth-form .form-group { margin-bottom: 16px; }

.auth-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }

.input-wrap { position: relative; }
.input-wrap i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #9ca3af; font-size: 18px; }
.input-wrap input {
    width: 100%;
    padding: 11px 12px 11px 40px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.input-wrap input:focus { outline: none; border-color: #4f8cff; box-shadow: 0 0 0 3px rgba(79,140,255,0.15); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 11px 18px;
    border-radius: 9px;
    font-size: 14px; font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background .15s;
    font-family: inherit;
}
.btn-primary { background: #4f8cff; color: #fff; }
.btn-primary:hover { background: #3a6fd8; }
.btn-block { width: 100%; margin-top: 6px; }

.auth-links { text-align: center; margin-top: 18px; font-size: 13px; }
.auth-links a { color: #4f8cff; text-decoration: none; font-weight: 500; }
.auth-links a:hover { text-decoration: underline; }
