/*
    ABD LUXURY | EXECUTIVE ORBITAL METERS
    Ultra-precise alignment and centered typography.
*/

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 1rem 0.5rem;
    width: 100%;
}

.meter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* The Radial Ring Base */
.radial-gauge {
    position: relative;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #111418 0%, #050505 100%);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Glowing Arc */
.gauge-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95px;
    height: 95px;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.gauge-track {
    fill: none;
    stroke: rgba(255,255,255,0.05);
    stroke-width: 4;
}

.gauge-fill {
    fill: none;
    stroke: var(--meter-color);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 282.7; /* 2 * PI * 45 */
    stroke-dashoffset: var(--dash-offset);
    transition: stroke-dashoffset 1.5s ease;
    filter: drop-shadow(0 0 5px var(--meter-color));
}

/* Content Centering */
.gauge-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.gauge-value {
    font-size: 15px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1;
}

.gauge-percent {
    font-size: 6px;
    font-weight: 800;
    color: var(--meter-color);
    letter-spacing: 0.1em;
    margin-top: 2px;
    text-transform: uppercase;
}

/* External Labels */
.gauge-label {
    margin-top: 10px;
    font-size: 7px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #64748B;
}

.gauge-glass {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Meter Identity Colors */
.meter-income { --meter-color: #00FF94; }
.meter-expense { --meter-color: #FFB800; }
.meter-debt { --meter-color: #FF3D00; }
