/* ═══════════════════════════════════════════════════════════════
   YPG Open House — Style Sheet
   Design tokens: black/gold luxury theme
═══════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --navy:       #000000;
  --navy-light: #111111;
  --gold:       #C9A94E;
  --gold-light: #D4BA6A;
  --white:      #FFFFFF;
  --off-white:  #F8F7F4;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-400:   #9CA3AF;
  --gray-600:   #6B7280;
  --gray-800:   #1F2937;
  --radius:     12px;
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head:  'Playfair Display', Georgia, serif;
  --transition: 0.2s ease;
}

/* ── Base Reset ────────────────────────────────────────────── */
.ypg-page *,
.ypg-page *::before,
.ypg-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ypg-page {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--off-white);
  min-height: 100vh;
  width: 100%;
}

/* ── Typography ─────────────────────────────────────────────── */
.ypg-page h1, .ypg-page h2, .ypg-page h3 {
  font-family: var(--font-head);
  color: var(--gold);
  line-height: 1.2;
}

/* ── Layout ─────────────────────────────────────────────────── */
.ypg-dash-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ── Card ───────────────────────────────────────────────────── */
.ypg-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 169, 78, 0.2);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
}

.ypg-card-title {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 20px;
}

.ypg-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.ypg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  text-decoration: none;
  line-height: 1;
}

.ypg-btn:active { transform: scale(0.97); }

.ypg-btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.ypg-btn-primary:hover { background: var(--gold-light); }

.ypg-btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.ypg-btn-outline:hover { background: rgba(201,169,78,0.1); }

.ypg-btn-ghost {
  background: transparent;
  color: var(--gray-400);
  border: 1px solid rgba(255,255,255,0.12);
}
.ypg-btn-ghost:hover { color: var(--off-white); background: rgba(255,255,255,0.06); }

.ypg-btn-sm   { font-size: 13px; padding: 8px 14px; }
.ypg-btn-full { width: 100%; }
.ypg-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Form Elements ──────────────────────────────────────────── */
.ypg-field {
  margin-bottom: 18px;
}

.ypg-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ypg-req { color: var(--gold); }

.ypg-input {
  width: 100%;
  background: #0a0a0a;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.ypg-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,78,0.15);
}
.ypg-input::placeholder { color: var(--gray-600); }

.ypg-input-prefilled {
  border-color: rgba(201,169,78,0.35);
  background: rgba(201,169,78,0.05);
}

.ypg-prefill-note {
  font-size: 12px;
  color: var(--gold);
  margin-top: 5px;
}

.ypg-input-sm { font-size: 13px; padding: 8px 12px; width: auto; }

.ypg-input-link {
  font-size: 13px;
  color: var(--gold-light);
  background: #0a0a0a;
}

.ypg-field-help {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 14px;
}

.ypg-field-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* Password input wrapper */
.ypg-password-wrap {
  position: relative;
}
.ypg-password-wrap .ypg-input {
  padding-right: 44px;
}
.ypg-pw-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
}
.ypg-pw-toggle:hover { color: var(--gold); }

/* ── Radio & Checkbox ───────────────────────────────────────── */
.ypg-radio-group {
  display: flex;
  gap: 20px;
}

.ypg-radio-label,
.ypg-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: var(--off-white);
}

.ypg-radio-label input[type="radio"],
.ypg-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  cursor: pointer;
}

.ypg-checkboxes {
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Alerts ─────────────────────────────────────────────────── */
.ypg-alert {
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}
.ypg-alert-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.35);
  color: #fca5a5;
}
.ypg-alert-success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.35);
  color: #86efac;
}

/* ── Spinner ────────────────────────────────────────────────── */
.ypg-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: ypg-spin 0.7s linear infinite;
}
@keyframes ypg-spin { to { transform: rotate(360deg); } }

/* ── Loading / Empty ────────────────────────────────────────── */
.ypg-loading {
  text-align: center;
  padding: 40px;
  color: var(--gray-400);
  font-size: 15px;
}
.ypg-empty-state {
  text-align: center;
  padding: 40px;
  color: var(--gray-600);
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════
   REGISTRATION PAGE
═══════════════════════════════════════════════════════════════ */
.ypg-register-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 60px;
}

.ypg-reg-header {
  text-align: center;
  padding: 40px 20px 20px;
}

.ypg-logo {
  height: 52px;
  width: auto;
  margin-bottom: 10px;
  object-fit: contain;
}

.ypg-powered-by {
  font-size: 12px;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Perks Banner */
.ypg-perks-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin: 12px auto 28px;
  max-width: 760px;
  padding: 0 8px;
}

.ypg-perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-400);
}
.ypg-perk-icon { font-size: 16px; }

/* Registration Body */
.ypg-reg-body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 920px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

/* Agent Badge */
.ypg-agent-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ypg-agent-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  overflow: hidden;
  box-shadow: 0 0 24px rgba(201,169,78,0.3);
}

