:root {
    --ink: #102038;
    --ink-soft: #51627b;
    --bg: #f4f7fb;
    --card: #ffffff;
    --line: #d7dfeb;
    --accent: #2b7a78;
    --accent-dark: #205e5d;
    --warn: #c05c00;
    --danger: #b42318;
    --success: #137333;
}

body {
    background: radial-gradient(circle at top right, #d8efe7 0, transparent 28%), linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
    color: var(--ink);
    min-height: 100vh;
}

.navbar-brand,
.brand-mark,
.card-title,
h1,
h2,
h3,
h4,
h5 {
    font-family: Georgia, 'Times New Roman', serif;
}

.navbar {
    box-shadow: 0 10px 30px rgba(16, 32, 56, 0.08);
}

.sidebar-card,
.module-card,
.login-card {
    border: 1px solid rgba(215, 223, 235, 0.8);
    box-shadow: 0 18px 40px rgba(16, 32, 56, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
}

.login-shell {
    min-height: 100vh;
}

.table thead th {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-soft);
}

.badge-soft {
    background: rgba(43, 122, 120, 0.12);
    color: var(--accent-dark);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.35rem;
}

.status-dot.active {
    background: var(--success);
}

.status-dot.inactive {
    background: #98a2b3;
}

pre.log-box {
    max-height: 280px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    background: #0b1728;
    color: #d9e7ff;
    border-radius: 0.85rem;
    padding: 1rem;
}

.small-muted {
    color: var(--ink-soft);
    font-size: 0.875rem;
}

.table-responsive {
    border-radius: 0.9rem;
}
