/* Additional styles for Employee Application Form */

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #04ab7b;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.all-days-checkbox {
    background-color: #e6fffa;
    border: 2px solid #04ab7b;
    padding: 0.75rem !important;
    margin-bottom: 0.5rem;
}

.all-days-checkbox:hover {
    background-color: #b2f5ea;
}

.days-separator {
    height: 1px;
    background-color: #cbd5e0;
    margin: 0.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.checkbox-label:hover {
    background-color: #edf2f7;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #04ab7b;
}

.checkbox-label span {
    font-size: 1rem;
    color: #2d3748;
}

.consent-checkbox {
    padding: 1rem;
    background-color: #fffaf0;
    border: 2px solid #ffa500;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.consent-checkbox:hover {
    background-color: #fff5e6;
}

.consent-section {
    background-color: #fffbf5;
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
}

.consent-group {
    margin-bottom: 1.25rem;
}

.consent-group:last-child {
    margin-bottom: 0;
}

.consent-group.has-error .consent-checkbox {
    background-color: #fee2e2;
    border-color: #dc2626;
    animation: shake 0.5s;
}

.consent-validation {
    display: block;
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    background-color: #fee2e2;
    border: 2px solid #dc2626;
    border-radius: 8px;
    color: #991b1b;
    font-weight: 600;
    font-size: 0.95rem;
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.required-consent {
    font-weight: 500;
    color: #1a202c;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background-color: #f7fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.radio-label:hover {
    background-color: #edf2f7;
}

.radio-label input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
    accent-color: #04ab7b;
}

.radio-label span {
    font-size: 1rem;
    color: #2d3748;
}

.conditional-field {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fffaf0;
    border-left: 4px solid #04ab7b;
    border-radius: 4px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.25rem;
    }

    .subsection-title {
        font-size: 1rem;
    }

    .checkbox-group,
    .radio-group {
        padding: 0.75rem;
    }
}

/* Work Authorization Section */
.work-authorization-group {
    background-color: #f0f9ff;
    border: 2px solid #0284c7;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.work-authorization-group .form-label {
    color: #0c4a6e;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.work-authorization-group .radio-group {
    background-color: #ffffff;
    border: 1px solid #bae6fd;
}

.work-authorization-group .radio-label:hover {
    background-color: #e0f2fe;
}

/* Submit button loading state */
.submit-button {
    position: relative;
    transition: all 0.2s ease;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-button .spinner-border {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

.submit-button:active:not(:disabled) {
    transform: scale(0.98);
}

/* App Footer */
.app-footer {
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: 2rem;
    border-top: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0 0 12px 12px;
}

.app-footer p {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.app-footer strong {
    color: #04ab7b;
    font-weight: 600;
    transition: color 0.3s ease;
}

.app-footer:hover strong {
    color: #028a61;
}




