*{ box-sizing: border-box; padding: 0; margin: 0; }
body{ font-family: sans-serif; margin: 0; padding: 20px; background: #f6f7fb; color: #1a1a1a; }

#loginOverlay{ position: fixed; inset: 0; backdrop-filter: blur(8px); background: rgba(0, 0, 0, 0.4); display: flex;
justify-content: center; align-items: center; z-index: 10; }

.login-box{ width: 340px; background: white; padding: 30px; border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); }
.login-box h2{ margin-top: 0; text-align: center; }

h1{ margin-bottom: 20px; }

.input{ width: 100%; padding: 12px; margin-top: 12px; border-radius: 8px; border: 1px solid #ddd;
box-sizing: border-box; }

button{ width: 100%; margin-top: 20px; padding: 12px; background: #111; color: white; border: none;
border-radius: 8px; font-weight: 600; cursor: pointer; }
button:hover{ background: #333; }

.container{ max-width: 1100px; margin: auto; padding: 30px; }

#search{ width: 320px; padding: 10px 14px; margin-bottom: 20px; border-radius: 50px; border: 1px solid #e2e6ee;
background: white; font-size: 14px; transition: all 0.2s ease; outline: none; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04); }
#search:focus{ border-color: #111; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08); }
#search::placeholder{ color: #9aa3b2; }

.toolbar{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

.summary{ display: flex; gap: 20px; margin-bottom: 30px; }

.card{ background: #fff; padding: 20px; border-radius: 12px; flex: 1; text-align: center;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);font-size: 18px; font-weight: 600; }

table{ width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05); }

td{ padding: 14px; border-top: 1px solid #eee; }

th{ background: #f1f3f8; padding: 14px; text-align: left; font-size: 14px; }

table td table{ margin-top: 5px; border: 1px solid #eee; border-radius: 8px; overflow: hidden; width: 100%;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }

table td table th, table td table td{ padding: 8px; font-size: 13px; border-top: 1px solid #eee; }

.badge{ display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
text-transform: capitalize; background: transparent; padding: 6px 12px; border-radius: 999px;
min-width: 90px; justify-content: center; }
.badge::before{ content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
background: currentColor; }

.pending{ background:rgba(245,158,11,0.15); color:#B45309; border:1px solid rgba(245,158,11,0.5); }
.paid{ background:rgba(22,163,74,0.15); color:#166534; border:1px solid rgba(22,163,74,0.5); }
.cancelled{ background:rgba(220,38,38,0.15); color:#991B1B; border:1px solid rgba(220,38,38,0.5); }
.logout{ width: 140px; margin-top: 20px; background: #e53935; }
.logout:hover{ background: #c62828; }
#error{ color: red; text-align: center; margin-top: 10px; }