* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #111827;
    color: #f9fafb;
}
a { color: inherit; }
.container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}
.logo { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.card {
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.22);
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}
.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 10px;
    background: #374151;
    color: #d1d5db;
    font-size: 14px;
}
.btn, button {
    display: inline-flex;
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    background: #f97316;
    color: white;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.btn.secondary { background: #374151; }
.btn.danger { background: #dc2626; }
input, textarea, select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid #4b5563;
    background: #111827;
    color: #f9fafb;
    margin-top: 6px;
}
label { display: block; margin: 12px 0; color: #e5e7eb; }
table { width: 100%; border-collapse: collapse; }
th, td {
    padding: 12px;
    border-bottom: 1px solid #374151;
    text-align: left;
    vertical-align: top;
}
.notice {
    padding: 14px 16px;
    border-radius: 14px;
    background: #064e3b;
    color: #d1fae5;
    margin-bottom: 16px;
}
.error {
    padding: 14px 16px;
    border-radius: 14px;
    background: #7f1d1d;
    color: #fee2e2;
    margin-bottom: 16px;
}
.small { color: #9ca3af; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.card {
    overflow-x: auto;
}
select {
    min-width: 140px;
}

.status-confirmed { background: #065f46; color: #d1fae5; }
.status-rejected { background: #7f1d1d; color: #fee2e2; }
.status-pending { background: #78350f; color: #ffedd5; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.checkbox-cell { text-align: center; }
input[type="checkbox"] { width: auto; }

.card .btn {
    margin-top: 10px;
}
