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

.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-fields {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

/* =====================================
   CHAMPS INDIVIDUELS
===================================== */

.forman-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.forman-field label {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
    letter-spacing: -0.2px;
}

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

/* =====================================
   INPUTS STANDARDS
===================================== */

.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 input[type="time"],
.forman-field input[type="datetime-local"],
.forman-field input[type="url"],
.forman-field select,
.forman-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #f8fafc;
    color: #0f172a;
    box-sizing: border-box;
}

.forman-field input:focus,
.forman-field select:focus,
.forman-field textarea:focus {
    border-color: var(--forman-primary, #2271b1);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.forman-field input::placeholder,
.forman-field textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* =====================================
   CHECKBOXES ET RADIOS
===================================== */

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
}

.checkbox-label,
.radio-label {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer;
    padding: 10px 16px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    margin: 0 !important;
    font-weight: 500 !important;
    color: #334155 !important;
}

.checkbox-label:hover,
.radio-label:hover {
    background: #f1f5f9;
    border-color: var(--forman-primary, #2271b1);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    accent-color: var(--forman-primary, #2271b1);
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-label span,
.radio-label span {
    font-size: 15px;
    line-height: 1.4;
    flex: 1;
}

/* =====================================
   SELECT MULTIPLE
===================================== */

.forman-field select[multiple] {
    height: auto;
    min-height: 120px;
    padding: 8px;
}

.forman-field select[multiple] option {
    padding: 10px 12px;
    margin: 4px 0;
    border-radius: 8px;
    background: #ffffff;
}

.forman-field select[multiple] option:hover {
    background: #e2e8f0;
}

.forman-field select[multiple] option:checked {
    background: var(--forman-primary, #2271b1) !important;
    color: white;
}

/* =====================================
   BOUTON SUBMIT
===================================== */

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

.forman-submit button {
    background: var(--forman-primary, #2271b1);
    color: #ffffff;
    border: none;
    padding: 16px 48px;
    border-radius: 40px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(34, 113, 177, 0.2);
    letter-spacing: 0.3px;
}

.forman-submit button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(34, 113, 177, 0.3);
    background: var(--forman-primary, #2271b1);
    filter: brightness(1.05);
}

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

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {
    .forman-form {
        padding: 25px;
        margin: 20px 15px;
    }
    
    .checkbox-label,
    .radio-label {
        padding: 12px 16px;
    }
    
    .forman-submit button {
        width: 100%;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .forman-form {
        padding: 20px;
    }
    
    .forman-field input[type="text"],
    .forman-field input[type="email"],
    .forman-field input[type="tel"],
    .forman-field select,
    .forman-field textarea {
        padding: 12px 14px;
    }
}