* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

:root {

    --bg: #0f172a;
    --card: rgba(255,255,255,0.08);
    --text: white;
    --button: #2563eb;

}

body.light {

    --bg: #f5f5f5;
    --card: white;
    --text: #222;

}

body {

    min-height: 100vh;

    background: var(--bg);

    color: var(--text);

    font-family: "Segoe UI", sans-serif;

    padding: 40px;

}

.container {

    width: 100%;
    max-width: 1300px;

    margin: auto;

}

h1 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 48px;

}

h2 {

    margin-bottom: 10px;

}

.form-group {

    margin-bottom: 20px;

}

label {

    display: block;

    margin-bottom: 8px;

}

input,
select,
textarea {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 12px;

    font-size: 16px;

}

textarea {

    min-height: 140px;

    resize: vertical;

    font-family: Consolas, monospace;

}

button {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 12px;

    cursor: pointer;

    background: var(--button);

    color: white;

    font-weight: bold;

    margin-top: 10px;

}

.dashboard {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
        minmax(250px, 1fr));

    gap: 20px;

    margin-top: 30px;

}

.card,
.summary-card {

    padding: 25px;

    border-radius: 18px;

    background: var(--card);

    backdrop-filter: blur(10px);

}

.summary {

    display: grid;

    grid-template-columns:
        repeat(auto-fit,
        minmax(250px, 1fr));

    gap: 20px;

    margin-top: 30px;

}

.healthy {

    border-left: 5px solid #22c55e;

}

.warning {

    border-left: 5px solid #f59e0b;

}

.critical {

    border-left: 5px solid #ef4444;

}

.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 30px;

    border-radius: 18px;

    background: var(--card);

    margin-bottom: 40px;

}

.logo a {

    color: var(--text);

    text-decoration: none;

    font-size: 32px;

    font-weight: bold;

}

.nav-links {

    display: flex;

    gap: 30px;

}

.nav-links a {

    color: var(--text);

    text-decoration: none;

    font-size: 18px;

}

#themeToggle {

    width: 60px;

}

.toast {

    position: fixed;

    bottom: 30px;

    right: 30px;

    background: #2563eb;

    color: white;

    padding: 14px 20px;

    border-radius: 12px;

    opacity: 0;

    transform: translateY(20px);

    transition: 0.3s;

    z-index: 9999;

}

.toast.show {

    opacity: 1;

    transform: translateY(0);

}