/* Login Page Styles - Simple et fonctionnel */

/* Dézoom global de 90% pour la page de login */
html {
    zoom: 0.9;
    -moz-transform: scale(0.9);
    -moz-transform-origin: 0 0;
    transform: scale(0.9);
    transform-origin: 0 0;
    width: 111.11%; /* Compense le scale 0.9 */
    height: 111.11%;
    overflow-x: hidden; /* Évite les barres de scroll */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0E0E10 0%, #2A2114 50%, rgba(200, 167, 107, 0.1) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

.login-title {
    color: #C8A76B;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.login-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    color: #000;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #f8f8f8;
    color: #000;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #C8A76B;
    box-shadow: 0 0 0 3px rgba(200, 167, 107, 0.2);
    background: white;
}

.login-button {
    background: linear-gradient(135deg, #C8A76B 0%, #B8965A 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #EF4444;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    display: none;
    font-weight: 500;
    margin-bottom: 1rem;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-text {
    text-align: center;
    margin-top: 2rem;
    color: #666;
    font-size: 0.8rem;
    opacity: 0.8;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.register-link a {
    color: #C8A76B;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.register-link a:hover {
    background: rgba(200, 167, 107, 0.1);
}
