/* ==========================================================================
   STILI DEDICATI - ANALISI BIOMETEOROLOGICA CANINA
   ========================================================================== */

:root {
    --dog-card-bg: var(--card);
    --dog-text-main: var(--text-main);
    --dog-text-sub: var(--text-dim);
    --dog-border: var(--border);
    
    /* Colori di stato originali */
    --status-green: #10b981;
    --status-yellow: #f1c40f;
    --status-orange: #f39c12;
    --status-red: #e74c3c;
    --status-purple: #9b59b6;
    
    --accent: #10b981; 
}

/* Titoli e Layout */
.main-title { 
    color: var(--accent) !important; 
    font-weight: 800; 
    margin: 0; 
}

.dog-container { width: 100%; max-width: 1200px; margin: 0 auto; text-align: center; }

/* Status Radar Animato */
.radar { height: 10px; width: 10px; border-radius: 50%; display: inline-block; }
.status-ok { background: var(--status-green); box-shadow: 0 0 8px var(--status-green); animation: pulse 2s infinite; }
.status-error { background: var(--status-red); box-shadow: 0 0 8px var(--status-red); }

@keyframes pulse { 
    0% { transform: scale(0.9); opacity: 0.7; } 
    50% { transform: scale(1.2); opacity: 1; } 
    100% { transform: scale(0.9); opacity: 0.7; } 
}

/* Alert e Banner */
#health-alert {
    transition: all 0.5s ease;
}

.section-title { 
    font-size: 1.2rem; 
    font-weight: 700; 
    color: var(--dog-text-main); 
    margin: 40px 0 20px 0; 
    text-align: left; 
    border-left: 4px solid var(--accent); 
    padding-left: 15px; 
}
.section-title.probabilistic { border-left-color: var(--status-purple); }

/* Grid e Card */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }

.card { 
    background: var(--dog-card-bg); 
    border-radius: 20px; 
    padding: 25px 15px; 
    border: 1px solid var(--dog-border); 
    min-height: 180px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    transition: all 0.4s ease;
}

.card .label { 
    font-size: 0.75rem; 
    font-weight: 700; 
    color: var(--dog-text-sub); 
    text-transform: uppercase; 
    margin-bottom: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
}

.label i {
    font-size: 1.2rem !important;
    width: 20px;
    text-align: center;
    display: inline-block;
}

.card .value { font-size: 3.2rem; font-weight: 800; line-height: 1; margin-bottom: 10px; color: var(--dog-text-main); }
.card .desc { font-size: 0.8rem; color: var(--dog-text-sub); line-height: 1.4; margin: 0 auto; max-width: 450px; text-align: center; }

/* Info Box e Storico */
.info-box { 
    margin: 30px 0; 
    padding: 25px; 
    background: var(--dog-card-bg); 
    border: 1px solid var(--dog-border); 
    border-radius: 16px; 
    text-align: left; 
    font-size: 0.9rem; 
    color: var(--dog-text-main); 
    line-height: 1.6; 
}



/* Mobile Responsiveness */
@media (max-width: 900px) { 
    .grid { grid-template-columns: 1fr; } 
}