/* financialHealthScoring.css */
/* Comprehensive Financial Health Scoring Styles */

.fhs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Header Section */
.fhs-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.fhs-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.fhs-title-section {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.fhs-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fhs-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

/* Overall Health Dashboard */
.fhs-overall-dashboard {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.fhs-health-gauge {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fhs-gauge-container {
    position: relative;
    width: 200px;
    height: 200px;
}

.fhs-gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.fhs-gauge-score {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fhs-gauge-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 4px;
    font-weight: 500;
}

.fhs-health-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fhs-health-status {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fhs-status-excellent { color: #10B981; }
.fhs-status-good { color: #22C55E; }
.fhs-status-moderate { color: #F59E0B; }
.fhs-status-weak { color: #EF4444; }
.fhs-status-critical { color: #DC2626; }

.fhs-health-recommendation {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fhs-component-breakdown {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.fhs-component {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.fhs-component:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.fhs-component-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 4px;
}

.fhs-component-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation Tabs */
.fhs-nav-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fhs-nav-tabs::-webkit-scrollbar {
    display: none;
}

.fhs-tab-btn {
    background: none;
    border: none;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.fhs-tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.1), transparent);
    transition: left 0.5s ease;
}

.fhs-tab-btn:hover::before {
    left: 100%;
}

.fhs-tab-btn:hover {
    color: #4f46e5;
    background: rgba(79, 70, 229, 0.05);
}

.fhs-tab-btn.active {
    color: #4f46e5;
    border-bottom-color: #4f46e5;
    background: rgba(79, 70, 229, 0.1);
}

/* Tab Content */
.fhs-tab-content {
    background: white;
    min-height: 600px;
}

.fhs-tab-pane {
    display: none;
    padding: 40px;
    animation: fadeIn 0.5s ease-in-out;
}

.fhs-tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Overview Tab Styles */
.fhs-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.fhs-score-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fhs-score-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fhs-score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

.fhs-score-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.fhs-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.fhs-card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.fhs-card-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fhs-badge-low, .fhs-badge-excellent { background: #dcfce7; color: #166534; }
.fhs-badge-moderate, .fhs-badge-good { background: #fef3c7; color: #92400e; }
.fhs-badge-high, .fhs-badge-weak { background: #fee2e2; color: #991b1b; }

.fhs-card-score {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 8px;
}

.fhs-card-interpretation {
    color: #6b7280;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 500;
}

.fhs-progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.fhs-progress-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 2s ease-out;
}

.fhs-progress-low, .fhs-progress-excellent { background: linear-gradient(90deg, #10b981, #059669); }
.fhs-progress-moderate, .fhs-progress-good { background: linear-gradient(90deg, #f59e0b, #d97706); }
.fhs-progress-high, .fhs-progress-weak { background: linear-gradient(90deg, #ef4444, #dc2626); }

/* Metrics Overview */
.fhs-metrics-overview {
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.fhs-metrics-overview h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 20px 0;
}

.fhs-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.fhs-metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.fhs-metric-item:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.fhs-metric-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.fhs-metric-value {
    font-size: 1.1rem;
    font-weight: 700;
}

.fhs-metric-good { color: #059669; }
.fhs-metric-moderate { color: #d97706; }
.fhs-metric-bad { color: #dc2626; }

/* Trend Chart */
.fhs-trend-chart {
    grid-column: 1 / -1;
    background: white;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.fhs-trend-chart h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 20px 0;
}

/* Altman Tab Styles */
.fhs-altman-container {
    max-width: 1200px;
}

.fhs-altman-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    border: 1px solid #cbd5e1;
}

.fhs-altman-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.fhs-altman-score-display {
    text-align: center;
}

.fhs-altman-score {
    font-size: 4rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
    margin-bottom: 8px;
}

.fhs-altman-status {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

/* Components */
.fhs-altman-components {
    margin-bottom: 40px;
}

.fhs-altman-components h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 24px 0;
}

.fhs-components-chart {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fhs-components-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fhs-components-table table {
    width: 100%;
    border-collapse: collapse;
}

.fhs-components-table th {
    background: #f8fafc;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.fhs-components-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.fhs-components-table tr:hover {
    background: #f9fafb;
}

/* Risk Zones */
.fhs-altman-interpretation h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 24px 0;
}

.fhs-risk-zones {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.fhs-risk-zone {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e5e7eb;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fhs-risk-zone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #e5e7eb;
}

.fhs-zone-safe::before { background: #10b981; }
.fhs-zone-gray::before { background: #f59e0b; }
.fhs-zone-distress::before { background: #ef4444; }

.fhs-risk-zone.active {
    border-color: #4f46e5;
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.15);
    transform: translateY(-4px);
}

.fhs-zone-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}

.fhs-zone-range {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 8px;
}

.fhs-zone-description {
    font-size: 0.85rem;
    color: #9ca3af;
}

.fhs-recommendation {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 20px;
    color: #0c4a6e;
    font-size: 1rem;
    line-height: 1.6;
}

/* Piotroski Tab Styles */
.fhs-piotroski-container {
    max-width: 1200px;
}

.fhs-piotroski-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    padding: 24px;
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border-radius: 16px;
    border: 1px solid #d8b4fe;
}

.fhs-piotroski-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #581c87;
    margin: 0;
}

.fhs-piotroski-score-display {
    text-align: center;
}

.fhs-piotroski-score {
    font-size: 4rem;
    font-weight: 800;
    color: #7c3aed;
    line-height: 1;
}

.fhs-piotroski-percentage {
    font-size: 1.5rem;
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 8px;
}

.fhs-piotroski-status {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

/* Breakdown */
.fhs-piotroski-breakdown {
    margin-bottom: 40px;
}

.fhs-piotroski-breakdown h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 24px 0;
}

.fhs-breakdown-chart {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fhs-breakdown-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fhs-breakdown-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fhs-breakdown-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
}

.fhs-breakdown-score {
    font-size: 2rem;
    font-weight: 800;
    color: #7c3aed;
}

/* Criteria */
.fhs-piotroski-criteria h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 24px 0;
}

.fhs-criteria-groups {
    display: grid;
    gap: 24px;
}

.fhs-criteria-group {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fhs-criteria-group h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
}

.fhs-criteria-list {
    display: grid;
    gap: 12px;
}

.fhs-criteria-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fhs-criteria-item.pass {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.fhs-criteria-item.fail {
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.fhs-criteria-icon {
    font-size: 1.2rem;
}

.fhs-criteria-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
}

/* Metrics Tab Styles */
.fhs-metrics-container {
    display: grid;
    gap: 40px;
}

.fhs-metrics-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.fhs-metrics-category {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fhs-metrics-category h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.fhs-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fhs-metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.fhs-metric-row:last-child {
    border-bottom: none;
}

.fhs-metric-name {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

.fhs-metric-value {
    font-size: 1rem;
    font-weight: 700;
}

.fhs-metrics-visualization {
    grid-column: 1 / -1;
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.fhs-metrics-visualization h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 20px 0;
}

/* Insights Tab Styles */
.fhs-insights-container {
    max-width: 1000px;
}

.fhs-insights-summary {
    background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #d8b4fe;
}

.fhs-insights-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #581c87;
    margin: 0 0 12px 0;
}

.fhs-insights-summary p {
    color: #7c2d92;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.fhs-no-insights {
    text-align: center;
    padding: 60px 20px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.fhs-no-insights h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #166534;
    margin: 0 0 16px 0;
}

.fhs-no-insights p {
    font-size: 1.1rem;
    color: #15803d;
    line-height: 1.6;
    margin: 0;
}

.fhs-insights-category {
    margin-bottom: 32px;
}

.fhs-insights-category h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.fhs-insights-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fhs-insight-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.fhs-insight-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.fhs-severity-high {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.fhs-severity-medium {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
}

.fhs-severity-positive {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.fhs-insight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.fhs-insight-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.fhs-insight-priority {
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.fhs-insight-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.fhs-insight-recommendation {
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
    background: rgba(79, 70, 229, 0.05);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(79, 70, 229, 0.1);
}

/* Error State */
.fhs-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    color: #991b1b;
    font-size: 1rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fhs-overall-dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .fhs-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .fhs-metrics-categories {
        grid-template-columns: 1fr;
    }
    
    .fhs-risk-zones {
        grid-template-columns: 1fr;
    }
    
    .fhs-breakdown-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .fhs-container {
        margin: 10px;
        border-radius: 12px;
    }
    
    .fhs-header {
        padding: 24px 20px;
    }
    
    .fhs-title {
        font-size: 2rem;
    }
    
    .fhs-tab-pane {
        padding: 20px;
    }
    
    .fhs-altman-header,
    .fhs-piotroski-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .fhs-component-breakdown {
        grid-template-columns: 1fr;
    }
    
    .fhs-metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .fhs-gauge-score {
        font-size: 2.5rem;
    }
    
    .fhs-altman-score,
    .fhs-piotroski-score {
        font-size: 3rem;
    }
}

/* Animation Classes */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(79, 70, 229, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.6);
    }
}

.fhs-score-card:hover {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .fhs-container {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    }
    
    .fhs-tab-content,
    .fhs-score-card,
    .fhs-metrics-overview,
    .fhs-trend-chart,
    .fhs-components-chart,
    .fhs-components-table,
    .fhs-risk-zone,
    .fhs-breakdown-chart,
    .fhs-breakdown-item,
    .fhs-criteria-group,
    .fhs-metrics-category,
    .fhs-metrics-visualization,
    .fhs-insight-item {
        background: #1f2937;
        border-color: #374151;
        color: #f9fafb;
    }
    
    .fhs-tab-btn {
        color: #d1d5db;
    }
    
    .fhs-tab-btn.active,
    .fhs-tab-btn:hover {
        color: #60a5fa;
    }
}

/* Print Styles */
@media print {
    .fhs-container {
        background: white !important;
        box-shadow: none !important;
    }
    
    .fhs-nav-tabs {
        display: none;
    }
    
    .fhs-tab-pane {
        display: block !important;
        page-break-inside: avoid;
    }
}