/**
 * Yalibra - Authentication Layout Styles
 * Styles for login, register, and other auth pages
 */

body {
    font-size: 16px;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 1rem;
}

.auth-container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 2rem;
}

.auth-card h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

/* Language Switcher for Auth */
.language-switcher-auth {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 1000;
}

.language-switcher-auth .lang-btn {
    padding: 0.375rem 0.75rem;
    border: 2px solid #333;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    background: white;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.language-switcher-auth .lang-btn:hover {
    background: #333;
    color: white;
    border-color: #333;
}

/* Touch-optimierte Form Controls */
.form-control, .form-select {
    min-height: 44px;
    font-size: 16px;
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Touch-optimierte Buttons */
.btn {
    min-height: 44px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Spacing */
.mb-3 {
    margin-bottom: 1.5rem !important;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    border-radius: 0.5rem;
    border: none;
    font-size: 0.95rem;
}

/* Responsive */
@media (min-width: 768px) {
    .auth-card {
        padding: 3rem;
    }
    
    .auth-card h1 {
        font-size: 2rem;
    }
}

/* Password Toggle Button */
.password-toggle-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    padding: 0.375rem 0.75rem;
    margin-right: 0.5rem;
    color: #667eea;
    cursor: pointer;
    z-index: 10;
}

.password-toggle-btn:hover {
    color: #764ba2;
}

.password-toggle-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Token Input (Email Activation) */
.token-input {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
}

/* Honeypot Container (Security) */
#hpc {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}
