* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}

.navbar {
    background: #0f172a;
    color: white;
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar h2 {
    margin: 0;
    font-size: 22px;
}

.navbar span {
    color: #cbd5e1;
    font-size: 14px;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 35px auto;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    margin-bottom: 24px;
}

.card h1,
.card h2,
.card h3 {
    margin-top: 0;
    color: #0f172a;
}

.card p {
    color: #475569;
    line-height: 1.7;
}

input,
select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    margin-top: 8px;
    font-size: 15px;
}

label {
    font-weight: bold;
    color: #334155;
}

.btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 11px 18px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin: 5px;
}

.btn:hover {
    background: #1d4ed8;
}

.btn-gray {
    background: #64748b;
}

.btn-gray:hover {
    background: #475569;
}

.btn-green {
    background: #16a34a;
}

.btn-green:hover {
    background: #15803d;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    color: #475569;
}

.stat-card strong {
    display: block;
    margin-top: 8px;
    font-size: 22px;
    color: #0f172a;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    background: white;
}

th {
    background: #f1f5f9;
    color: #334155;
    font-weight: bold;
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

td {
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

tr:hover {
    background: #f8fafc;
}

.badge {
    display: inline-block;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
}

.low {
    background: #dcfce7;
    color: #166534;
}

.medium {
    background: #fef3c7;
    color: #92400e;
}

.high {
    background: #fee2e2;
    color: #991b1b;
}

.footer-links {
    margin-top: 22px;
}

.alert {
    background: #e0f2fe;
    border: 1px solid #7dd3fc;
    color: #075985;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.page-title {
    margin-bottom: 20px;
}

.small-text {
    color: #64748b;
    font-size: 13px;
}