body {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 15px;
}

h1 {
    text-align: center;
}

.update {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.card h2 {
    margin-top: 0;
}

.big {
    font-size: 2.2em;
    font-weight: bold;
}

.row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.row:last-child {
    border-bottom: none;
}

.socbar {
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 20px;
}

.soc-green {
    background: #4CAF50;
}

.soc-yellow {
    background: #ffc107;
}

.soc-red {
    background: #dc3545;
}

.progressbar {
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
    height: 12px;
    margin-top: 8px;
}

.progressfill {
    height: 100%;
    width: 0%;
    background: #4CAF50;
}

.float {
     
    color: #155724;
}

.absorption {

    color: #856404;
}

.bulk {

    color: #084298;
}

.off {

    color: #41464b;
}

.fault {

    color: #842029;
}


#mpptStatus {
    text-transform: uppercase;
}

.no-border {
    border-bottom: none !important;
}

.explorer-link {
    text-decoration: none;
    color: #666;
    display: block;
    font-size: 0.8em;
    margin-top: 8px;
}

.explorer-link:hover {
    color: #333;
}

.country-flag {
    width: 16px;
    height: 12px;
    object-fit: cover;
    margin-right: 4px;
    vertical-align: middle;
}
