:root {
    --win-blue: #0058e6;
    --win-header-gradient: linear-gradient(to bottom, #0058e6 0%, #3a93ff 10%, #0058e6 100%);
    --win-bg-color: #ece9d8;
    --win-border-dark: #003ca5;
    --win-border-light: #ffffff;
    --win-text: #000000;
    --win-shadow: #808080;
    --win-taskbar: #245edb;
    --status-ok: #33ff33;
    --status-warn: #ffff00;
    --status-error: #ff0000;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #5a7edc;
    
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('https://upload.wikimedia.org/wikipedia/en/7/7d/Bliss.png');
    background-size: cover;
    background-attachment: fixed;
    color: var(--win-text);
    font-family: "Tahoma", "Segoe UI", sans-serif;
    font-size: 11px; 
    line-height: 1.4;
}


main {
    max-width: 900px;
    margin: 40px auto;
    background: var(--win-bg-color);
    border: 3px solid var(--win-border-dark);
    border-radius: 8px 8px 0 0;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    padding: 2px;
}


header {
    background: var(--win-header-gradient);
    padding: 4px 10px;
    border-radius: 5px 5px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    height: 30px;
    border-bottom: 1px solid var(--win-border-dark);
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo {
    width: 18px;
    height: 18px;
    background: white;
    border: 1px solid #777;
    border-radius: 2px;
    color: var(--win-blue);
    font-weight: bold;
    font-size: 10px;
}

.company-name {
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    font-size: 12px;
}

.status-type {
    color: #cbdfff;
    font-size: 10px;
}


.hero {
    background: white;
    margin: 10px;
    padding: 20px;
    border: 1px solid #aca899;
    box-shadow: inset 1px 1px 2px #808080;
}

.hero h1 {
    font-size: 24px;
    font-weight: normal;
    color: #003399;
    background: none;
    -webkit-text-fill-color: initial;
    margin-bottom: 10px;
}

.hero p {
    color: #333;
    font-size: 12px;
}

.hero-meta {
    background: #f1f1f1;
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #aca899;
    display: flex;
    gap: 20px;
}

.meta-label {
    color: #666;
    font-weight: bold;
    font-size: 10px;
}

.meta-value {
    color: #000;
}


.status-section {
    padding: 10px;
}

.section-title {
    font-size: 13px;
    color: #003399;
    border-bottom: 1px solid #7abcff;
    padding-bottom: 4px;
    margin-bottom: 15px;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background: white;
    border: 1px solid #aca899;
    padding: 10px;
    gap: 20px;
}

.service:hover {
    background: #e9f2ff;
    border-color: #316ac5;
}

.service-info h3 {
    font-size: 12px;
    color: #000;
    text-decoration: underline;
    margin-bottom: 10px;
}

.stat-row {
    border-bottom: 1px dotted #ccc;
    padding: 4px 0;
}

.stat-label {
    color: #555;
}


.status-badge {
    border-radius: 0;
    border: 1px solid #777;
    padding: 2px 6px;
    font-size: 10px;
}

.badge-operational {
    background: #d4edda;
    color: #155724;
}

.badge-degraded {
    background: #fff3cd;
    color: #856404;
}

.badge-outage {
    background: #f8d7da;
    color: #721c24;
}


.uptime-percentage {
    font-family: "Courier New", monospace;
    font-size: 32px;
    font-weight: bold;
    color: #008000;
}

.chart-container {
    background: #000; 
    border: 2px inset #ffffff;
    height: 120px;
}


.status-dot {
    width: 10px;
    height: 10px;
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 0;
}

.dot-up { background: var(--status-ok); }
.dot-degraded { background: var(--status-warn); }
.dot-down { background: var(--status-error); }


footer {
    background: var(--win-bg-color);
    border-top: 1px solid #aca899;
    padding: 8px 20px;
    margin-top: 20px;
    font-size: 10px;
    color: #333;
}


@media (max-width: 768px) {
    main {
        margin: 5px;
        width: auto;
    }
    .service {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 18px;
    }
}