:root {
    /* Modern Premium Dark Theme Palette */
    --bg-body: #0B1120;
    /* Deep rich blue-black */
    --bg-card: #162032;
    /* Slightly lighter card background */
    --bg-row: #1E293B;
    /* Inner element surface */

    --text-white: #F8FAFC;
    /* High contrast text */
    --text-muted: #94A3B8;
    /* Muted text */

    --border-card: rgba(255, 255, 255, 0.08);
    /* Subtle border */

    /* Spacing & Sizing */
    --card-radius: 16px;
    --row-radius: 12px;
    /* Slightly tighter radius for rows */
    --spacing-unit: 1rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-white);
    min-height: 100vh;
    padding: 2rem;
}

/* Header */
.dashboard-header {
    max-width: 1400px;
    margin: 0 auto 2rem auto;
    padding-left: 0.5rem;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-white);
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Card Styles */
.equipment-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--card-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-header {
    margin-bottom: 0.5rem;
}

.equipment-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.details-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Phase Rows */
.phase-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-row);
    border-radius: var(--row-radius);
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.phase-info {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.phase-letter {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.phase-text {
    font-size: 0.75rem;
    color: var(--text-white);
    opacity: 0.8;
}

.value-info {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.current-value {
    font-size: 1.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text-white);
}

.unit {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
        /* Full width stacked on mobile */
    }
}