.hf-overall {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 20px;
    margin-bottom: 30px;
}

.hf-overall.critical {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.1));
}

.hf-overall.high {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(234, 88, 12, 0.1));
}

.hf-overall.moderate {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
}

.hf-overall.low {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(22, 163, 74, 0.1));
}

.hf-pattern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.hf-pattern h3 {
    margin: 0 0 15px 0;
    color: var(--text-primary);
    font-size: 18px;
}

.hf-pattern p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.issue-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 10px;
    border-left: 4px solid transparent;
}

.issue-item.critical {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.issue-item.high {
    border-left-color: #f97316;
    background: rgba(249, 115, 22, 0.1);
}

.issue-item.moderate {
    border-left-color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.issue-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.issue-info {
    flex: 1;
}

.issue-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.issue-score {
    font-size: 13px;
    color: var(--text-secondary);
}

.hf-chart {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.hf-chart h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 18px;
}

.hf-bar-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hf-bar-label {
    width: 100px;
    font-size: 14px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.hf-bar-track {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    margin: 0 15px;
}

.hf-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.hf-bar-fill.critical {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.hf-bar-fill.high {
    background: linear-gradient(90deg, #f97316, #ea580c);
}

.hf-bar-fill.medium {
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.hf-bar-fill.low {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.hf-bar-value {
    width: 50px;
    text-align: right;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.hf-dimensions {
    margin-bottom: 30px;
}

.hf-dimension-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid transparent;
    transition: transform 0.2s ease;
}

.hf-dimension-card:hover {
    transform: translateX(5px);
}

.hf-dimension-card.critical {
    border-left-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.hf-dimension-card.high {
    border-left-color: #f97316;
    background: rgba(249, 115, 22, 0.05);
}

.hf-dimension-card.medium {
    border-left-color: #fbbf24;
    background: rgba(251, 191, 36, 0.05);
}

.hf-dimension-card.low {
    border-left-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.dimension-score-bar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.dimension-score-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.dimension-score-info h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 18px;
}

.dimension-score-info span {
    font-size: 12px;
    color: var(--text-secondary);
}

.dimension-level-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.dimension-score-display {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.dimension-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.dimension-causes {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.dimension-causes h5 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 14px;
}

.dimension-causes ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.dimension-causes li {
    margin-bottom: 5px;
}

.dimension-suggestions {
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    padding: 15px;
}

.dimension-suggestions h5 {
    margin: 0 0 10px 0;
    color: #22c55e;
    font-size: 14px;
}

.dimension-suggestions ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.dimension-suggestions li {
    margin-bottom: 5px;
}

.hf-suggestions {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.hf-suggestions h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 18px;
}

.hf-coping {
    margin-bottom: 30px;
}

.hf-coping h3 {
    margin: 0 0 20px 0;
    color: var(--text-primary);
    font-size: 18px;
}

.coping-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.coping-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.coping-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.coping-card h4 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 18px;
}

.coping-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.coping-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.coping-duration,
.coping-frequency {
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 8px;
}

.coping-steps {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
}

.coping-steps h5 {
    margin: 0 0 10px 0;
    color: var(--text-primary);
    font-size: 14px;
}

.coping-steps ol {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.coping-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.hf-warnings {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.hf-warnings h3 {
    margin: 0 0 20px 0;
    color: #ef4444;
    font-size: 18px;
}

.warnings-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.warning-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.warning-item.critical {
    background: rgba(239, 68, 68, 0.15);
}

.warning-icon {
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.warning-content h4 {
    margin: 0 0 5px 0;
    color: var(--text-primary);
    font-size: 16px;
}

.warning-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

@media (max-width: 768px) {
    .hf-bar-label {
        width: 80px;
        font-size: 12px;
    }
    
    .hf-bar-value {
        width: 40px;
        font-size: 12px;
    }
    
    .dimension-score-bar {
        flex-wrap: wrap;
    }
    
    .coping-details {
        flex-direction: column;
        gap: 10px;
    }
}
