/* Styles pour la page d'inscription */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    text-align: center;
    max-width: 400px;
    width: 100%;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

h1 {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    letter-spacing: -1px;
    line-height: 1.2;
}

.subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #959595;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(149, 149, 149, 0.1);
}

.register-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #959595 0%, #191919 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(149, 149, 149, 0.4);
}

.register-btn:active {
    transform: translateY(0);
}

.login-link {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #2c3e50;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.success-message {
    color: #28a745;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #959595 0%, #191919 100%);
    margin: 2rem auto 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .container {
        padding: 2rem 1.5rem;
        margin: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.6rem;
    }
    
    .container {
        padding: 1.5rem 1rem;
    }
}