.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg);
}

.auth-section--alt {
    min-height: 100vh;
    padding: 100px 20px 40px;
    box-sizing: border-box;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--color-card);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
}

.auth-card--wide {
    max-width: 420px;
    padding: 30px;
}

.auth-title {
    color: var(--color-text);
    margin-bottom: 10px;
}

.auth-title--tight {
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field--compact {
    margin-bottom: 10px;
}

.auth-field--tight {
    margin-bottom: 14px;
}

.auth-field--tall {
    margin-bottom: 25px;
}

.auth-label {
    display: block;
    color: var(--color-text-muted);
    font-size: 14px;
    margin-bottom: 5px;
}

.auth-input {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    box-sizing: border-box;
}

.auth-input--compact {
    padding: 10px;
    margin-top: 4px;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.auth-btn--compact {
    padding: 12px;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    color: var(--color-text-soft);
}

.auth-footer--tight {
    margin-top: 18px;
    font-size: 14px;
}

.auth-link {
    color: var(--color-primary);
    text-decoration: none;
}

.password-strength {
    height: 4px;
    margin-top: 6px;
    border-radius: 2px;
    background: var(--color-bg-soft);
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width .3s, background .3s;
}

.password-strength-bar.weak   { width: 25%; background: #ef4444; }
.password-strength-bar.medium { width: 50%; background: #f59e0b; }
.password-strength-bar.strong { width: 75%; background: #22c55e; }
.password-strength-bar.very-strong { width: 100%; background: #16a34a; }

.password-match { font-size: 12px; margin-top: 4px; }
.password-match--ok  { color: #22c55e; }
.password-match--err { color: #ef4444; }

.flash {
    padding: 12px 20px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 14px;
}

.flash--error {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.flash--success {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.25);
}
