body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card {
    background: #2d2d2d;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid #404040;
}

.card h2 {
    color: #64b5f6;
    margin-top: 0;
    border-bottom: 2px solid #64b5f6;
    padding-bottom: 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: #383838;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #64b5f6;
}

.stat-label {
    font-weight: bold;
    color: #b0b0b0;
    font-size: 14px;
}

.stat-value {
    font-size: 18px;
    color: #ffffff;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.value-updated {
    animation: highlight 0.5s ease;
}

@keyframes highlight {
    0% { background-color: transparent; }
    50% { background-color: rgba(100, 181, 246, 0.3); }
    100% { background-color: transparent; }
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #4a4a4a;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.cpu-bar { background: linear-gradient(90deg, #ff6b6b, #ff5252); }
.memory-bar { background: linear-gradient(90deg, #ffa726, #ff9800); }
.disk-bar { background: linear-gradient(90deg, #ab47bc, #9c27b0); }

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #555;
    color: #e0e0e0;
}

th {
    background-color: #404040;
    font-weight: bold;
    color: #64b5f6;
}

tr:hover {
    background-color: #3a3a3a;
}

.controls {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.refresh-btn {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(100, 181, 246, 0.3);
}

.refresh-btn:hover {
    background: linear-gradient(135deg, #42a5f5, #1e88e5);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(100, 181, 246, 0.4);
}

.auto-refresh {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b0b0b0;
}

.timestamp {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
}
