body {
    margin: 0;
    min-height: 100vh;
    font-family: sans-serif;
    background: #f4f1ea;
    color: #1f2933;
}

body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 420px;
    margin: 24px;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

h1 {
    margin-top: 0;
}

label {
    display: block;
    margin-bottom: 16px;
}

[hidden] {
    display: none !important;
}

input,
select,
textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    box-sizing: border-box;
}

button,
a.button {
    padding: 10px 16px;
    cursor: pointer;
}

a.button {
    display: inline-block;
    background: #1f6b4a;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}

.banner {
    padding: 24px;
    background: #1f6b4a;
    color: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
}

.banner h1 {
    margin: 0;
}

.error {
    color: #9b1c1c;
}

.info {
    color: #1f6b4a;
}

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

.sidebar {
    width: 220px;
    flex-shrink: 0;
    background: #1f6b4a;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    box-sizing: border-box;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar a {
    color: #fff;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
}

.sidebar a.active,
.sidebar a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.sidebar form {
    margin-top: auto;
}

.sidebar button {
    width: 100%;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
}

.content {
    flex: 1;
    padding: 32px;
    box-sizing: border-box;
}

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

.page-header h1 {
    margin: 0;
}

.page-header a {
    color: #1f6b4a;
}

.page-header a.button {
    color: #fff;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 16px;
    margin-bottom: 16px;
}

.filters label {
    margin-bottom: 0;
    min-width: 160px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

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

th {
    padding: 12px;
}

td a {
    display: block;
    padding: 12px;
    color: inherit;
    text-decoration: none;
}

td.cell {
    padding: 12px;
}

.calendar-form button {
    margin-bottom: 16px;
}

tbody tr:hover {
    background: #f7f4ee;
}

.details {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 12px 16px;
    max-width: 640px;
    margin: 0;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
}

.details dt {
    font-weight: 600;
}

.details dd {
    margin: 0;
}

.form {
    max-width: 420px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
}

.hint {
    display: block;
    margin-top: 6px;
    color: #52606d;
    font-size: 14px;
    font-weight: 400;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 420px;
    margin-top: 16px;
}

.password-notice {
    max-width: 420px;
    margin: 0 0 16px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 12px;
}
