body {
    margin: 0;
    padding: 20px;
    background: #1e1f25;
    color: #f4f4f4;
    font-family: Arial, Helvetica, sans-serif;
}


h1 {
    margin-bottom: 5px;
}


#last-update {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 25px;
}


#dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(2, 1fr));
    gap: 20px;
}



.farm-card {

    background: #2b2d36;
    border-radius: 12px;
    padding: 20px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.3);

}


.farm-header {

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid #444;
    padding-bottom: 10px;
    margin-bottom: 15px;

}


.farm-name {

    font-size: 22px;
    font-weight: bold;

}


.robot-status {

    display:flex;
    align-items:center;
    gap:10px;

    margin-bottom:15px;

}



.status-dot {

    width:14px;
    height:14px;
    border-radius:50%;

}



.online {
    background:#2ecc71;
}


.offline {
    background:#e74c3c;
}


.warning {
    background:#f1c40f;
}



.robot-name {

    font-size:18px;
    font-weight:bold;

}


.badges {

    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;

}


.badge {

    background:#40434d;
    padding:5px 10px;
    border-radius:20px;
    font-size:13px;

}



.stats {

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;

    margin-top:20px;

}


.stat {

    background:#23252c;
    padding:12px;
    border-radius:8px;

}


.stat-label {

    color:#aaa;
    font-size:13px;

}


.stat-value {

    font-size:22px;
    font-weight:bold;

}



.success {

    color:#2ecc71;

}


.stale {

    color:#f1c40f;

}

.status-dot-small {

    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;

}


.status-dot-small.online {

    background: #2ecc71;

}


.status-dot-small.offline {

    background: #e74c3c;

}


.throughput-panel {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #444;
}


.throughput-title {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
}


.throughput-chart {
    width: 100%;
    height: 280px;
}


.chart-axis {
    stroke: #666;
    stroke-width: 1;
}


.chart-label {
    fill: #aaa;
    font-size: 10px;
}


.y-axis-label {
    text-anchor: end;
    dominant-baseline: middle;
}


.throughput-placeholder {
    color: #aaa;
    font-size: 13px;
    padding: 10px 0;
}