body {
    font-family: Arial, sans-serif;
    margin: 30px;
    background: #f5f7fa;
}

h1 {
    color: #1f4e79;
}

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

th {
    background: #1f4e79;
    color: white;
    padding: 10px;
}

td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.score {
    font-weight: bold;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 18px;
}

.description {
    white-space: pre-wrap;
}

a {
    color: #1f4e79;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

select,
textarea {
    width: 100%;
    max-width: 700px;
    padding: 8px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background: #1f4e79;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background: #163a5b;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}
input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    max-width: 850px;
    padding: 8px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.danger-button {
    background: #b00020;
    margin-top: 10px;
}

.danger-button:hover {
    background: #7a0016;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}

.metric-card {
    background: white;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 5px solid #1f4e79;
}

.metric-label {
    color: #666;
    font-size: 14px;
}

.metric-value {
    font-size: 30px;
    font-weight: bold;
    color: #1f4e79;
}

.score {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    font-weight: bold;
    padding: 5px 8px;
    border-radius: 18px;
}

.score-high {
    background: #d4edda;
    color: #155724;
}

.score-medium {
    background: #fff3cd;
    color: #856404;
}

.score-low {
    background: #f8d7da;
    color: #721c24;
}

.score-none {
    background: #e2e3e5;
    color: #555;
}

.button-secondary {
    display: inline-block;
    margin-left: 8px;
    background: #6c757d;
    color: white;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
}

.button-secondary:hover {
    background: #555;
}
