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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0A1A2F;
    color: #e0e0e0;
    line-height: 1.6;
}

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

/* Header */
header {
    background: #0A1A2F;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 40px;
}

.logo h1 {
    color: #FFFFFF;
    font-size: 1.5rem;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #E67E22;
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Status Banner */
.status-banner {
    background: #162d4a;
    border-left: 4px solid #E67E22;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.status-banner.status-online {
    border-left-color: #27ae60;
}

.status-banner.status-offline {
    border-left-color: #e74c3c;
}

.status-banner.status-maintenance {
    border-left-color: #f39c12;
}

.status-banner h2 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.status-banner p {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Notices */
.notices {
    margin-bottom: 2rem;
}

.notices h3 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notice {
    background: #162d4a;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #E67E22;
}

.notice-info { border-left-color: #3498db; }
.notice-warning { border-left-color: #f39c12; }
.notice-error { border-left-color: #e74c3c; }
.notice-success { border-left-color: #27ae60; }

.notice h4 {
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.notice small {
    color: #999;
    font-size: 0.85rem;
}

/* Services */
.services {
    margin-bottom: 2rem;
}

.services h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card {
    background: #162d4a;
    border: 1px solid #1f3a5f;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-info h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.status-online { background: #27ae60; }
.status-dot.status-offline { background: #e74c3c; }
.status-dot.status-maintenance { background: #f39c12; }

.service-uptime {
    text-align: right;
}

.uptime-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.uptime-value.uptime-excellent { color: #27ae60 !important; }
.uptime-value.uptime-good { color: #f39c12 !important; }
.uptime-value.uptime-poor { color: #e67e22 !important; }
.uptime-value.uptime-down { color: #e74c3c !important; }

.uptime-label {
    font-size: 0.85rem;
    color: #999;
}

/* Uptime Bars */
.uptime-bars {
    display: flex;
    gap: 2px;
    margin: 1rem 0;
    height: 40px;
}

.bar {
    flex: 1;
    border-radius: 2px;
    transition: transform 0.2s;
}

.bar:hover {
    transform: scaleY(1.1);
}

.bar-excellent { background: #27ae60; }
.bar-good { background: #f39c12; }
.bar-poor { background: #e67e22; }
.bar-down { background: #e74c3c; }

.service-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #b0b0b0;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Stats */
.stats {
    margin-bottom: 2rem;
}

.stats h3 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: #162d4a;
    border: 1px solid #1f3a5f;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.stat-card h4 {
    color: #FFFFFF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row span {
    color: #b0b0b0;
}

.stat-row strong {
    font-size: 1.1rem;
}

.stat-row strong.uptime-excellent { color: #27ae60 !important; }
.stat-row strong.uptime-good { color: #f39c12 !important; }
.stat-row strong.uptime-poor { color: #e67e22 !important; }
.stat-row strong.uptime-down { color: #e74c3c !important; }

/* Footer */
footer {
    background: #0A1A2F;
    color: #FFFFFF;
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav {
        width: 100%;
        justify-content: space-around;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-uptime {
        text-align: left;
    }
    
    .uptime-bars {
        height: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }
    
    nav {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .status-banner {
        padding: 1.5rem;
    }
    
    .service-card {
        padding: 1rem;
    }
    
    .uptime-bars {
        height: 25px;
        gap: 1px;
    }
}
