/* Styles des formulaires */
form {
    background: var(--form-bg-color);
    padding: 2em 2.5em;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
    min-width: 280px;
    max-width: 350px;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 0.3em;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 0.7em;
    margin-bottom: 1.2em;
    border: none;
    border-radius: 8px;
    background: var(--input-bg-color);
    color: var(--text-color);
    font-size: 1em;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

.btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 0.8em 2em;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    width: 100%;
}

.btn:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.errors {
    background: var(--error-color);
    color: #fff;
    padding: 0.7em 1em;
    border-radius: 8px;
    margin-bottom: 1em;
    font-size: 0.98em;
}

.success {
    background: var(--success-color);
    color: #fff;
    padding: 0.7em 1em;
    border-radius: 8px;
    margin-bottom: 1em;
    font-size: 1em;
    text-align: center;
}

.info {
    background: var(--form-bg-color);
    padding: 2em 2.5em;
    border-radius: 16px;
    box-shadow: 0 2px 12px #0002;
    min-width: 280px;
    max-width: 350px;
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
}

.g-recaptcha {
    margin: 1em 0;
    display: flex;
    justify-content: center;
}

@media (max-width: 600px) {
    form, .info {
        padding: 1.2em 0.7em;
    }
} 