* { box-sizing: border-box; }
body {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    background: #f5f7fa;
    color: #222;
}
header {
    background: #2c3e50;
    color: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
header a { color: #fff; text-decoration: none; }
header nav { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; }
header nav a:hover { text-decoration: underline; }
.user-info { font-size: 0.9em; opacity: 0.85; }
main { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
h1, h2 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
th, td { padding: 8px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; }
th { background: #edf2f7; font-weight: 600; }
.actions { display: flex; gap: 6px; }
.btn {
    display: inline-block;
    padding: 6px 12px;
    background: #2c7be5;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9em;
}
.btn:hover { background: #1a5ec0; }
.btn-secondary { background: #6c757d; }
.btn-danger { background: #e53e3e; }
form.stack label { display: block; margin-top: 12px; font-weight: 600; }
form.stack input, form.stack select, form.stack textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #cbd5e0;
    border-radius: 4px;
    font-size: 1em;
}
form.stack textarea { min-height: 80px; }
.field-error { color: #e53e3e; font-size: 0.85em; margin-top: 4px; }
.alert {
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.alert-error { background: #fed7d7; color: #742a2a; }
.alert-info { background: #bee3f8; color: #2a4365; }
.status-SCHEDULED { color: #2c7be5; font-weight: 600; }
.status-COMPLETED { color: #2f855a; font-weight: 600; }
.status-CANCELLED { color: #c53030; font-weight: 600; text-decoration: line-through; }
.card { background: #fff; padding: 16px; border-radius: 4px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); margin-bottom: 16px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.inline-form { display: inline; }
