body {
    margin: 0;
    background: #f4f6f9;
    color: #1f2937;
    font-family: Arial, sans-serif;
}

.wrap {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.topbar {
    background: #111827;
    color: white;
    padding: 18px 0;
    margin-bottom: 24px;
}

.topbar h1 {
    margin: 0 0 10px 0;
    font-size: 26px;
}

.topbar nav a {
    color: white;
    text-decoration: none;
    margin-right: 18px;
    font-weight: bold;
}

.card {
    background: white;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    margin-bottom: 20px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-top: 10px;
    margin-bottom: 6px;
    font-weight: bold;
}

input, select, textarea, button {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    font-size: 14px;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

button {
    margin-top: 14px;
    background: #2563eb;
    color: white;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #1d4ed8;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    background: white;
}

th, td {
    border: 1px solid #e5e7eb;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

th {
    background: #f9fafb;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: bold;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.btn-link {
    display: inline-block;
    text-decoration: none;
    background: #111827;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
}

.row-alert {
    background: #fff7ed;
}

.mt-20 {
    margin-top: 20px;
}

.table-small th {
    width: 240px;
}

@media (max-width: 1100px) {
    .cards,
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