.ypg-agent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ypg-agent-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-light);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ypg-agent-hosted {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ypg-agent-name {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--off-white);
  font-weight: 600;
}

.ypg-agent-dre {
  font-size: 12px;
  color: var(--gold);
}

/* Form Card */
.ypg-form-card {
  flex: 1;
  min-width: 320px;
  max-width: 560px;
}

/* Property Banner */
.ypg-property-banner {
  background: rgba(201,169,78,0.08);
  border: 1px solid rgba(201,169,78,0.25);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.ypg-property-icon { font-size: 18px; }
.ypg-property-address {
  font-size: 15px;
  color: var(--off-white);
  font-weight: 600;
}

/* Privacy Note */
.ypg-privacy-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   THANK-YOU PAGE
═══════════════════════════════════════════════════════════════ */
.ypg-thankyou-view {
  width: 100%;
}
.ypg-thankyou-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 60px;
}

.ypg-ty-card {
  max-width: 540px;
  width: 100%;
  text-align: center;
}

.ypg-ty-check {
  margin: 0 auto 20px;
  width: 72px;
  height: 72px;
}

.ypg-ty-svg {
  width: 72px;
  height: 72px;
  animation: ypg-draw-circle 0.6s ease-out both;
}
@keyframes ypg-draw-circle {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.ypg-ty-title {
  font-size: 28px;
  margin-bottom: 6px;
}

.ypg-ty-subtitle {
  font-size: 15px;
  color: var(--gray-400);
  margin-bottom: 24px;
}

.ypg-package-list {
  text-align: left;
  background: rgba(201,169,78,0.05);
  border: 1px solid rgba(201,169,78,0.15);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.ypg-package-title {
  font-size: 16px;
  font-family: var(--font-head);
  color: var(--gold);
  margin-bottom: 14px;
}

.ypg-package-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ypg-package-items li {
  font-size: 14px;
  color: var(--off-white);
}

.ypg-ty-email-note {
  font-size: 13px;
  color: var(--gold);
  margin-top: 14px;
  font-weight: 600;
}

.ypg-ty-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.ypg-ty-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: background var(--transition);
}
.ypg-ty-btn:hover { background: rgba(201,169,78,0.1); }

/* Agent Contact Card */
.ypg-agent-contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
  text-align: left;
}

.ypg-contact-title {
  font-size: 14px;
  font-family: var(--font-head);
  color: var(--gold);
  margin-bottom: 14px;
}

.ypg-contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ypg-contact-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}

.ypg-contact-info p {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 3px;
}

.ypg-contact-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--off-white) !important;
}

.ypg-spam-note {
  font-size: 12px;
  color: var(--gray-600);
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  text-align: left;
}

/* ═══════════════════════════════════════════════════════════════
   LOGIN PAGE
═══════════════════════════════════════════════════════════════ */
.ypg-login-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.ypg-login-card {
  width: 100%;
  max-width: 440px;
}

.ypg-login-logo-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.ypg-logo-login { height: 56px; }

.ypg-login-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 6px;
}

.ypg-login-subtitle {
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════════════ */
.ypg-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--navy-light);
  border-bottom: 1px solid rgba(201,169,78,0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 16px;
  flex-wrap: wrap;
}

.ypg-topbar-logo { height: 36px; width: auto; }

.ypg-topbar-nav {
  display: flex;
  gap: 4px;
}

.ypg-tab-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.ypg-tab-btn:hover { background: rgba(255,255,255,0.05); color: var(--off-white); }
.ypg-tab-btn.active { background: rgba(201,169,78,0.15); color: var(--gold); }

.ypg-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.ypg-topbar-name {
  font-size: 14px;
  color: var(--off-white);
  font-weight: 600;
}

