.elementor-6192 .elementor-element.elementor-element-c96fec3{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-1abe1b2 *//* Updated Contact Form 7 CSS with proper table layout */

.wpcf7 {
    font-family: Arial, sans-serif;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    box-sizing: border-box;
}

.wpcf7 * {
    box-sizing: border-box;
}

.wpcf7 .form-container {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.wpcf7 .header {
    text-align: center;
    margin-bottom: 30px;
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
}

.wpcf7 .header h2 {
    margin: 0;
    color: #333;
    font-size: 22px;
    line-height: 1.3;
}

.wpcf7 .service-title {
    font-size: 24px;
    color: #1a4b8c;
    text-align: center;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Parents info section - side by side layout */
.wpcf7 .parents-info {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.wpcf7 .parents-info > div {
    flex: 1;
}

.wpcf7 .form-group {
    margin-bottom: 15px;
}

/* Section styling */
.wpcf7 .form-section {
    margin-bottom: 40px;
}

.wpcf7 .form-section-title {
    font-weight: bold;
    font-size: 18px;
    color: #1a4b8c;
    margin-bottom: 15px;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 8px;
}

/* Label styling */
.wpcf7 label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Input field styling - matching the grayish background */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #c8cdd6; /* Matching the gray background */
    font-size: 14px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: #4a90e2;
    background-color: #e8f0fe;
}

/* Table structure for proper layout */
.wpcf7 .data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    background-color: white;
}

.wpcf7 .data-table th,
.wpcf7 .data-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    vertical-align: middle;
}

.wpcf7 .data-table th {
    background-color: #e8eef7;
    font-weight: bold;
    color: #333;
}

.wpcf7 .data-table .tarif-cell {
    background-color: #e8f4ff;
    font-weight: bold;
    color: #1a4b8c;
    text-align: center;
    font-size: 18px;
    vertical-align: middle;
}

.wpcf7 .data-table td input[type="text"] {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #c8cdd6;
    margin: 0;
    font-size: 14px;
}

.wpcf7 .data-table td input[type="text"]:focus {
    outline: none;
    border-color: #4a90e2;
    background-color: #e8f0fe;
}

/* Submit button styling */
.wpcf7 input[type="submit"] {
    background-color: #4a90e2;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 30px auto;
    display: block;
    min-width: 150px;
    text-transform: uppercase;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #3a7bc8;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* Note styling */
.wpcf7 .note {
    font-style: italic;
    text-align: center;
    margin: 15px 0;
    color: #555;
}

.wpcf7 .footer-note {
    margin-top: 30px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .wpcf7 .parents-info {
        flex-direction: column;
        gap: 0;
    }
    
    .wpcf7 .form-container {
        padding: 15px;
    }
    
    .wpcf7 .header h2 {
        font-size: 18px;
    }
    
    .wpcf7 .service-title {
        font-size: 20px;
    }
    
    /* Mobile table styling */
    .wpcf7 .data-table {
        font-size: 14px;
    }
    
    .wpcf7 .data-table,
    .wpcf7 .data-table thead,
    .wpcf7 .data-table tbody,
    .wpcf7 .data-table th,
    .wpcf7 .data-table td,
    .wpcf7 .data-table tr {
        display: block;
    }
    
    .wpcf7 .data-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .wpcf7 .data-table tr {
        border: 1px solid #ccc;
        margin-bottom: 15px;
        padding: 10px;
        background-color: white;
        border-radius: 4px;
    }
    
    .wpcf7 .data-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50% !important;
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: left;
    }
    
    .wpcf7 .data-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: bold;
        text-align: left;
    }
    
    .wpcf7 .data-table .tarif-cell {
        text-align: center;
        padding-left: 10px !important;
    }
    
    .wpcf7 .data-table .tarif-cell:before {
        content: "Tarif annuel: ";
    }
}

/* Error and success messages */
.wpcf7 .wpcf7-response-output {
    border: 2px solid #00a0d2;
    border-radius: 4px;
    margin: 20px 0;
    padding: 10px;
    background-color: #f0f8ff;
}

.wpcf7 .wpcf7-mail-sent-ok {
    border-color: #46b450;
    background-color: #f0fff0;
    color: #155724;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
    border-color: #dc3232;
    background-color: #fff5f5;
    color: #721c24;
}

/* Validation error styling */
.wpcf7 .wpcf7-not-valid {
    border-color: #dc3232 !important;
    background-color: #fff5f5 !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Loading spinner */
.wpcf7 .ajax-loader {
    visibility: hidden;
    display: inline-block;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"%3E%3Cpath opacity=".25" d="M16 0a16 16 0 0 1 16 16 1 1 0 0 1-2 0 14 14 0 0 0-14-14 1 1 0 0 1 0-2z"/%3E%3C/svg%3E');
    background-size: 16px 16px;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    animation: spin 1s linear infinite;
}

.wpcf7 form.submitting .ajax-loader {
    visibility: visible;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fix for Contact Form 7 default styles override */
.wpcf7 p {
    margin: 0;
}

.wpcf7-form p {
    margin: 0;
}/* End custom CSS */