body {
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    background-color: #f5f5f5;
}

h1 {
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 2rem;
}

.controls {
    text-align: center;
    margin-bottom: 2rem;
}

.environment {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.environment h2 {
    color: #2c5282;
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.endpoints {
    display: grid;
    gap: 1rem;
}

.endpoint {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 4px;
    border-left: 4px solid #4299e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.endpoint-url {
    color: #2b6cb0;
    text-decoration: none;
    word-break: break-all;
    margin-right: 1rem;
    cursor: pointer;
}

.endpoint-url:hover {
    text-decoration: underline;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.status-checking {
    background-color: #CBD5E0;
    color: #2D3748;
}

.status-up {
    background-color: #C6F6D5;
    color: #22543D;
}

.status-down {
    background-color: #FED7D7;
    color: #822727;
}

.check-all {
    background-color: #4299e1;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: background-color 0.2s;
}

.check-all:hover {
    background-color: #3182ce;
}

.last-checked {
    text-align: center;
    color: #4A5568;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    body {
        margin: 1rem;
    }
    .endpoint {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .endpoint {
        flex-direction: column;
        text-align: center;
    }
    .status {
        margin-top: 0.5rem;
    }
}
