body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7fafd;
    color: #222;
    min-height: 100vh;
}
header {
    display: flex;
    align-items: center;
    padding: 24px 40px 0 40px;
    background: #fff;
    box-shadow: 0 2px 12px 0 #e3eaf1;
    gap: 0;
}
.logo, .logo-placeholder {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #005a07;
    margin-right: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-separator {
    width: 2px;
    height: 64px;
    background: linear-gradient(to bottom, #e3eaf1 10%, #005a07 60%, #e3eaf1 100%);
    margin: 0 32px 0 0;
    border-radius: 2px;
    opacity: 0.7;
}
header h1 {
    margin-right: 48px;
}
.header-separator:last-of-type {
    margin-left: 24px;
    margin-right: 24px;
}
h1 {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 1px;
    color: #222;
}
main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    margin-top: 64px;
}
#stats-container {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.stat-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 #005a0733;
    padding: 32px 36px 24px 36px;
    min-width: 260px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}
.stat-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px 0 #005a0777;
}
.stat-card h2 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #005a07;
    letter-spacing: 1px;
    font-weight: 600;
}
.stat-card .value {
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 8px;
    color: #222;
}
.stat-card canvas {
    margin-top: 32px;
    width: 480px !important;
    max-width: 100%;
    height: 240px !important;
}
/* Login styles */
.login-bg {
    background: #f7fafd;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 #005a0733;
    padding: 48px 36px 36px 36px;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.login-container h2 {
    color: #005a07;
    margin-bottom: 18px;
}
.login-container input[type="password"] {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e3eaf1;
    margin-bottom: 18px;
    width: 180px;
    max-width: 100%;
    font-size: 1.1rem;
    background: #f7fafd;
    color: #222;
    outline: none;
    box-shadow: 0 0 8px #e3eaf1;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.login-container button {
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    background: #005a07;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.login-container button:hover {
    background: #003a04;
}
.error {
    color: #ff4d4d;
    margin-bottom: 12px;
    font-weight: bold;
    text-shadow: 0 0 4px #fff2;
}
.hostname {
    font-size: 1.1rem;
    color: #888;
    margin-left: 24px;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    align-self: center;
}
.footer {
    width: 100%;
    text-align: center;
    padding: 32px 0 18px 0;
    color: #888;
    font-size: 1.05rem;
    background: none;
}
.footer a {
    color: #005a07;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.footer a:hover {
    color: #003a04;
}
#uptimeChart {
    margin-top: 32px;
    width: 480px !important;
    max-width: 100%;
    height: 240px !important;
} 