* { box-sizing: border-box; }
body { font-family: -apple-system, "Segoe UI", Roboto, sans-serif; background: #f7f8fa; margin: 0; color: #1a1a1a; }
a { color: #2563eb; text-decoration: none; }

.container { max-width: 900px; margin: 24px auto; padding: 0 16px; }
.container.narrow { max-width: 560px; }

.topbar { display: flex; justify-content: space-between; align-items: center; background: #111827; color: #fff; padding: 14px 24px; }
.topbar-title { font-weight: 700; }

.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-card { background: #fff; padding: 32px; border-radius: 12px; width: 320px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.auth-card h1 { font-size: 18px; margin-bottom: 18px; }

label { display: block; font-size: 12.5px; font-weight: 600; color: #444; margin: 12px 0 4px; }
input, select, textarea { width: 100%; padding: 9px 10px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 13.5px; }
textarea { min-height: 60px; resize: vertical; }

.btn-primary { display: inline-block; background: #2563eb; color: #fff; border: none; padding: 10px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 16px; }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); padding: 6px 14px; border-radius: 6px; cursor: pointer; }
.btn-danger { background: #dc2626; color: #fff; border: none; padding: 9px 16px; border-radius: 8px; cursor: pointer; }

.alert-error { background: #fef2f2; color: #b91c1c; padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 10px; }

.page-head { display: flex; justify-content: space-between; align-items: center; margin: 16px 0; }

.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 14px; font-size: 13px; border-bottom: 1px solid #eee; }
.table th { background: #f3f4f6; font-size: 11.5px; text-transform: uppercase; color: #6b7280; }
.empty { text-align: center; color: #9ca3af; padding: 24px; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.badge-aktif { background: #dcfce7; color: #16a34a; }
.badge-dibatalkan { background: #fee2e2; color: #dc2626; }

.detail-box { background: #fff; border-radius: 10px; padding: 14px 18px; margin: 16px 0; }
.detail-box .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f1f3; font-size: 13px; }
.detail-box .row:last-child { border-bottom: none; }
.detail-box .label { color: #6b7280; }
.detail-box .value { font-weight: 600; text-align: right; max-width: 60%; }

.verify-url { font-size: 11px; color: #6b7280; word-break: break-all; margin-top: 6px; }
.action-row { display: flex; gap: 10px; margin-top: 16px; align-items: center; }

.form-grid { background: #fff; padding: 20px; border-radius: 10px; margin-top: 12px; }
