/* =====================================
   FORMAN PRO - STYLE FRONT-END CORRIGÉ
===================================== */

.forman-wrapper {
    max-width: 900px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.forman-form {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eaeef2;
}

.forman-field {
    margin-bottom: 20px;
}

.forman-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #334155;
}

.forman-field .required {
    color: #ef4444;
    margin-left: 4px;
}

.forman-field input[type="text"],
.forman-field input[type="email"],
.forman-field input[type="tel"],
.forman-field input[type="number"],
.forman-field input[type="date"],
.forman-field select,
.forman-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s;
    background: #f8fafc;
    box-sizing: border-box;
}

.forman-field input:focus,
.forman-field select:focus,
.forman-field textarea:focus {
    border-color: #4361ee;
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.checkbox-group,
.radio-group {
    background: #f8fafc;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.checkbox-label,
.radio-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    padding: 10px 16px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: pointer;
}

.checkbox-label:hover,
.radio-label:hover {
    border-color: #4361ee;
    background: #f1f5f9;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    accent-color: #4361ee;
}

.forman-submit {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.forman-submit button {
    background: #4361ee;
    color: #ffffff;
    border: none;
    padding: 16px 48px;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.2);
}

.forman-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(67, 97, 238, 0.3);
}

.forman-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c3e6cb;
}

@media (max-width: 768px) {
    .forman-form {
        padding: 25px;
    }
}