:root {
    color-scheme: light dark;
    font-family: Segoe UI, system-ui, sans-serif;
    line-height: 1.5;
}

body {
    margin: 0;
    background: #f4f6f8;
    color: #1f2933;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px;
}

h1, h2 {
    margin-top: 0;
}

.card {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
}

form label {
    display: block;
    margin-top: 12px;
    margin-bottom: 4px;
    font-weight: 600;
}

form select,
form input[type="date"],
form input[type="text"],
form input[type="password"],
button {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 16px;
}

button {
    margin-top: 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

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

.panel-header h1 {
    margin-bottom: 0;
}

.logout-button {
    width: auto;
    margin-top: 0;
    padding: 8px 16px;
    background: #475569;
}

.logout-button:hover {
    background: #334155;
}

.message {
    min-height: 1.5em;
    margin-top: 12px;
}

.message.error {
    color: #b42318;
}

.message.success {
    color: #027a48;
}

.muted {
    color: #627d98;
}

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

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

.status {
    font-weight: 600;
}

.status-scheduled { color: #b54708; }
.status-running { color: #175cd3; }
.status-success { color: #027a48; }
.status-failed { color: #b42318; }
.status-cancelled { color: #627d98; }

.cancel-button {
    width: auto;
    margin-top: 0;
    padding: 6px 12px;
    background: #b42318;
    font-size: 14px;
}

.cancel-button:hover {
    background: #912018;
}

.cancel-reservation-button {
    width: auto;
    margin-top: 0;
    padding: 6px 12px;
    background: #b42318;
    font-size: 14px;
}

.cancel-reservation-button:hover {
    background: #912018;
}
