/* Design moderne pour les formulaires d'inscription et de connexion */
.form-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    max-width: 500px;
    margin: 20px auto;
}

.form-container h2 {
    color: white;
    text-align: center;
    font-size: 28px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 15px rgba(255,255,255,0.5);
    transform: scale(1.02);
}

.form-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    vertical-align: middle;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 87, 108, 0.4);
}

.form-submit:active {
    transform: translateY(0);
}

.form-info {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    color: white;
    font-size: 12px;
    line-height: 1.6;
}

.captcha-container {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    margin: 15px 0;
}

.captcha-container img {
    border-radius: 5px;
}

.form-link {
    text-align: center;
    margin-top: 20px;
    color: white;
}

.form-link a {
    color: #ffd700;
    text-decoration: none;
    font-weight: bold;
}

.form-link a:hover {
    text-decoration: underline;
}

.checkbox-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    padding: 12px;
    border-radius: 10px;
}

.checkbox-group label {
    margin: 0 0 0 10px;
    cursor: pointer;
}

.form-note {
    background: rgba(255, 193, 7, 0.2);
    border-left: 4px solid #ffc107;
    padding: 12px;
    border-radius: 5px;
    margin: 15px 0;
    color: white;
    font-size: 13px;
}

.success-message {
    background: rgba(76, 175, 80, 0.3);
    border: 2px solid #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
}

.error-message {
    background: rgba(244, 67, 54, 0.3);
    border: 2px solid #f44336;
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
}
