:root {
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --bg: #f8fafc;
    --sidebar-bg: #1e293b;
    --sidebar-text: #94a3b8;
    --card-bg: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --border: #e2e8f0;
    --danger: #ef4444;
}

.auth-body {
    min-height: 100vh;
    background: var(--bg);
}

.auth-shell {
    display: flex;
    min-height: 100vh;
}

.auth-brand-panel {
    width: 42%;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.auth-brand i {
    font-size: 2.25rem;
    color: var(--primary-light);
}

.auth-tagline {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 360px;
}

.auth-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    max-width: 360px;
}

.auth-feature {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.auth-feature i {
    color: var(--primary-light);
    width: 22px;
    text-align: center;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.auth-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
    width: 100%;
    max-width: 460px;
    padding: 40px;
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.auth-form-group {
    margin-bottom: 18px;
}

.auth-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.auth-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.925rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Inter', sans-serif;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(79 70 229 / 0.15);
}

.auth-input.input-validation-error {
    border-color: var(--danger);
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.auth-checkbox-row input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.auth-btn {
    width: 100%;
    padding: 12px 16px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
}

.auth-btn:hover {
    background: var(--primary-dark);
}

.auth-link-text {
    text-align: center;
    margin-top: 22px;
    font-size: 0.875rem;
    color: var(--text-light);
}

.auth-link-text a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-link-text a:hover {
    text-decoration: underline;
}

.auth-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.auth-alert ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-validation-summary li {
    margin-bottom: 2px;
}

.auth-validation {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
}

.auth-field-error span {
    color: var(--danger);
    font-size: 0.8rem;
}

.auth-brand-mobile {
    display: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.auth-brand-mobile i {
    margin-right: 8px;
}

@media (max-width: 860px) {
    .auth-brand-panel {
        display: none;
    }
    .auth-brand-mobile {
        display: block;
    }
}

.text-danger {
    color: var(--danger);
}
