:root {
    --navy: #001F5B;
    --teal: #0DA9C6;
    --light: #F8FAFC;
    --dark: #0F172A;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--light);
    color: var(--dark);
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 230px;
    background: var(--navy);
    color: white;
    padding: 25px 18px;
}

.sidebar h2 {
    margin-top: 0;
    color: white;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.sidebar a:hover {
    background: var(--teal);
}

.content {
    flex: 1;
    padding: 30px;
}

.card {
    background: white;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.btn {
    background: var(--teal);
    color: white;
    border: 0;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin: 8px 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th, td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

th {
    background: #f1f5f9;
}

.badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    background: #e2e8f0;
}

.badge.green { background: #dcfce7; color: #166534; }
.badge.red { background: #fee2e2; color: #991b1b; }
.badge.blue { background: #dbeafe; color: #1e40af; }

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

@media(max-width: 900px) {
    .layout { flex-direction: column; }
    .sidebar { width: auto; }
    .grid { grid-template-columns: 1fr; }
}

pre {
    white-space: pre-wrap;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
}
