/* ============================================================
   Styles du formulaire KBZ External Lead Generation
   ============================================================ */

.kbz-elg-form {
    width: 100%;
    margin: 20px auto;
    /*
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #ffffff73;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-family: Arial, sans-serif;*/
}

.kbz-elg-form h2 {
    margin-top: 0;
}

.kbz-elg-field {
    margin-bottom: 15px;
}

.kbz-elg-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.kbz-elg-field input,
.kbz-elg-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    box-sizing: border-box;
}

.kbz-elg-field textarea {
    resize: vertical;
}

#kbz-elg-submit {
    /*
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;*/
}

#kbz-elg-submit:hover {
    /*background: #005f8d;*/
}

#kbz-elg-success,
#kbz-elg-error {
    margin-top: 20px;
    padding: 15px;
    border-radius: 1rem;
    display: none;
    font-size: 15px;
}

#kbz-elg-success {
    background: #fff;
    border: 1px solid #010101;
    color: #010101;
}

#kbz-elg-error {
    background: #fff;
    border: 1px solid #a50000;
    color: #a50000;
}

/* Loader circulaire minimal */
.kbz-elg-loader {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    margin-left: 10px;
    animation: kbz-spin 0.7s linear infinite;
}

@keyframes kbz-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bouton désactivé */
#kbz-elg-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}
