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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

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

.cursor-status-link {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    color: #333;
}

.cursor-status-link a {
    color: #0066cc;
    text-decoration: none;
}

.cursor-status-link a:hover {
    text-decoration: underline;
}

header {
    background-color: #000;
    border-bottom: 1px solid #333;
    padding: 20px 0;
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    text-align: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.logo-container img {
    height: 32px;
}

.logo-container h1 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}

.status-banner {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-banner h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.status-banner.green {
    background-color: #47b881;
}

.status-banner.green h2 {
    color: #fff;
}

.status-banner.green .uptime-info {
    color: #fff;
}

.status-banner.operational {
    background-color: #47b881;
}

.status-banner.operational h2 {
    color: #fff;
}

.status-banner.operational .uptime-info {
    color: #fff;
}

.status-banner.degraded h2 {
    color: #f5a623;
}

.status-banner.yellow {
    background-color: #f5a623;
}

.status-banner.yellow h2 {
    color: #fff;
}

.status-banner.yellow .uptime-info {
    color: #fff;
}

.status-banner.down h2 {
    color: #d04437;
}

.uptime-info {
    color: #666;
    font-size: 16px;
    margin-top: 10px;
}

.section {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.section-header-with-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.section-header-with-controls h3 {
    margin-bottom: 0;
}

.time-period-selector {
    display: flex;
    gap: 20px;
    align-items: center;
}

.time-period-selector label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.time-period-selector input[type="radio"] {
    cursor: pointer;
    margin: 0;
}

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
}

.daily-chart-container {
    position: relative;
    height: 200px;
}

.latency-chart-container {
    position: relative;
    height: 580px;
}

.status-legend {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.legend-color.green {
    background-color: #47b881;
}

.legend-color.yellow {
    background-color: #f5a623;
}

.legend-color.red {
    background-color: #d04437;
}

.legend-color.grey {
    background-color: #ccc;
}

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

.status-item {
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.status-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-indicator.green {
    background-color: #47b881;
}

.status-indicator.yellow {
    background-color: #f5a623;
}

.status-indicator.red {
    background-color: #d04437;
}

.status-indicator.grey {
    background-color: #ccc;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 10px;
    border-top: 1px solid #333;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: #47b881;
}

.hardware-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.hardware-table th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.hardware-table th[colspan="2"] {
    text-align: center;
    background-color: #e9ecef;
    font-size: 16px;
    padding: 15px;
}

.hardware-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    color: #555;
}

.hardware-table tr:last-child td {
    border-bottom: none;
}

.hardware-table tr:hover {
    background-color: #f8f9fa;
}

.hardware-table td:first-child {
    font-weight: 500;
    width: 40%;
    color: #333;
}

.hardware-table pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .chart-container {
        height: 250px;
    }

    .status-legend {
        flex-direction: column;
        gap: 15px;
    }

    .hardware-table {
        font-size: 14px;
    }

    .hardware-table th,
    .hardware-table td {
        padding: 8px;
    }

    .hardware-table td:first-child {
        width: 35%;
    }

    .section-header-with-controls {
        flex-direction: column;
        align-items: flex-start;
    }

    .time-period-selector {
        width: 100%;
        justify-content: flex-start;
    }
}

