* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #f7f8fa;
    color: #333;
    line-height: 1.5;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.header {
    text-align: center;
    margin-bottom: 32px;
}
.header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #5e5e5e;
    margin-bottom: 8px;
}
.json-hint {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
}
.json-hint a {
    color: #3498db;
    text-decoration: none;
}
.json-hint a:hover {
    text-decoration: underline;
}
.services-list {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}
.service-item {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.service-item:last-child {
    border-bottom: none;
}
.service-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}
.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.indicator-operational { background: #27ae60; }
.indicator-minor_outage { background: #f39c12; }
.indicator-major_outage { background: #e74c3c; }

.status-text {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.status-operational { color: #27ae60; }
.status-minor_outage { color: #f39c12; }
.status-major_outage { color: #e74c3c; }

.service-details {
    margin-top: 6px;
    padding-left: 20px;
}
.incident-comment {
    font-size: 13px;
    color: #666;
}
.incident-from {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}
.footer {
    text-align: center;
    margin-top: 32px;
    font-size: 13px;
    color: #999;
}
.footer p {
    margin-bottom: 4px;
}
.error-message {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    color: #666;
    font-size: 15px;
}
@media (max-width: 600px) {
    .container { padding: 20px 12px; }
    .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .status-text {
        padding-left: 20px;
    }
}
