/* ==========================================================================
   LEAD CONVERT - STYLE GÉNÉRAL (FRONT & ADMIN)
   ========================================================================== */

/* --- 1. LE FORMULAIRE DE QUALIFICATION (FRONT-END) --- */
#qualif-container {
    max-width: 650px;
    margin: 40px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
}

#qualif-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05), 0 20px 48px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

#qualif-form h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
    text-align: center;
    letter-spacing: -0.5px;
}

/* Grille pour les lignes de formulaire */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#qualif-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    transition: color 0.2s;
}

#qualif-form input, 
#qualif-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    background: #f8fafc;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

#qualif-form input:focus {
    outline: none;
    border-color: #3182ce;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

/* Bouton Professionnel */
#submit-btn {
    width: 100%;
    padding: 16px;
    background: #f03b01;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 15px;
    transition: transform 0.1s, background 0.2s;
    box-shadow: 0 4px 6px rgba(49, 130, 206, 0.2);
}

#submit-btn:hover {
    background: #f03b01;
    transform: translateY(-1px);
}

#submit-btn:active {
    background: #f03b01;
    transform: translateY(0);
}

#submit-btn:disabled {
    background: #f03b01;
    cursor: not-allowed;
    transform: none;
}

/* Messages de retour */
#qualif-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

#qualif-message.success { background: #f0fff4; color: #2f855a; border: 1px solid #c6f6d5; }
#qualif-message.error { background: #fff5f5; color: #c53030; border: 1px solid #fed7d7; }


/* --- 2. INTERFACE ADMINISTRATION (BACK-END)  --- */

.lc-admin-card {
    margin-top: 20px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.lc-admin-card:hover {
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.lc-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    cursor: default;
}

.lc-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.wp-list-table th, .wp-list-table td {
    padding: 12px 15px;
    vertical-align: middle;
}

.wp-list-table tr:nth-child(even) {
    background-color: #f3f4f6;

.wp-list-table tr:hover {
    background-color: #e5e7eb;
}

.lc-status-change {
    padding: 4px 10px !important;
    height: 32px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    background: #f7fafc;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.lc-status-change:hover {
    border-color: #3182ce;
    background: #fff;
}

/* Bouton Export CSV */
.button-primary.export-btn {
    background: #38a169 !important;
    border-color: #2f855a !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 8px 16px !important;
    transition: all 0.2s ease;
}

.button-primary.export-btn:hover {
    background: #2f855a !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .wp-list-table, .wp-list-table th, .wp-list-table td {
        font-size: 13px;
    }

    .lc-status-change {
        font-size: 12px !important;
        height: 28px !important;
    }
}

/* --- 3. RESPONSIVE --- */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    #qualif-form {
        padding: 25px;
    }
    
    #qualif-form h3 {
        font-size: 20px;
    }
}
