/* Custom styles for BDI-II System */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: var(--primary-color);
    color: white;
}

footer {
    margin-top: auto;
}

/* Dashboard widgets */
.dashboard-widget {
    text-align: center;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.dashboard-widget h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Tables */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Forms */
.form-label {
    font-weight: 500;
}

/* Test interface */
.question-container {
    min-height: 300px;
}

.progress-container {
    margin-bottom: 2rem;
}

.answer-option {
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.answer-option:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-color);
}

.answer-option input[type="radio"]:checked + label {
    background-color: #e7f1ff;
    border-color: var(--primary-color);
}

/* Results visualization */
.depression-level {
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
}

.depression-minimal {
    background-color: #d4edda;
    color: #155724;
}

.depression-mild {
    background-color: #fff3cd;
    color: #856404;
}

.depression-moderate {
    background-color: #f8d7da;
    color: #721c24;
}

.depression-severe {
    background-color: #f5c6cb;
    color: #721c24;
}

/* Loading spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Print styles */
@media print {
    .navbar, footer, .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
}