/* Health Analyzer Specific Styles */

.disclaimer-banner {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fcd34d;
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

.disclaimer-banner i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.health-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.health-section h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.input-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

.dashboard-title {
    margin-top: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

/* Gauges */
.gauges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gauge-card {
    background: rgba(0,0,0,0.3);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.gauge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.gauge-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gauge-val {
    font-weight: 700;
    font-size: 1.2rem;
}

.gauge-status {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.status-optimal { color: #22c55e; background: rgba(34, 197, 94, 0.1); }
.status-borderline { color: #f59e0b; background: rgba(245, 158, 11, 0.1); }
.status-high { color: #f43f5e; background: rgba(244, 63, 94, 0.1); }
.status-low { color: #3b82f6; background: rgba(59, 130, 246, 0.1); }

/* Suggestions */
.suggestions-panel {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.suggestions-panel h3 {
    margin-top: 0;
    color: #22c55e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suggestions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggestions-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.5;
}

.suggestions-list li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #22c55e;
}

.suggestions-list li:last-child {
    margin-bottom: 0;
}

.suggestions-list li.warn-item::before {
    content: '\f071';
    color: #f59e0b;
}

.suggestions-list li.alert-item::before {
    content: '\f06a';
    color: #f43f5e;
}

/* Analysis Categories */
.analysis-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.2);
}

.analysis-category h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.analysis-category li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.4;
    font-size: 0.95rem;
}

.analysis-category li:last-child {
    margin-bottom: 0;
}

.analysis-category li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
}

.good-category {
    border-left: 4px solid #22c55e;
}
.good-category h4 { color: #22c55e; }
.good-category li::before {
    content: '\f00c';
    color: #22c55e;
}

.borderline-category {
    border-left: 4px solid #f59e0b;
}
.borderline-category h4 { color: #f59e0b; }
.borderline-category li::before {
    content: '\f071';
    color: #f59e0b;
}

.concerning-category {
    border-left: 4px solid #f43f5e;
}
.concerning-category h4 { color: #f43f5e; }
.concerning-category li::before {
    content: '\f06a';
    color: #f43f5e;
}

/* Call to Action Button */
.analyze-cta-btn {
    width: 100%;
    margin-top: 2rem;
    padding: 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.analyze-cta-btn:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

/* Custom Tooltip Dialog */
.hint-dialog {
    position: absolute;
    z-index: 1000;
    width: 250px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: #e2e8f0;
    font-size: 0.85rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(10px);
    backdrop-filter: blur(4px);
}

.hint-dialog.visible {
    opacity: 1;
    transform: translateY(0);
}

.hint-dialog .hint-desc {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.hint-dialog .hint-limit {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.5rem;
    color: #38bdf8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}
