/* ============================================================ */
/* Diagnostic Assessments Section Styles                        */
/* ============================================================ */

/* Section container */
.diagnostic-section {
    background-color: #f8f9fa;
    border-top: 3px solid #2c3e50;
    margin-top: 2rem;
}

.diagnostic-section-title {
    font-family: 'Homenaje', sans-serif;
    color: #2c3e50;
    font-size: 1.8rem;
}

.diagnostic-section-title i {
    color: #3498db;
}

/* Diagnostic Cards */
.diagnostic-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.diagnostic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

.diagnostic-icon {
    font-size: 1.4rem;
    color: #3498db;
}

.diagnostic-card .card-title {
    font-family: 'Homenaje', sans-serif;
    font-size: 1.1rem;
}

/* Threshold progress bar */
.diagnostic-threshold-bar .progress {
    background-color: #e9ecef;
    border-radius: 10px;
}

.diagnostic-threshold-bar small {
    font-size: 0.75em;
}

/* Diagnostic button */
.btn-diagnostic {
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-family: 'Homenaje', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.btn-diagnostic:hover {
    background-color: #1a252f;
    color: #ffffff;
}

.btn-diagnostic i {
    margin-right: 4px;
}

/* Login teaser button */
.btn-diagnostic-login {
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 30px;
    font-family: 'Homenaje', sans-serif;
    font-size: 1.1rem;
    transition: background-color 0.2s ease;
}

.btn-diagnostic-login:hover {
    background-color: #2980b9;
    color: #ffffff;
}

/* Teaser section */
.diagnostic-section-teaser {
    background-color: #f0f4f8;
    border-top: 2px dashed #bdc3c7;
    margin-top: 2rem;
}

/* Diagnostic History Table */
.diagnostic-history-table {
    font-size: 0.95em;
}

.diagnostic-history-table thead th {
    font-family: 'Homenaje', sans-serif;
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    padding: 10px 12px;
}

.diagnostic-history-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.diagnostic-history-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.diagnostic-history-table tbody tr {
    transition: background-color 0.15s ease;
}

.diagnostic-history-table tbody tr:hover {
    background-color: #f8f9fa;
}

.diagnostic-history-table tbody td {
    vertical-align: middle;
    padding: 10px 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diagnostic-section-title {
        font-size: 1.4rem;
    }

    .diagnostic-card .card-title {
        font-size: 1rem;
    }

    .diagnostic-history-table {
        font-size: 0.85em;
    }
}
