* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f3f5f7;
    color: #212529;
    font-family: Arial, Helvetica, sans-serif;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 40px auto;
}

h1 {
    margin: 0 0 10px;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.subtitle {
    color: #6c757d;
}

.card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.menu-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 20px;
    color: inherit;
}

.menu-card:hover {
    border-color: #0d6efd;
    text-decoration: none;
}

.menu-card strong {
    font-size: 18px;
}

.menu-card span {
    color: #6c757d;
}

.button,
button {
    display: inline-block;
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    background: #0d6efd;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.button:hover,
button:hover {
    background: #0b5ed7;
    text-decoration: none;
}

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

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

th {
    background: #f8f9fa;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}

input,
select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font: inherit;
}

input:focus,
select:focus {
    outline: 0;
    border-color: #86b7fe;
}

.field-help {
    margin-top: 6px;
    color: #6c757d;
    font-size: 13px;
}

.button-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}