/* BMI Calculator Premium Styles */
.bmi-calculator-premium-container {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .glass-panel {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bmi-calculator-premium-container .form-control {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    font-weight: 600;
    border-radius: 12px;
}

.bmi-calculator-premium-container .input-group-text {
    font-weight: 700;
    font-size: 0.9rem;
    background: #f1f5f9;
    border: none;
    padding-left: 1rem;
    padding-right: 1rem;
}

.bmi-calculator-premium-container .form-label {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    color: #64748b;
}

.bmi-gauge-container {
    height: 12px;
    background: #e2e8f0;
    border-radius: 99px;
    position: relative;
    overflow: visible;
    /* Allow needle to overflow */
    margin: 2.5rem 0;
}

.gauge-segment {
    height: 100%;
    float: left;
}

.gauge-segment:first-child {
    border-top-left-radius: 99px;
    border-bottom-left-radius: 99px;
}

.gauge-segment:last-child {
    border-top-right-radius: 99px;
    border-bottom-right-radius: 99px;
}

.gauge-under {
    background: #38bdf8;
    width: 14%;
}

.gauge-normal {
    background: #10b981;
    width: 26%;
}

.gauge-over {
    background: #f59e0b;
    width: 20%;
}

.gauge-obese {
    background: #ef4444;
    width: 40%;
}

.gauge-needle {
    position: absolute;
    top: -12px;
    height: 36px;
    width: 6px;
    background: #000;
    border: 2px solid #fff;
    border-radius: 3px;
    transition: left 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .gauge-needle {
    background: #fff;
    border-color: #000;
}

.status-badge {
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.status-underweight {
    background: #e0f2fe;
    color: #0369a1;
}

.status-normal {
    background: #dcfce7;
    color: #15803d;
}

.status-overweight {
    background: #fef3c7;
    color: #92400e;
}

.status-obese {
    background: #fee2e2;
    color: #b91c1c;
}

.result-card {
    transition: all 0.4s ease;
}

.result-card.updated {
    transform: scale(1.02);
}