/**
 * src/css/auth.css
 * ZUSTÄNDIGKEIT: Branding (Logo/Slogan) und Layout der Landing-Page.
 * FIX: Sichtbarkeits-Regeln für Tabs und Formulare wiederhergestellt (v12.8).
 * REFACTORING: Keine Animationen (delegiert an animations.css).
 * STATUS: Native ESM.
 */

/* --- 1. GLOBALER AUTH-CONTAINER & HINTERGRUND --- */
#auth-container {
    width: 100% !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important; 
    padding: 20px 15px !important;
    position: relative !important;
    z-index: 10 !important;
    text-align: center !important;
    background: linear-gradient(to right, #e3f2fd, #fce4ec) !important;
    overflow-x: hidden !important;
}

/* Hintergrund-Blobs (Deko) */
.bg-animated-blobs {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(80px);
    border-radius: 50%;
}

.blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    right: -100px; bottom: -100px;
}

/* --- 2. LOGO-HEADER & BRANDING --- */
.logo-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important; 
    padding: 0 !important;
    margin-bottom: 5px !important;
    height: 160px !important; 
    width: 100% !important;
    overflow: visible !important;
}

.logo-text {
    font-family: 'Great Vibes', cursive !important;
    font-size: 52px !important;
    display: inline-block !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05) !important;
    width: 160px !important; 
}

.faires-text { color: #2196F3 !important; text-align: right !important; padding-right: 25px !important; }
.dating-text { color: #ff6699 !important; text-align: left !important; padding-left: 25px !important; }

#auth-logo {
    width: 125px !important; 
    height: 125px !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
    z-index: 20 !important;
}

#auth-slogan {
    text-align: center !important;
    color: #4CAF50 !important;
    margin-bottom: 25px !important;
    font-weight: 700 !important;
    font-size: 22px !important;
    line-height: 1.4 !important;
    font-family: 'Segoe Script', cursive !important;
}

.slogan-sub {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #4CAF50 !important;
    display: block !important;
    margin-top: 4px !important;
    font-family: 'Inter', sans-serif !important;
}

/* --- 3. AUTH BOX, TABS & FORMULARE (DER FIX) --- */
.auth-box {
    background: white !important;
    padding: 30px !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
    margin: 0 auto 30px auto !important; 
    max-width: 410px !important;
    width: 100% !important;
    position: relative !important;
    z-index: 50 !important;
    border: 1px solid #f0f0f0 !important;
}

.auth-tabs { 
    display: flex !important; 
    border-bottom: 1px solid #f0f0f0 !important; 
    margin-bottom: 25px !important; 
}

.auth-tab {
    flex: 1 !important;
    padding: 12px !important;
    text-align: center !important;
    cursor: pointer !important;
    font-weight: 700 !important;
    color: #bbb !important;
    transition: 0.3s !important;
}

.auth-tab.active { 
    color: #333 !important; 
    border-bottom: 3px solid #4CAF50 !important; 
}

/* WICHTIG: Steuert das Umschalten zwischen Login und Registrierung */
.auth-form { 
    display: none !important; 
}

.auth-form.active { 
    display: block !important; 
    animation: fadeIn 0.4s ease-out; /* Keyframe aus animations.css */
}

.auth-form input { 
    width: 100% !important; 
    padding: 14px !important; 
    margin-top: 10px !important; 
    border-radius: 12px !important; 
    border: 1px solid #eee !important; 
    font-size: 16px !important; 
    background: #f9f9f9 !important; 
}

/* Passwort-Sichtbarkeit */
.password-container { position: relative !important; width: 100% !important; }
.password-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #999 !important;
    z-index: 10 !important;
}

.auth-button {
    width: 100% !important;
    padding: 16px !important;
    margin-top: 25px !important;
    background-color: #4CAF50 !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.25) !important;
    cursor: pointer !important;
}

/* --- 4. MOBILE ANPASSUNGEN --- */
@media (max-width: 768px) {
    .logo-header { height: 120px !important; }
    .logo-text { font-size: 38px !important; width: 130px !important; }
    #auth-logo { width: 90px !important; height: 90px !important; }
    .auth-box { padding: 25px 20px !important; width: 92% !important; }
}

/* SMS & RECAPTCHA */
#recaptcha-container { display: flex !important; justify-content: center !important; margin: 15px 0 !important; }