/* Base Container */
.zero-vat-container {
    direction: rtl;
    max-width: 900px;
    margin: 40px auto;
    background-color: #ffffff;
    font-family: 'David', Arial, sans-serif;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
}

/* Section Headers */
.zerovat-section-header {
    background-color: #e3e8ed;
    color: #2c3e50;
    padding: 15px;
    
    font-size: 24px;
    border-right: 4px solid #705906;
    margin-top: 40px;
    margin-bottom: 40px;
    border-radius: 4px;
}

/* Form Groups */
.Zerovat-form-group {
    background-color: #f9fafb;
    padding: 50px;
    margin-bottom: 20px;
    margin-top: 20px;
    
    border: 1px solid #d0d7de;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .Zerovat-form-group {
        padding: 15px;
    }
}



/* Question Headers */
.question-header {
    color: #3f5672;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.required-field::after {
    content: ' *';
    color: #c0392b;
}

/* Notes */
.section-note {
    background-color: #eef1f5;
    border-right: 2px solid #219294 !important;
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 15px;
    color: #34495e;
}

/* Radio and Checkbox Groups */
.zerovat-radio-group, .zerovat-checkbox-group {
    border: 1px solid #ccd1d9;
    border-radius: 8px;
    padding: 5px 10px;
    background-color: #f5f7fa;
}

/* Radio and Checkbox Options */
.radio-option, .checkbox-option {
    display: flex;
    align-items: flex-start;
    padding: 8px 10px;
    border-bottom: 1px solid #e1e4e8;
}

.radio-option:last-child, .checkbox-option:last-child {
    border-bottom: none;
}

.radio-option input[type="radio"],
.checkbox-option input[type="checkbox"] {
    margin: 3px 0 0 12px;
    width: 18px;
    height: 18px;
}

.radio-option label, .checkbox-option label {
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

/* Select Inputs */
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccd1d9;
    border-radius: 6px;
    font-size: 16px;
    margin-top: 8px;
    background-color: #ffffff;
}




label[for="service_condition_3"],
label[for="special_service_7"],
label[for="recipient_7"],
label[for="special_case_5"]
{
    color: #B32302!important;
    font-weight: bold !important;
}



/* Submit Button */
.submit-button {
    background-color: #3f5672;
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    display: block;
    margin: 30px auto;
    max-width: 300px;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #2c3e50;
}

/* States */
.radio-option:hover,
.checkbox-option:hover {
    background-color: #f0f3f6;
}

.radio-option input:checked + label,
.checkbox-option input:checked + label {
    color: #3f5672;
    font-weight: bold;
}

/* Helper Text */
.helper-text {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Error Message */
.error-message {
    color: #e74c3c;
    margin-top: 5px;
    font-size: 14px;
}


/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    direction: rtl;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: 'David', 'Arial', sans-serif;
}

.popup-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
}

.popup-title {
    color: #1e3a8a;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.popup-result {
    margin-bottom: 20px;
}

.popup-note {
    background: #fff7ed;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.popup-disclaimer {
    font-size: 14px;
    color: #64748b;
    margin: 20px 0;
    padding: 10px;
    border-top: 1px solid #e5e7eb;
}

.popup-actions {
    text-align: center;
    margin-top: 20px;
}

.new-check-button {
    background: #1e40af;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.new-check-button:hover {
    background: #1e3a8a;
}