/* ── Badge ──────────────────────────────────────────────────── */
.ypg-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 6px;
}
.ypg-badge-admin { background: rgba(201,169,78,0.18); color: var(--gold); }
.ypg-badge-sent  { background: rgba(34,197,94,0.14);  color: #86efac; }
.ypg-badge-failed{ background: rgba(239,68,68,0.14);  color: #fca5a5; }
.ypg-badge-pending{ background: rgba(156,163,175,0.14); color: var(--gray-400); }

/* ═══════════════════════════════════════════════════════════════
   TABLE
═══════════════════════════════════════════════════════════════ */
.ypg-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ypg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 800px;
}

.ypg-table th {
  background: rgba(201,169,78,0.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(201,169,78,0.18);
}

.ypg-table td {
  padding: 12px 14px;
  color: var(--off-white);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}

.ypg-table tr:hover td { background: rgba(255,255,255,0.025); }

.ypg-table .ypg-notes-cell textarea {
  width: 150px;
  min-width: 100px;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 12px;
  padding: 6px 8px;
  resize: vertical;
}

.ypg-table .ypg-actions-cell {
  white-space: nowrap;
}

.ypg-table .ypg-actions-cell .ypg-btn {
  margin: 2px 3px;
}

.ypg-flag-pill {
  display: inline-block;
  font-size: 11px;
  background: rgba(239,68,68,0.14);
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 12px;
  padding: 2px 8px;
  margin: 2px 2px 0 0;
  white-space: nowrap;
}

/* ── Stats ──────────────────────────────────────────────────── */
.ypg-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.ypg-stat-card {
  background: var(--navy-light);
  border: 1px solid rgba(201,169,78,0.18);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
}

.ypg-stat-value {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.ypg-stat-label {
  font-size: 12px;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Header Actions ─────────────────────────────────────────── */
.ypg-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   MODAL
═══════════════════════════════════════════════════════════════ */
.ypg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.ypg-modal {
  background: var(--navy-light);
  border: 1px solid rgba(201,169,78,0.25);
  border-radius: var(--radius);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}

.ypg-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ypg-modal-title {
  font-size: 20px;
  font-family: var(--font-head);
  color: var(--gold);
}

.ypg-modal-close {
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition);
}
.ypg-modal-close:hover { color: var(--off-white); }

.ypg-modal-body {
  padding: 24px 28px;
}

.ypg-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.ypg-modal-grid .ypg-field-full {
  grid-column: 1 / -1;
}

.ypg-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   QR
═══════════════════════════════════════════════════════════════ */
.ypg-qr-section {
  margin-top: 20px;
  text-align: center;
}

.ypg-qr-canvas-wrap,
.ypg-qr-print-qr {
  display: inline-block;
  background: var(--white);
  padding: 12px;
  border-radius: 8px;
}

.ypg-link-copy-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ypg-qr-picker { max-width: 520px; }

.ypg-qr-preview-wrap { margin-top: 24px; }

/* Printable QR card */
.ypg-qr-print-card {
  background: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  max-width: 400px;
  margin: 0 auto 24px;
  padding: 32px 24px;
  text-align: center;
}

.ypg-qr-print-header {
  margin-bottom: 24px;
}

.ypg-qr-logo { height: 40px; margin-bottom: 10px; }

.ypg-qr-print-title {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 4px;
}

.ypg-qr-print-subtitle {
  font-size: 14px;
  color: var(--gray-400);
}

.ypg-qr-instruction {
  font-size: 15px;
  color: var(--off-white);
  margin: 16px 0 8px;
  font-weight: 600;
}

.ypg-qr-url-text {
  font-size: 12px;
  color: var(--gold);
  word-break: break-all;
  margin-bottom: 16px;
}

.ypg-qr-hosted-by {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 6px;
}

.ypg-qr-powered {
  font-size: 11px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.ypg-qr-copy {
  font-size: 10px;
  color: var(--gray-600);
}

.ypg-qr-admin-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.ypg-footer {
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--gray-600);
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
}

/* ═══════════════════════════════════════════════════════════════
   PRINT STYLES
═══════════════════════════════════════════════════════════════ */
@media print {
  .ypg-topbar,
  .ypg-qr-admin-actions,
  .ypg-btn,
  .ypg-footer { display: none !important; }

  .ypg-qr-print-card {
    border: 3px solid #000 !important;
    page-break-inside: avoid;
    max-width: 100%;
    font-size: 14pt;
  }

  .ypg-qr-print-title { font-size: 22pt; }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .ypg-topbar { padding: 14px 16px; }
  .ypg-topbar-nav { order: 3; width: 100%; }
  .ypg-dash-container { padding: 16px 12px 60px; }
  .ypg-card { padding: 20px 16px; }
  .ypg-modal-grid { grid-template-columns: 1fr; }
  .ypg-modal-grid .ypg-field-full { grid-column: 1; }
  .ypg-reg-body { flex-direction: column; align-items: center; }
  .ypg-agent-badge { flex-direction: row; gap: 14px; width: 100%; max-width: 520px; }
  .ypg-form-card { min-width: 0; max-width: 100%; width: 100%; }
  .ypg-stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .ypg-stats-row { grid-template-columns: 1fr; }
  .ypg-btn-full-mobile { width: 100%; }
}

/* ===== EMAIL STATUS BADGES ===== */
.email-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}
.email-status-sent    { background: #DCFCE7; color: #166534; }
.email-status-failed  { background: #FEE2E2; color: #991B1B; }
.email-status-pending { background: #F3F4F6; color: #6B7280; }

/* ===== REGISTER PERKS LIST ===== */
.register-perks-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  text-align: left;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.register-perks-list li {
  font-size: 15px;
  color: var(--gold-light);
  padding: 4px 0;
}

/* ===== AGENT LICENSE ===== */
.agent-license-sm {
  font-size: 13px;
  color: var(--gray-400);
  display: block;
}

/* ===== GPS Button ===== */
.btn-gps {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--off-white);
  font-size: 20px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== DASHBOARD BODY OVERRIDE ===== */
body.has-ypg-dashboard,
body.has-ypg-register,
body.has-ypg-login {
  background: var(--off-white);
}
