* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0f1419;
    color: #e6edf3;
    line-height: 1.6;
    padding: 2rem 1rem;
}

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

header {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #58a6ff;
}

.subtitle {
    color: #8b949e;
    font-size: 1rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e6edf3;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.system-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.system-card:hover {
    border-color: #58a6ff;
    transform: translateY(-2px);
}

.system-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.system-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #e6edf3;
}

.status-indicator {
    font-size: 2rem;
    margin: 0.5rem 0;
}

.status-indicator.success {
    color: #3fb950;
}

.status-indicator.warning {
    color: #d29922;
}

.status-indicator.error {
    color: #f85149;
}

.last-backup {
    color: #8b949e;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.details {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #8b949e;
}

.recent-activity {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: grid;
    grid-template-columns: 150px 1fr 100px 80px 80px;
    gap: 1rem;
    padding: 1rem;
    background: #0d1117;
    border-radius: 6px;
    align-items: center;
    font-size: 0.9rem;
}

.activity-time {
    color: #8b949e;
}

.activity-system {
    color: #58a6ff;
    font-weight: 500;
}

.activity-status {
    text-transform: capitalize;
}

.activity-status.success {
    color: #3fb950;
}

.activity-status.failed {
    color: #f85149;
}

.activity-size,
.activity-duration {
    color: #8b949e;
    text-align: right;
}

.empty-state {
    color: #8b949e;
    text-align: center;
    padding: 2rem;
}

.storage-overview {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 2rem;
}

#storage-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.storage-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #0d1117;
    border-radius: 6px;
}

.system-name {
    color: #e6edf3;
    font-weight: 500;
}

.system-size {
    color: #8b949e;
}

.workflow-docs {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.workflow-section {
    margin-bottom: 2.5rem;
}

.workflow-section:last-child {
    margin-bottom: 0;
}

.workflow-section h3 {
    font-size: 1.15rem;
    color: #58a6ff;
    margin-bottom: 1rem;
}

.workflow-section ul {
    list-style: none;
    padding-left: 0;
}

.workflow-section ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #21262d;
}

.workflow-section ul li:last-child {
    border-bottom: none;
}

.workflow-section ul ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.workflow-section ul ul li {
    padding: 0.25rem 0;
    border-bottom: none;
    color: #8b949e;
}

.workflow-section ol {
    padding-left: 1.5rem;
    color: #e6edf3;
}

.workflow-section ol li {
    margin-bottom: 0.5rem;
}

.workflow-section code {
    background: #0d1117;
    color: #79c0ff;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
}

.workflow-section pre {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1rem 0;
}

.workflow-section pre code {
    background: none;
    padding: 0;
    color: #79c0ff;
    display: block;
    line-height: 1.5;
}

.workflow-section p {
    color: #c9d1d9;
    margin-bottom: 0.75rem;
}

.workflow-section em {
    color: #8b949e;
    font-style: normal;
    font-size: 0.9em;
}

.workflow-section strong {
    color: #e6edf3;
}

footer {
    text-align: center;
    margin-top: 3rem;
    color: #8b949e;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .system-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .activity-size,
    .activity-duration {
        text-align: left;
    }
}
