/* General Styles for the Form */
.acfe-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

/* Tabs */

.acf-fields>.acf-tab-wrap .acf-tab-group li a {
    background: #3676ed;
    border-color: #fff;
    color: #fff;
}

.acf-fields>.acf-tab-wrap .acf-tab-group li a:hover {
    background: #376bcb;
}

.acf-fields>.acf-tab-wrap .acf-tab-group li.active a,
.acf-fields>.acf-tab-wrap .acf-tab-group li.active a:hover {
    background: #fff;
    border-color: #0073aa;
    color: #000;
}

@media (max-width: 768px) {
    .acf-tab-wrap .acf-hl {
        flex-direction: column;
    }

    .acf-tab-wrap .acf-tab-group li {
        width: 100%;
    }
}

/* Labels */
.acfe-form .acf-label {
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

/* Input Fields */
.acfe-form .acf-input input[type="text"],
.acfe-form .acf-input input[type="email"],
.acfe-form .acf-input input[type="number"],
.acfe-form .acf-input input[type="url"],
.acfe-form .acf-input textarea,
.acfe-form .acf-input select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
    margin-bottom: 20px;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.acfe-form .acf-input input:focus,
.acfe-form .acf-input textarea:focus,
.acfe-form .acf-input select:focus {
    border-color: #0073aa;
    outline: none;
    background: #ffffff;
}

/* Textarea */
.acfe-form .acf-input textarea {
    resize: vertical;
}

/* Checkbox and Radio Buttons */
.acfe-form .acf-input input[type="checkbox"],
.acfe-form .acf-input input[type="radio"] {
    margin-right: 10px;
}

.acfe-form .acf-checkbox-list label,
.acfe-form .acf-radio-list label {
    font-size: 14px;
    color: #333;
}

label:has(> input[type="radio"][value="se"]) {
    display: none;
}

/* Submit Button */
.acfe-form input[type="submit"] {
    display: inline-block;
    background: #0073aa;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.acfe-form input[type="submit"]:hover {
    background: #005a87;
    transform: translateY(-2px);
}

/* Error Messages */
.acfe-form .acf-notice.-error {
    color: #d32f2f;
    background: #fbe9e7;
    border: 1px solid #f44336;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Success Messages */
.acfe-form .acf-notice.-success {
    color: #388e3c;
    background: #e8f5e9;
    border: 1px solid #4caf50;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .acfe-form {
        padding: 15px;
    }

    .acfe-form .acf-label {
        font-size: 12px;
    }

    .acfe-form .acf-input input[type="text"],
    .acfe-form .acf-input input[type="email"],
    .acfe-form .acf-input input[type="number"],
    .acfe-form .acf-input input[type="url"],
    .acfe-form .acf-input textarea,
    .acfe-form .acf-input select {
        font-size: 12px;
    }

    .acfe-form input[type="submit"] {
        font-size: 14px;
        padding: 8px 16px;
    }
}
