/*
 Theme Name:   Divi Child
 Theme URI:    https://bouleetbilles.net/
 Description:  Divi Child Theme for Boule et Billes
 Author:       Boule et Billes
 Author URI:   https://bouleetbilles.net/
 Template:     Divi
 Version:      1.0.0
 Text Domain:  divi-child
*/

/* ─── Ninja Forms — match Divi design ───────────────────────────────────────
   Primary color: #009dd3 (teal) — matches --gcid-primary-color site-wide.
   Targets: inputs, textarea, submit button. Scoped to .nf-form-content
   so it does not bleed into admin or other plugins.
   ─────────────────────────────────────────────────────────────────────────── */

.nf-form-content input[type="text"],
.nf-form-content input[type="email"],
.nf-form-content input[type="tel"],
.nf-form-content input[type="number"],
.nf-form-content input[type="url"],
.nf-form-content textarea {
    border: 1px solid #d0d0d0 !important;
    border-radius: 4px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    color: #4c4c4c !important;
    background: #ffffff !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.nf-form-content input[type="text"]:focus,
.nf-form-content input[type="email"]:focus,
.nf-form-content input[type="tel"]:focus,
.nf-form-content input[type="number"]:focus,
.nf-form-content input[type="url"]:focus,
.nf-form-content textarea:focus {
    border-color: #009dd3 !important;
    outline: none !important;
}

/* Submit button */
.nf-form-content input[type="submit"],
.nf-form-content button[type="submit"],
.nf-form-content .submit-wrap input,
.nf-form-content .submit-wrap button {
    background-color: #009dd3 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
    display: inline-block !important;
    line-height: 1.4 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.nf-form-content input[type="submit"]:hover,
.nf-form-content button[type="submit"]:hover,
.nf-form-content .submit-wrap input:hover,
.nf-form-content .submit-wrap button:hover {
    background-color: #007fb0 !important;
}

/* Field labels */
.nf-form-content label,
.nf-form-content .field-wrap label {
    font-weight: 700 !important;
    color: #424242 !important;
    font-size: 14px !important;
}

/* Required asterisk */
.nf-form-content .ninja-forms-req-symbol {
    color: #cc0000 !important;
}
