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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #fff;
    color: #1a1a1a;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.last-check {
    color: #666;
    font-size: 0.875rem;
}

.loading {
    text-align: center;
    color: #666;
    padding: 60px 20px;
}

.group {
    margin-bottom: 32px;
}

.group-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.service-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-name {
    font-weight: 500;
}

.service-url {
    font-size: 0.75rem;
    color: #999;
}

.service-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pill.up {
    background: #e6f4ea;
    color: #1e7e34;
}

.pill.down {
    background: #fce8e6;
    color: #c5221f;
}

.latency {
    font-size: 0.75rem;
    color: #999;
    min-width: 60px;
    text-align: right;
}

footer {
    margin-top: 60px;
    text-align: center;
    color: #999;
    font-size: 0.75rem;
}

.build-info {
    margin-top: 8px;
    font-family: monospace;
    font-size: 0.65rem;
    color: #ccc;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    color: #c5221f;
}

@media (max-width: 600px) {
    .container {
        padding: 24px 16px;
    }

    .service {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .service-status {
        width: 100%;
        justify-content: space-between;
    }
}
