/* Grundlayout */

.auth-body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

.auth-wrapper {
    width: 100%;
    max-width: 1200px;
    min-height: 80vh;
    display: flex;
    background: #ffffff;
}

/* Linke Seite mit Scribble / GIF */

.auth-left {
    flex: 1;
    border-right: 1px solid #f1f1f3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.auth-logo-gif {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Rechte Seite mit Card */

.auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 56px;
    box-sizing: border-box;
    background: #f5f5f7;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    box-sizing: border-box;
}

/* Typografie */

.auth-title {
    font-size: 32px;
    line-height: 1.25;
    margin: 0 0 24px;
    color: #111827;
    font-weight: 600;
}

.auth-subtitle {
    margin: -12px 0 24px;
    font-size: 14px;
    color: #6b7280;
}

/* Formulare */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

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

.auth-form input[type="email"],
.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.auth-form input::placeholder {
    color: #9ca3af;
}

.auth-form input:focus {
    background: #ffffff;
    border-color: #6366f1;
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.3);
}

/* Button */

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    background: #d4d4d8;
    color: #9ca3af;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
    background: #c4c4cc;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

.btn-block {
    width: 100%;
}

/* Footer Text */

.auth-footer-text {
    margin-top: 18px;
    font-size: 13px;
    text-align: center;
    color: #6b7280;
}

.auth-footer-text a {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

/* Alerts */

.alert {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.alert ul {
    margin: 0;
    padding-left: 18px;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #ecfdf3;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* Fake reCAPTCHA Platzhalter falls verwendet */

.recaptcha-placeholder {
    margin-top: 8px;
    margin-bottom: 4px;
    border-radius: 14px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #374151;
}

/* Checkbox Optik innen, falls du etwas zeigen willst */
.recaptcha-placeholder span:first-child::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    vertical-align: middle;
}

/* Responsive */

@media (max-width: 900px) {
    .auth-wrapper {
        flex-direction: column;
        max-width: 520px;
        min-height: auto;
    }

    .auth-left {
        border-right: none;
        border-bottom: 1px solid #f1f1f3;
        padding: 24px;
    }

    .auth-right {
        padding: 24px;
    }

    .auth-card {
        padding: 28px 22px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    }
}

@media (max-width: 520px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 20px;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .auth-title {
        font-size: 26px;
        margin-bottom: 18px;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.bento-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: transform 0.12s ease, box-shadow 0.18s ease;
    cursor: pointer;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

.bento-item h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

.bento-item p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Highlight für wichtige Actions */
.bento-primary {
    background: #f5f5f7;
    border: 1px solid #e5e7eb;
}

.bento-primary h3 {
    color: #1f2937;
}
