body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0d1117;
    color: #111;
}

header {
    background: #0d1117;
    color: #e8e8e8;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card {
    color: #e8e8e8;
    background: #29343e;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.status-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #22c55e;
}

.subtext {
    font-size: 0.9rem;
    color: #9e9e9e;
    margin-top: 0.25rem;
}

.bar {
    display: flex;
    gap: 2px;
    margin-top: 1rem;
}

.segment {
    margin-left: auto;
    position: relative;
    width: 6px;
    height: 22px;
    border-radius: 10px;
    cursor: pointer;
}

.segment::after {
    content: attr(data-date) " – " attr(data-uptime);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 3px 6px;
    font-size: 14px;
    white-space: nowrap;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.segment:hover::after {
    opacity: 1;
}

.segment.grey {
    background-color: #e8e8e8;
}

.segment.grey:hover {
    background-color: #bdbdbd;
}

.segment.green {
    background-color: #2ecc71;
}

.segment.green:hover {
    background-color: #54f49b;
}

.segment.red {
    background-color: #e74c3c;
}

.segment.red:hover {
    background-color: #fd6d61;
}

.segment.orange {
    background-color: #f39c12;
}

.segment.orange:hover {
    background-color: #fbb73c;
}

.metrics {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.metric {
    flex: 1 1 22%;
    text-align: center;
    margin-top: 1rem;
}

.metric h3 {
    color: #e8e8e8;
    margin: 0;
    font-size: 1.1rem;
}

.metric p {
    color: #9e9e9e;
    margin: 0.3rem 0 0;
    font-size: 0.85rem;
}

.events {
    margin-top: 1rem;
}

.event {
    padding: 1rem;
    border-left: 4px solid #22c55e;
    background: #f0fdf4;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.event.orange {
    border-color: #f59e0b;
    background: #505967;
}

.event.red { border-color: #ef4444; background: #505967; }

.event.green {
    border-color: #22c55e;
    background: #505967;
}

.event h4 {
    margin: 0 0 0.3rem;
}

.event p {
    margin: 0;
    font-size: 0.9rem;
}

.green {
    color: #2ecc71;
}

.yellow {
    color: #fbd90d;
}

.orange {
    color: #f39c12;
}

.red {
    color: #e74c3c;
}

a {
    color: #e8e8e8;
    font-weight: bold;
}