* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
  font-family: -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  padding: 16px;
}
.portal-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 28px 24px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}
.brand-logo { max-width: 120px; margin-bottom: 12px; }
h1 { font-size: 20px; margin: 0 0 4px; color: #1a1a1a; }
.subtitle { color: #666; font-size: 14px; margin: 12px 0 10px; }
.error-msg:empty { display: none; }
.error-msg { color: #c0392b; font-size: 13px; margin: 8px 0; }

.package-list { display: flex; flex-direction: column; gap: 8px; }
.package-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}
.package-btn:hover { border-color: var(--brand-color, #0b5fff); }
.pkg-price { font-weight: 600; color: var(--brand-color, #0b5fff); }

.divider { display: flex; align-items: center; color: #999; font-size: 12px; margin: 18px 0 12px; }
.divider::before, .divider::after { content: ""; flex: 1; border-top: 1px solid #eee; }
.divider span { padding: 0 8px; }

.voucher-login { display: flex; gap: 8px; }
.voucher-login input {
  flex: 1;
  padding: 12px;
  border: 1px solid #e3e6ea;
  border-radius: 10px;
  font-size: 14px;
  text-transform: uppercase;
}
.voucher-login button {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: var(--brand-color, #0b5fff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Pages shown after login (status / logout / error) */
.status-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 14px; text-align: left; }
.status-table td { padding: 8px 4px; border-bottom: 1px solid #f0f1f3; }
.status-table td:last-child { text-align: right; font-weight: 600; }
.btn-link {
  display: inline-block; margin-top: 12px; padding: 11px 20px; border-radius: 10px;
  background: var(--brand-color, #0b5fff); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}
