/* Main container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}
.container h2 {
    text-align: center;
    font-size: 32px;      /* adjust to taste */
    font-weight: 700;     /* bold */
    margin-bottom: 25px;
}

/* Horizontal gauge layout */
.gauge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
	margin-top: 35px;
}

/* Each gauge card */
.gauge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
	margin: 0 auto;
}

/* Numeric label styling */
.gauge-value {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
}

/* Critical line */
steelseries-radial {
    display: block;
    width: 280px !important;
    height: 280px !important;
}
h2 {
    text-transform: none;
}
.power-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 30px;
    font-size: 18px;
}

.flow-item {
    text-align: center;
}

.flow-item .icon {
    font-size: 40px;
	font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.flow-item .label {
    font-weight: bold;
    margin-top: 5px;
}

.flow-item .value {
    margin-top: 5px;
    font-size: 20px;
}

.arrow {
    font-size: 30px;
    color: #555;
}
.power-flow {
    padding-bottom: 10px;
}
.energy-summary {
    margin: 25px auto;
    padding: 18px;
    background: #ffffff;
    border-radius: 8px;
    max-width: 700px;
    border: 1px solid #cccccc;
}

.energy-summary h3 {
    text-align: center;
    margin-bottom: 18px;
    color: #333333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.summary-item {
    background: #f5f5f5;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #dddddd;
}

.summary-label {
    display: block;
    font-size: 14px;
    color: #555555;
}

.summary-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #000000;
    margin-top: 4px;
}

/* Flow arrow animation */

.flow-right {
    animation: flowRight 1.5s infinite;
}

.flow-left {
    animation: flowLeft 1.5s infinite;
}

@keyframes flowRight {
    0%   { transform: translateX(0); opacity: 0.4; }
    50%  { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.4; }
}

@keyframes flowLeft {
    0%   { transform: translateX(0); opacity: 0.4; }
    50%  { transform: translateX(-6px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.4; }
}
/* Arrow colours */

.arrow.export { color:#28a745; text-shadow:0 0 6px rgba(40,167,69,0.7); }
.arrow.import { color:#3498db; text-shadow:0 0 6px rgba(52,152,219,0.7); }
.arrow.solar  { color:#f4c542; text-shadow:0 0 6px rgba(244,197,66,0.7); }


/* Daily generation chart */

.solar_curve {
    margin-top: 40px;
    text-align: center;
}

.solar_curve canvas {
    width: 100% !important;
    height: 100% !important;
}
.statusPanel {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    font-size: 14px;
}

.statusItem {
    font-weight: bold;
}

.statusGood {
    color: green;
}

.statusWarn {
    color: red;
}