/**
 * Auth Styles - Schlichtes, modernes Design für Authentifizierung
 * Inspiriert von team.rina-paul.de
 */

/* Container für Auth-Seiten */
.auth-wrapper {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Karten */
.auth-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
}

.auth-card h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

/* Formulargruppen */
.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.auth-form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Buttons */
.auth-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    background: #6366f1;
    color: white;
}

.auth-btn:hover {
    background: #5558e3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Divider */
.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: #adb5bd;
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #dee2e6;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

/* Links */
.auth-links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.auth-links p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.auth-links a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: #5558e3;
    text-decoration: underline;
}

/* Success & Error Boxes */
.auth-error,
.auth-success {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.auth-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
}

.auth-success {
    background: #efe;
    border: 1px solid #cfc;
    color: #2d662d;
}

.auth-success strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* QR Code Container (für Registrierung) */
.auth-qr-container {
    background: #f8f9fa;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.auth-qr-container h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.auth-qr-container img {
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.auth-qr-manual {
    background: #e9ecef;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.auth-qr-manual code {
    font-size: 0.875rem;
    word-break: break-all;
    color: #495057;
}

/* Hinweise */
.auth-hint {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-wrapper {
        max-width: 100%;
        padding: 1rem 0.75rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }
}
