/* ==========================================
   AVERAGE CALCULATOR - NON-CRITICAL CSS
   ========================================== */

/* Hover States */
.number-input:hover { border-color: #cbd5e1; }

/* Focus Transitions */
.number-input { transition: all 0.2s ease; }

/* Primary Result Transitions */
.primary-result { transition: all 0.3s ease; }

/* ==========================================
   COMPACT METRICS LIST (Secondary Stats)
   ========================================== */
.metrics-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 0;
    margin-bottom: 20px; 
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.metric-card { 
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    animation: fadeIn 0.3s ease;
}

/* Remove bottom border on last row items */
.metric-card:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Alternate border for odd items to create column divider effect */
.metric-card:nth-child(odd) {
    border-right: 1px solid #f1f5f9;
}

.metric-label { 
    font-size: 0.6875rem; 
    font-weight: 600; 
    color: #94a3b8; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    margin-bottom: 2px; 
}

.metric-value { 
    font-size: 0.9375rem; 
    font-weight: 700; 
    color: #334155; 
    line-height: 1.3;
}

.metric-note { 
    font-size: 0.625rem; 
    color: #94a3b8; 
    margin-top: 2px; 
    font-style: italic; 
    line-height: 1.3;
}

/* Steps Box Animation */
.steps-box { animation: slideIn 0.3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* Fade In Animation */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .number-input { min-height: 150px; font-size: 0.9375rem; }
    .metrics-grid { grid-template-columns: 1fr; }
    .metric-card:nth-child(odd) { border-right: none; }
    .metric-card { border-bottom: 1px solid #f1f5f9; }
    .metric-card:last-child { border-bottom: none; }
}