/* DSW Screening Checklist Styles */

/* General Form Styling */
.screening-form {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-check-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.form-check-container:hover {
    background-color: #f8f9fa;
}

.form-check-input {
    margin-right: 12px;
    margin-top: 4px;
    flex-shrink: 0;
}

.form-check-label {
    margin-bottom: 0;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}

/* Section Headers */
.section-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
}

.subsection-header {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 6px 6px 0 0;
    margin-bottom: 0;
}

/* Card Styling */
.screening-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.screening-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-label.fw-bold {
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.05em;
}

/* Eligibility Indicators */
.eligibility-indicator {
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 10px;
    border-left: 4px solid;
    background-color: #f8f9fa;
}

.eligibility-indicator.success {
    border-left-color: #28a745;
    background-color: #d4edda;
    color: #155724;
}

.eligibility-indicator.warning {
    border-left-color: #ffc107;
    background-color: #fff3cd;
    color: #856404;
}

.eligibility-indicator.info {
    border-left-color: #17a2b8;
    background-color: #d1ecf1;
    color: #0c5460;
}

/* Button Styling */
.btn-screening {
    padding: 12px 25px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-screening:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-primary.btn-screening {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border: none;
}

.btn-success.btn-screening {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    border: none;
}

.btn-secondary.btn-screening {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    border: none;
}

/* Results Page Styling */
.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.program-card {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.program-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.program-description {
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.eligible {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.ineligible {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f1c3c7;
}

.status-badge.pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #fae7b5;
}

/* Progress Indicators */
.progress-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}

.progress-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.progress-step-content h6 {
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
}

.progress-step-content p {
    margin-bottom: 0;
    color: #6c757d;
    font-size: 0.9em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .form-check-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .form-check-input {
        margin-bottom: 5px;
    }
    
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .results-container {
        padding: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .no-print,
    .btn,
    .modal,
    .collapse,
    button {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
        margin-bottom: 20px;
    }
    
    .card-header {
        background-color: #f8f9fa !important;
        color: #000 !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Accessibility Improvements */
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .form-check-container:hover {
        background-color: #e9ecef;
        border: 1px solid #6c757d;
    }
    
    .card {
        border: 2px solid #000 !important;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}