* { box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
    color: #222;
}
.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
}
h1 {
    color: #1a3d63;
    margin-bottom: 5px;
}
.subtitle {
    color: #666;
    margin-top: 0;
    margin-bottom: 25px;
}
.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}
.card h2 {
    margin-top: 0;
    font-size: 18px;
    color: #1a3d63;
    border-bottom: 2px solid #eef2f7;
    padding-bottom: 10px;
}
form .row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
form .field {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}
label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}
input[type="text"], select, input[type="time"] {
    padding: 9px 10px;
    border: 1px solid #ccd4de;
    border-radius: 6px;
    font-size: 14px;
}
button, .btn {
    background: #1a3d63;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}
button:hover, .btn:hover { background: #12294a; }
.btn-danger { background: #c0392b; }
.btn-danger:hover { background: #96291d; }
.btn-secondary { background: #7f8c9a; }
.btn-secondary:hover { background: #636f7a; }

.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success { background: #e3f7e8; color: #1e6b32; border: 1px solid #b6e6c3; }
.alert-error { background: #fdecea; color: #a52c22; border: 1px solid #f6c4be; }
.alert ul { margin: 6px 0 0 18px; padding: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
th, td {
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    text-align: left;
}
th {
    background: #f0f4f9;
    color: #1a3d63;
}
tr:hover { background: #fafbfd; }
.day-heading {
    background: #1a3d63 !important;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
}
.actions a { margin-right: 10px; font-size: 13px; }
.empty {
    color: #888;
    font-style: italic;
    padding: 15px 0;
}
.tag {
    display: inline-block;
    background: #eef2f7;
    color: #1a3d63;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}
