.gp {
  /* —— Brand (only `--gp-primary` + `--gp-secondary`; other hues = color-mix) —— */
  --gp-primary: #0C4A60;
  --gp-secondary: #EF6C33;
  --gp-primary-hover: color-mix(in srgb, var(--gp-primary), #fff 16%);
  --gp-secondary-hover: color-mix(in srgb, var(--gp-secondary), #fff 14%);
  --gp-warning: color-mix(in srgb, var(--gp-primary) 48%, var(--gp-secondary));
  --gp-success: var(--gp-primary);
  --gp-danger: var(--gp-secondary);
  --gp-success-500: var(--gp-primary);
  --gp-success-600: color-mix(in srgb, var(--gp-primary), #000 26%);
  --gp-success-300: color-mix(in srgb, var(--gp-primary), #fff 32%);
  --gp-danger-600: color-mix(in srgb, var(--gp-secondary), #000 22%);
  --gp-warning-600: color-mix(in srgb, var(--gp-warning), #000 20%);
  --gp-warning-300: color-mix(in srgb, var(--gp-warning), #fff 30%);


  /* —— Surfaces —— */
  --gp-bg: #111827;
  --gp-bg-rgb: 17, 24, 39;
  --gp-console-bg: #141b2d;
  --gp-card-bg: #1f2937;
  --gp-card-bg-rgb: 31, 41, 55;
  --gp-surface: var(--gp-card-bg, #1f2937);
  --gp-surface-2: #374151;
  --gp-surface-2-rgb: 55, 65, 81;
  --gp-input-bg: #0f172a;
  --gp-input-bg-rgb: 15, 23, 42;
  --gp-co-card-bg: #1e2b41;
  --gp-flag-card-bg: #1d2940;
  --gp-slate-800-rgb: 30, 41, 59;

  /* —— Typography —— */
  --gp-text: #f9fafb;
  --gp-muted: #9ca3af;
  --gp-text-inverse: #ffffff;
  --gp-text-inverse-rgb: 255, 255, 255;
  --gp-text-heading: #f8fafc;
  --gp-text-heading-soft: #f1f5f9;
  --gp-text-slate-200: #e2e8f0;
  --gp-text-slate-300: #cbd5e1;
  --gp-text-slate-400: #94a3b8;
  --gp-text-blue-100: color-mix(in srgb, var(--gp-primary) 40%, var(--gp-text));
  --gp-text-blue-200: color-mix(in srgb, var(--gp-primary) 52%, var(--gp-text));
  --gp-text-blue-300: color-mix(in srgb, var(--gp-primary) 64%, var(--gp-text));
  --gp-text-emerald-200: color-mix(in srgb, var(--gp-primary) 44%, var(--gp-text));
  --gp-text-emerald-300: color-mix(in srgb, var(--gp-primary) 58%, var(--gp-text));
  --gp-text-amber-200: color-mix(in srgb, var(--gp-warning) 42%, var(--gp-text));
  --gp-text-amber-100: color-mix(in srgb, var(--gp-warning) 52%, var(--gp-text));
  --gp-text-red-200: color-mix(in srgb, var(--gp-secondary) 40%, var(--gp-text));
  --gp-text-red-300: color-mix(in srgb, var(--gp-secondary) 55%, var(--gp-text));
  --gp-text-violet-200: color-mix(in srgb, var(--gp-secondary) 48%, var(--gp-text));
  --gp-text-orange-100: color-mix(in srgb, var(--gp-secondary) 36%, var(--gp-text));
  --gp-text-on-success: color-mix(in srgb, var(--gp-primary), #000 58%);
  --gp-text-on-warning-btn: color-mix(in srgb, var(--gp-warning), #000 62%);

  /* —— Borders —— */
  --gp-border: #374151;
  --gp-border-rgb: 55, 65, 81;
  --gp-border-slate: #334155;
  --gp-border-slate-rgb: 51, 65, 85;
  --gp-border-muted: #4b5563;
  --gp-border-dashed: #475569;
  --gp-border-slate-500-rgb: 71, 85, 105;
  --gp-border-slate-400-rgb: 148, 163, 184;

  /* —— Gradients —— */
  --gp-gradient-brand-icon: linear-gradient(145deg,
      color-mix(in srgb, var(--gp-primary) 35%, transparent),
      color-mix(in srgb, var(--gp-primary) 8%, transparent));
  --gp-gradient-checkout-hero: linear-gradient(165deg,
      color-mix(in srgb, var(--gp-primary), #000 10%),
      color-mix(in srgb, var(--gp-primary), #000 22%));
  --gp-gradient-success-check: linear-gradient(145deg, var(--gp-success-500), var(--gp-success-600));
  --gp-gradient-host-avatar: linear-gradient(145deg,
      color-mix(in srgb, var(--gp-secondary) 55%, transparent),
      color-mix(in srgb, var(--gp-secondary), #000 18%));
  --gp-gradient-success-card: linear-gradient(165deg,
      rgba(var(--gp-slate-800-rgb), 0.98) 0%,
      rgba(var(--gp-input-bg-rgb), 0.99) 100%);

  /* —— Shadows —— */
  --gp-shadow-rgb: 0, 0, 0;
  --gp-shadow-elevated: 0px 3px 20px rgba(0, 0, 0, .1019607843);
  --gp-shadow-modal: 0 24px 48px rgba(var(--gp-shadow-rgb), 0.45);
  --gp-shadow-success-check: 0 8px 24px color-mix(in srgb, var(--gp-primary) 45%, transparent);
  --gp-shadow-success-card:
    0 0 0 1px color-mix(in srgb, var(--gp-primary) 15%, transparent),
    0 24px 48px rgba(var(--gp-shadow-rgb), 0.45),
    0 0 80px color-mix(in srgb, var(--gp-primary) 12%, transparent);
  --gp-shadow-online-dot: 0 0 8px color-mix(in srgb, var(--gp-primary) 65%, transparent);
  --gp-shadow-success-dot: 0 0 10px color-mix(in srgb, var(--gp-primary) 85%, transparent);

  /* —— Overlays / scrims —— */
  --gp-header-bg: rgba(var(--gp-bg-rgb), 0.92);
  --gp-backdrop-scrim: rgba(var(--gp-shadow-rgb), 0.72);
  --gp-footer-bar-bg: rgba(var(--gp-bg-rgb), 0.98);
  --gp-surface-foot-tint: rgba(var(--gp-input-bg-rgb), 0.35);
  --gp-pagination-row-muted: rgba(var(--gp-input-bg-rgb), 0.6);
  --gp-tab-hover-bg: rgba(var(--gp-surface-2-rgb), 0.35);
  --gp-tab-active-bg: color-mix(in srgb, var(--gp-primary) 18%, var(--gp-card-bg));
  --gp-tab-active-border: color-mix(in srgb, var(--gp-primary) 45%, var(--gp-card-bg));
  --gp-focus-ring: 0 0 0 3px color-mix(in srgb, var(--gp-primary) 25%, transparent);
  --gp-border-brand-soft: color-mix(in srgb, var(--gp-primary) 35%, transparent);
  --gp-border-success-soft: color-mix(in srgb, var(--gp-primary) 35%, transparent);
  --gp-border-success-mid: color-mix(in srgb, var(--gp-primary) 45%, transparent);
  --gp-border-warning-soft: color-mix(in srgb, var(--gp-warning) 35%, transparent);
  --gp-border-warning-mid: color-mix(in srgb, var(--gp-warning) 45%, transparent);
  --gp-border-danger-soft: color-mix(in srgb, var(--gp-secondary) 35%, transparent);
  --gp-border-primary-soft: color-mix(in srgb, var(--gp-primary) 35%, transparent);
  --gp-border-primary-mid: color-mix(in srgb, var(--gp-primary) 45%, transparent);
  --gp-border-secondary-soft: color-mix(in srgb, var(--gp-secondary) 35%, transparent);
  --gp-border-slate-glass: rgba(var(--gp-border-slate-400-rgb), 0.35);
  --gp-border-slate-strong: rgba(var(--gp-border-slate-500-rgb), 0.6);
  --gp-chip-primary-bg: color-mix(in srgb, var(--gp-primary) 12%, var(--gp-card-bg));
  --gp-chip-secondary-bg: color-mix(in srgb, var(--gp-secondary) 12%, var(--gp-card-bg));
  --gp-chip-success-bg: color-mix(in srgb, var(--gp-primary) 12%, var(--gp-card-bg));
  --gp-chip-secondary-hover-bg: color-mix(in srgb, var(--gp-secondary) 14%, var(--gp-card-bg));
  --gp-pill-online-bg: color-mix(in srgb, var(--gp-primary) 15%, var(--gp-card-bg));
  --gp-page-active-bg: color-mix(in srgb, var(--gp-primary) 20%, var(--gp-card-bg));
  --gp-page-active-border: color-mix(in srgb, var(--gp-primary) 45%, var(--gp-card-bg));
  --gp-pagination-active-bg: color-mix(in srgb, var(--gp-primary) 25%, var(--gp-card-bg));
  --gp-co-current-mini-bg: color-mix(in srgb, var(--gp-primary) 26%, var(--gp-card-bg));
  --gp-otp-icon-bg: color-mix(in srgb, var(--gp-primary) 15%, var(--gp-card-bg));
  --gp-success-banner-bg: color-mix(in srgb, var(--gp-primary) 14%, var(--gp-card-bg));
  --gp-primary-banner-bg: color-mix(in srgb, var(--gp-primary) 14%, var(--gp-card-bg));
  --gp-warning-banner-bg: color-mix(in srgb, var(--gp-warning) 16%, var(--gp-card-bg));
  --gp-repeat-banner-bg: color-mix(in srgb, var(--gp-primary) 8%, var(--gp-card-bg));
  --gp-console-qr-bg: color-mix(in srgb, var(--gp-secondary) 8%, var(--gp-card-bg));
  --gp-flag-form-input-bg: rgba(30, 41, 59, 0.9);
  --gp-flag-found-bg: rgba(15, 23, 42, 0.75);
  --gp-flag-found-item-bg: rgba(30, 41, 59, 0.9);
  --gp-success-badge-bar-bg: rgba(var(--gp-input-bg-rgb), 0.85);
  --gp-success-badge-icon-bg: color-mix(in srgb, var(--gp-primary) 22%, var(--gp-card-bg));
  --gp-success-card-border: color-mix(in srgb, var(--gp-primary) 35%, transparent);
  --gp-success-badge-icon-border: color-mix(in srgb, var(--gp-primary) 45%, transparent);
  --gp-success-footer-bg: rgba(var(--gp-border-slate-rgb), 0.45);
  --gp-success-footer-border: rgba(var(--gp-border-slate-500-rgb), 0.35);
  --gp-success-back-bg: color-mix(in srgb, var(--gp-primary) 25%, var(--gp-card-bg));
  --gp-success-back-border: color-mix(in srgb, var(--gp-primary) 45%, #fff);
  --gp-co-id-chip-bg: rgba(var(--gp-input-bg-rgb), 0.28);
  --gp-co-current-border: color-mix(in srgb, var(--gp-primary) 45%, #fff);
  --gp-offline-banner-border: color-mix(in srgb, var(--gp-warning) 55%, transparent);
  --gp-offline-banner-bg: color-mix(in srgb, var(--gp-warning) 15%, transparent);
  --gp-flag-stat-border: rgba(15, 23, 42, 0.35);
  --gp-flag-stat-dot-shadow: rgba(15, 23, 42, 0.18);
  --gp-scan-close-bg: rgba(var(--gp-surface-2-rgb), 0.55);
  --gp-time-icon-bg: color-mix(in srgb, var(--gp-primary) 35%, var(--gp-card-bg));
  --gp-time-icon-border: color-mix(in srgb, var(--gp-primary) 55%, #fff);
  --gp-success-avatar-border: color-mix(in srgb, var(--gp-primary) 45%, transparent);
  --gp-host-avatar-border: color-mix(in srgb, var(--gp-secondary) 45%, #fff);

  /* Legacy aliases (inline styles / older class names) */
  --gp-blue: var(--gp-primary);
  --gp-green: var(--gp-primary);
  --gp-yellow: var(--gp-warning);
  --gp-red: var(--gp-secondary);
  --gp-purple: var(--gp-secondary);
  --gp-orange: var(--gp-secondary);
  --gp-alert-success-bg: color-mix(in srgb, var(--gp-primary) 12%, var(--gp-card-bg));
  --gp-alert-success-border: color-mix(in srgb, var(--gp-primary) 40%, transparent);
  --gp-alert-warning-bg: color-mix(in srgb, var(--gp-warning) 12%, var(--gp-card-bg));
  --gp-alert-warning-border: color-mix(in srgb, var(--gp-warning) 40%, transparent);
  --gp-alert-danger-bg: color-mix(in srgb, var(--gp-secondary) 12%, var(--gp-card-bg));
  --gp-alert-danger-border: color-mix(in srgb, var(--gp-secondary) 35%, transparent);
  --gp-badge-success-bg: color-mix(in srgb, var(--gp-primary) 18%, var(--gp-card-bg));
  --gp-badge-warning-bg: color-mix(in srgb, var(--gp-warning) 18%, var(--gp-card-bg));
  --gp-trust-ring: color-mix(in srgb, var(--gp-primary) 25%, transparent);
  --gp-vs-badge-done: color-mix(in srgb, var(--gp-primary) 18%, var(--gp-card-bg));

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--gp-text, #f9fafb);
  background: var(--gp-bg, #111827);
  min-height: 100vh;
}

/* Optional light theme — override tokens only under `.gp` */
html[data-gp-theme="light"] .gp {
  --gp-primary: #0C4A60;
  --gp-secondary: #EF6C33;

  --gp-bg: #f8fafc;
  --gp-bg-rgb: 248, 250, 252;
  --gp-console-bg: #f1f5f9;
  --gp-card-bg: #ffffff;
  --gp-card-bg-rgb: 255, 255, 255;
  --gp-surface-2: #e2e8f0;
  --gp-surface-2-rgb: 226, 232, 240;
  --gp-input-bg: #ffffff;
  --gp-input-bg-rgb: 255, 255, 255;
  --gp-co-card-bg: #f8fafc;
  --gp-flag-card-bg: #f8fafc;

  --gp-text: #0f172a;
  --gp-muted: #64748b;
  --gp-text-heading: #0f172a;
  --gp-text-heading-soft: #1e293b;
  --gp-text-slate-200: #334155;
  --gp-text-slate-300: #475569;
  --gp-text-slate-400: #64748b;

  --gp-border: #e2e8f0;
  --gp-border-rgb: 226, 232, 240;
  --gp-border-slate: #cbd5e1;
  --gp-border-slate-rgb: 203, 213, 225;
  --gp-border-muted: #94a3b8;
  --gp-border-dashed: #94a3b8;
  --gp-border-slate-500-rgb: 100, 116, 139;
  --gp-border-slate-400-rgb: 148, 163, 184;

  --gp-gradient-success-card: linear-gradient(165deg,
      rgba(248, 250, 252, 0.98) 0%,
      rgba(241, 245, 249, 0.99) 100%);

  --gp-header-bg: #fff;
  --gp-backdrop-scrim: rgba(15, 23, 42, 0.45);
  --gp-footer-bar-bg: rgba(var(--gp-card-bg-rgb), 0.98);
  --gp-surface-foot-tint: rgba(var(--gp-border-rgb), 0.35);
  --gp-pagination-row-muted: rgba(var(--gp-border-rgb), 0.45);
  --gp-tab-hover-bg: rgba(var(--gp-surface-2-rgb), 0.5);

  /* Derived surfaces that would otherwise stay “dark UI” tinted */
  --gp-flag-form-input-bg: rgba(var(--gp-card-bg-rgb), 0.98);
  --gp-flag-found-bg: rgba(var(--gp-border-rgb), 0.35);
  --gp-flag-found-item-bg: rgba(var(--gp-card-bg-rgb), 0.95);
  --gp-flag-stat-border: rgba(var(--gp-border-slate-500-rgb), 0.2);
  --gp-flag-stat-dot-shadow: rgba(var(--gp-border-slate-500-rgb), 0.15);
  --gp-success-badge-bar-bg: rgba(var(--gp-border-rgb), 0.4);

}

body {
  font-family: 'Lexend' !important;
}

.gp-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.gp-login-card {
  width: 100%;
  max-width: 420px;
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  padding: 2rem 2rem 2.25rem;
  box-shadow: var(--gp-shadow-elevated);
}

.gp-login-card h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.gp-login-card .gp-sub {
  color: var(--gp-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.gp-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--gp-muted);
  margin-bottom: 0.4rem;
}

.gp-input {
  width: 100%;
  background: var(--gp-input-bg);
  border: 1px solid var(--gp-border);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  color: var(--gp-text);
  font-size: 16px;
  height: 60px;
  box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);


}

.gp-input:focus {
  outline: none;
  border-color: var(--gp-primary);

}

.gp-btn-primary {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  background-color: var(--gp-primary);
  background-image: none;
  color: var(--gp-text-inverse);
  margin-top: 1.25rem;
  text-decoration: none;
  box-sizing: border-box;
  height: 56px;
  box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  
}

.gp-btn-primary:hover {
  background-color: var(--gp-primary-hover);
  background-image: none;
  color: var(--gp-text-inverse);
}

a.gp-btn-primary,
.gp-toolbar .gp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0;
  -webkit-tap-highlight-color: transparent;
}

.gp-login-card .gp-btn-primary {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
}

.gp-login-card .form-check-label {
  color: var(--gp-muted);
}

.gp-login-card .form-check-input {
  background-color: var(--gp-input-bg);
  border-color: var(--gp-border);
}

.gp-login-card .form-check-input:checked {
  background-color: var(--gp-primary);
  border-color: var(--gp-primary);
}

.gp-empty-msg {
  color: var(--gp-muted);
}

.gp-alert {
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 16px;
  border: 1px solid transparent;
}

.gp-alert--success {
  background: #ecfdf5;
  border-color: #22c55e;
  color: #15803d;
}

.gp-alert--warning {
  background: var(--gp-alert-warning-bg);
  border-color: var(--gp-alert-warning-border);
  color: var(--gp-text-amber-200);
}

.gp-alert--error {
  background: var(--gp-alert-danger-bg);
  border-color: var(--gp-alert-danger-border);
  color: var(--gp-text-red-200);
}

.gp-checkout-form {
  flex: 1 1 auto;
  margin: 0;
  display: flex;
  min-width: 0;
  width: 100%;
  align-self: stretch;
}

.gp-checkout-form .gp-btn-danger {
  flex: 1;
  width: 100%;
  align-self: stretch;
  padding-block: 0.45rem;
  font-size: 1rem;
  line-height: 1.35;
}

.gp-error {
  background: #ef6c331c;
   color: #EF6C33;
  border: 1px solid var(--gp-secondary);

  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Dashboard shell */
.gp-app {
  min-height: 100vh;
  padding-bottom: 2rem;
}

body.gp-app:has(.gp-page-with-footer) {
  padding-bottom: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.gp-page-with-footer {
  flex: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.gp-app:has(.gp-page-with-footer) .gp-page-with-footer {
  min-height: 0;
}

.gp-page-with-footer__main {
  flex: 1 0 auto;
}

.gp-header {
  border-bottom: 1px solid var(--gp-border);
  background: var(--gp-header-bg);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Desktop: header + teal subnav stick together (drawer stays outside sticky wrapper) */
@media (min-width: 1200px) {
  .gp-console-sticky-shell {
    display: block;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    background-color: var(--gp-primary);
  }

  .gp-console-sticky-shell .gp-header {
    position: static;
  }
}

/* <1200px: wrapper must not create a sticky containing block — restores header sticky */
@media (max-width: 1199.98px) {
  .gp-console-sticky-shell {
    display: contents;
  }
}

.gp-header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 1rem 0;
  display: flex;

  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.gp-brand {
  display: flex;
  align-items: center;
  gap: 60px;
}

.gp-brand-site--desktop {
  min-width: 0;
  text-align: left;
}

.gp-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gp-gradient-brand-icon);
  border: 1px solid var(--gp-border-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-primary);
  font-size: 1.15rem;
}

.gp-brand h1 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.gp-brand p {
  margin: 0;
  font-size: 16px;
  color: var(--gp-muted);
}

.gp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;

}

/* Guard console: <1200px — site strip renders below header (not inside sticky); tighter brand gap */
@media (max-width: 1199.98px) {
  .gp-header--console .gp-brand {
    gap: 1rem;
  }

  .gp-header-site-mobile {
    max-width: 1875px;
    margin: 0 auto;
    padding: 0 1.25rem 0.65rem;
    box-sizing: border-box;
    width: 100%;
  }

  .gp-header-site-mobile-inner {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #dfdfdf;
    background: #fff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
}

.gp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 10px;
  font-size: 16px;
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
  color: var(--gp-muted);
}

.gp-dot-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gp-success);
  box-shadow: var(--gp-shadow-online-dot);
}

.gp-btn-ghost {
  border: 0;
  background: none;
  color: var(--gp-text);
  border-radius: 10px;
  padding: 0.4rem 0.85rem;
  font-size: 16px;
}



.gp-clock {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 16px;
}

.gp-wrap {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;

}

/* Page attribution footer (Powered by Safiri24) */
.gp-powered-footer {
  flex-shrink: 0;
  width: 100vw;
  max-width: 100vw;
  margin-top: auto;
  margin-bottom: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 25px 1.5rem 0.65rem;
  background: #ebf2f8;
  border-top: none;
  box-sizing: border-box;
}

.gp-powered-footer__text p{
  font-weight: 400;
}

.gp-powered-footer__text {
  margin: 0;
  text-align: center;
  font-size: 18px;
  
  line-height: 1.45;
  color: #333;
}

.gp-powered-footer__text a{
  font-weight: 700;
}

.gp-powered-footer__link {
  color: var(--gp-secondary);
  text-decoration: none;
}

.gp-powered-footer__link:hover {
  color: var(--gp-primary);
  text-decoration: underline;
}

/* Guard subnav: full-width primary bar; active = white text + white border-bottom */
nav.gp-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem;
  width: 100%;
  max-width: 1321px;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 0.5rem 0 0;
  border-radius: 0;
  background: var(--gp-primary);
  border: none;
  margin: 0 auto;
}

.gp-tab {
  padding: 0.55rem 1rem 12px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0;
}



.gp-tab:hover {
  color: #fff;
  background: none;
}

.gp-tab.active {
  color: #fff;
  border-bottom-color: #fff;
  background: transparent;
}

a.gp-tab-link {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

a.gp-tab-link:hover {
  color: #fff;
}

a.gp-tab-link:focus-visible {
  outline: none;
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
}

.gp-tab--disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Mobile / tablet: hamburger + drawer; desktop tab bar unchanged */
.gp-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 33px;
  padding: 0;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  background: var(--gp-primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.gp-nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gp-primary) 35%, transparent);
}

.gp-nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}

.gp-nav-toggle--open .gp-nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.gp-nav-toggle--open .gp-nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.gp-nav-toggle--open .gp-nav-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.gp-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1080;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.3s;
}

.gp-nav-drawer.gp-nav-drawer--open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}

.gp-nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.gp-nav-drawer--open .gp-nav-drawer-backdrop {
  opacity: 1;
}

.gp-nav-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: auto;
  width: min(300px, 90vw);
  max-width: 100%;
  background: var(--gp-primary);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  padding: 1.1rem 1rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.gp-nav-drawer--open .gp-nav-drawer-panel {
  transform: translateX(0);
}

.gp-nav-drawer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

a.gp-nav-drawer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0 0.45rem;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}

a.gp-nav-drawer-link:hover {
  color: #fff;
  background: none;
}

a.gp-nav-drawer-link.active {
  color: #fff;
  background: transparent;
  border-bottom-color: #fff;
}

body.gp-nav-drawer-open {
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  nav.gp-tabs {
    display: none !important;
  }

  .gp-nav-toggle {
    display: inline-flex;
  }
}

.gp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.gp-stat {
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
}

.gp-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--gp-muted);
  margin-bottom: 0.35rem;
}

.gp-stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.gp-stat--inside {
  border-color: #39ae4154;
}

.gp-stat--inside .gp-stat-value {
  color: #39AE41;
}

.gp-stat--waiting {
  border-color: var(--gp-border-danger-soft);
}

.gp-stat--waiting .gp-stat-value {
  color: #EF6C33;
}

.gp-stat--flagged {
  border-color: #ec485c33;
}

.gp-stat--flagged .gp-stat-value {
  color: #EC485C;
}

.gp-stat--today {
  border-color: var(--gp-border-primary-mid);
}

.gp-stat--today .gp-stat-value {
  color: var(--gp-primary);
}

/* Dashboard filter bar: search stretches left column; actions stay right */
.gp-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gp-toolbar-left {
  min-width: 0;
}

.gp-toolbar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
      justify-content: space-between;
  gap: 0.65rem;width: 100%;
}

.gp-toolbar-select {
  width: auto;
  min-width: 140px;
}

/* Toolbar status dropdown: extra inset so chevron isn’t flush to the border */
select.gp-input.gp-select.gp-toolbar-select {
  padding-right: 2.85rem;
  background-position: right 1rem center;
}

.gp-search {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  position: relative;
}

.gp-search-magnify {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gp-muted);
  font-size: 18px;
  pointer-events: none;
}

.gp-search input {
  padding-left: 2.75rem;
  padding-right: 2.75rem;
}

.gp-search-clear {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--gp-primary);
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.gp-search-clear:hover {
  color: var(--gp-text);
  background: rgba(var(--gp-border-rgb), 0.35);
}

.gp-search-clear:focus-visible {
  outline: none;
  box-shadow: var(--gp-focus-ring);
}

.gp-search-clear i {
  font-size: 0.9rem;
}

/* Visitors dashboard toolbar (search + status + action buttons, one row) */
.gp-visitors-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  grid-template-columns: none;
}

.gp-visitors-toolbar .gp-search {
  flex: 1 1 220px;
  min-width: 0;
}

.gp-visitors-toolbar-input,
.gp-visitors-toolbar-select {
  height: 56px;
  min-height: 56px;
  border-radius: 8px;
  font-size: 1rem;
}

.gp-visitors-toolbar-select {
  width: auto;
  min-width: 150px;
  flex: 0 0 auto;
  font-weight: 600;
}

.gp-visitors-toolbar-actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
}

.gp-visitors-toolbar-actions .gp-toolbar-btn {
  width: 158px;
  min-width: 158px;
  max-width: 158px;
  box-sizing: border-box;
  padding-left: 0.65rem;
  padding-right: 0.65rem;
}

.gp-toolbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 56px;
  padding: 0 1.15rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  color: var(--gp-text-inverse);
  box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.gp-toolbar-btn:hover {
  filter: brightness(1.06);
  color: var(--gp-text-inverse);
}

.gp-toolbar-btn--checkout {
  background: var(--gp-secondary);
}

.gp-toolbar-btn--checkout:hover {
  background: var(--gp-secondary-hover);
}

.gp-toolbar-btn--flag {
  background: #ef4444;
}

.gp-toolbar-btn--flag:hover {
  background: #dc2626;
}

.gp-toolbar-btn--new {
  background: var(--gp-primary);
}

.gp-toolbar-btn--new:hover {
  background: var(--gp-primary-hover);
}

@media (max-width: 991px) {
  .gp-visitors-toolbar-actions {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
  }

  .gp-visitors-toolbar-actions .gp-toolbar-btn {
    flex: 1 1 calc(33.333% - 6px);
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .gp-visitors-toolbar-select {
    flex: 1 1 140px;
  }
}

.gp-grid {
  display: grid;
  width: 100%;
  gap: 1.5rem;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .gp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .gp-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Expected visitors full-day list: max 2 cards per row (overrides 3-col .gp-grid) */
  .gp-grid.gp-grid--2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gp-grid > .gp-vcard,
.gp-grid > .gp-ev-next-card {
  min-width: 0;
  min-height: 100%;
  align-self: stretch;
  box-sizing: border-box;
}

#gp-dashboard-visitors .gp-grid {
  align-items: stretch;
}

#gp-dashboard-visitors .gp-grid > .gp-vcard {
  height: 100%;
}

/* Visitors dashboard: status filter tabs (segmented control) */
.gp-visitors-tabs {
  display: flex;
  align-items: stretch;
  gap: 0.3rem;
  padding: 6px;
  margin-top: 0;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: #E5EEF6;
  border: 1px solid #C9D9E4;
  box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
}

.gp-visitors-tab {
  flex: 1 1 0;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 0.65rem;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  color: var(--gp-primary);
  background: transparent;
  border: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.gp-visitors-tab__icon {
  width: 1.125rem;
  height: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}

.gp-visitors-tab__icon i {
  font-size: 1.05rem;
  line-height: 1;
  color: inherit;
}

.gp-visitors-tab__waiting-icon {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
  flex-shrink: 0;
  color: inherit;
}

.gp-visitors-tab span {
  white-space: nowrap;
}

.gp-visitors-tab:hover:not(.is-active) {
  color: var(--gp-primary);
  background: rgba(255, 255, 255, 0.4);
}

.gp-visitors-tab.is-active {
  --gp-visitors-tab-active-bg: #fff;
  --gp-visitors-tab-active-fg: var(--gp-secondary);
  background: var(--gp-visitors-tab-active-bg);
  color: var(--gp-visitors-tab-active-fg);
  box-shadow: 0 1px 2px rgba(12, 74, 96, 0.1), 0 2px 8px rgba(15, 23, 42, 0.08);
}

.gp-visitors-tab--waiting.is-active {
  --gp-visitors-tab-active-bg: var(--gp-secondary);
  --gp-visitors-tab-active-fg: #fff;
  box-shadow: none;
}

.gp-visitors-tab--inside.is-active {
  --gp-visitors-tab-active-bg: #38AB40;
  --gp-visitors-tab-active-fg: #fff;
  box-shadow: none;
}

.gp-visitors-tab--flagged.is-active {
  --gp-visitors-tab-active-bg: #EF4444;
  --gp-visitors-tab-active-fg: #fff;
  box-shadow: none;
}

.gp-visitors-tab.is-active .gp-visitors-tab__icon,
.gp-visitors-tab.is-active .gp-visitors-tab__icon i,
.gp-visitors-tab.is-active .gp-visitors-tab__waiting-icon,
.gp-visitors-tab.is-active .gp-visitors-tab__inside-icon {
  color: var(--gp-visitors-tab-active-fg);
}

.gp-visitors-section-title {
  margin: 0 0 17px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
}

@media (max-width: 767.98px) {
  .gp-visitors-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .gp-visitors-tabs::-webkit-scrollbar {
    display: none;
  }

  .gp-visitors-tab {
    flex: 0 0 auto;
    min-width: auto;
  }
}

.gp-vcard {
  border-radius: 12px;
  border: 1px solid #e2e8f0 !important;
  background: #fff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100%;
  transform-origin: center center;
  transition:
    transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.38s ease,
    border-color 0.25s ease;
}

.gp-vcard:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  z-index: 1;
  position: relative;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .gp-vcard {
    transition: none;
  }

  .gp-vcard:hover {
    transform: none;
  }
}

.gp-vcard--inside {
  position: relative;
  background: #F8FFF8 !important;
  border: 1px solid #B0DFB3 !important;
  border-radius: 16px;
  box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border-top: 5px solid #39AE41 !important;
}

/* .gp-vcard--inside::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: #39ae41;
  z-index: 2;
  pointer-events: none;
} */

.gp-vcard--inside .gp-vcard-head,
.gp-vcard--inside .gp-vcard-body {
  background: #f4faf6;
}

.gp-vcard--inside .gp-vcard-title {
  color:#000;
}

.gp-vcard--inside .gp-vcard-phone {
  color: #64748B;
}

.gp-vcard--inside .gp-vcard-body dt {
  color: #64748B;
  font-weight: 600;
}

.gp-vcard--inside .gp-vcard-body dd {
  color: #000;
  font-weight: 600;
}

.gp-vcard--inside .gp-badge--inside {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
}

.gp-vcard--flagged {
  position: relative;
  background: #FFF3F3 !important;
  border: 1px solid #FFD4D4 !important;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(226, 87, 76, 0.08);
  overflow: hidden;
  border-top: 5px solid #D63343 !important;
}

.gp-vcard--flagged .gp-vcard-head,
.gp-vcard--flagged .gp-vcard-body {
  background: #fff8f8;
}

.gp-vcard--flagged .gp-vcard-title {
  color: #000;
}

.gp-vcard--flagged .gp-vcard-phone {
  color: #64748b;
}

.gp-vcard--flagged .gp-vcard-body dt {
  color: #64748b;
  font-weight: 600;
}

.gp-vcard--flagged .gp-vcard-body dd {
  color: #000;
  font-weight: 600;
}

.gp-vcard--flagged .gp-badge--inside {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
}

.gp-vcard--flagged .gp-vcard-foot {
  background: #fff;
  padding: 0.85rem 1rem 1rem;
  min-height: auto;
  height: auto;
  border-top: 1px solid #f0e0e0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.gp-vcard--flagged .gp-checkout-form {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: stretch;
}

.gp-vcard--flagged .gp-btn-checkout-card {
  width: 100%;
  min-height: 44px;
  height: 44px;
  max-height: none;
  padding: 0 1rem;
  border: none;
  border-radius: 12px;
  background: #f27435;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease;
}

.gp-vcard--flagged .gp-btn-checkout-card:hover {
  background: #e0682f;
  color: #fff;
}

.gp-vcard--waiting {
  position: relative;
  background: #FFF7EF;
  border: 1px solid #FFE8DE !important;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(239, 108, 51, 0.08);
  overflow: hidden;
  border-top: 5px solid #EF6C33 !important;
}

/* .gp-vcard--waiting::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--gp-secondary);
  z-index: 2;
  pointer-events: none;
} */

.gp-vcard--waiting .gp-vcard-head,
.gp-vcard--waiting .gp-vcard-body {
  background: #fff5ed;
}

.gp-vcard--waiting .gp-vcard-title {
  color: #000;
}

.gp-vcard--waiting .gp-vcard-phone {
  color: #64748B;
}

.gp-vcard--waiting .gp-vcard-body dt {
  color: #64748B;
  font-weight: 600;
}

.gp-vcard--waiting .gp-vcard-body dd {
  color: #000;
  font-weight: 600;
}

.gp-vcard--waiting .gp-badge--waiting {
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
}

.gp-vcard .gp-ev-avatar--initials {
  background: var(--gp-primary);
  color: #fff;
}

.gp-vcard-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.gp-vcard-avatar-wrap .gp-vcard-avatar--photo {
  width: 44px;
  height: 44px;
}

.gp-vcard-avatar-wrap .gp-vcard-avatar-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
}

.gp-vcard-head {
  padding: 1.15rem 1.25rem 0.75rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
  min-width: 0;
}

.gp-vcard-head-main {
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(100% - 5.5rem);
}

.gp-vcard-head-main .flex-grow-1 {
  flex: 1 1 0;
  min-width: 0;
  width: 0;
}

.gp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;

}

.gp-vcard-title {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  margin: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-vcard-phone {
  font-size: 16px;
  color: var(--gp-muted);
  margin: 0;
}

.gp-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  white-space: nowrap;
}

.gp-badge--inside {
  background: #39ae41;
  color: #fff;
}

.gp-badge--waiting {
  background: var(--gp-secondary);
  color: #fff;
}

.gp-vcard-body {
  padding: 0 1.25rem 1rem;
  font-size: 0.85rem;
  color: var(--gp-muted);
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.gp-vcard--waiting .gp-vcard-body,
.gp-vcard--inside .gp-vcard-body {
  min-height: 13.25rem;
  position: relative;
}

.gp-vcard-body dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.55rem;
  align-items: start;
}

.gp-vcard-body dt {
  font-size: 14px;
  text-transform: uppercase;
  margin: 0;
  color: var(--gp-muted);
  white-space: nowrap;
  padding-top: 0.12em;
  font-weight: 600;
}

.gp-vcard-body dd {
  margin: 0;
  color: var(--gp-text);
  font-weight: 600;
  min-width: 0;
  font-size: 16px;
}

.gp-vcard-foot {
  padding: 0.85rem 1.25rem 1rem;
  display: flex;
  gap: 0.5rem;
  border-top: 1px solid #e2e8f0;
  background: #fff;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  box-sizing: border-box;
}

.gp-vcard--inside .gp-vcard-foot,
.gp-vcard-foot--waiting {
  background: #fff;
  padding: 0.75rem 1rem;
  min-height: 4.25rem;
  height: 4.25rem;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.gp-vcard--inside .gp-vcard-foot {
  border-top: 1px solid #e8ebe9;
}

.gp-vcard--inside .gp-checkout-form,
.gp-vcard-wait-actions {
  width: 100%;
  height: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  display: flex;
  align-items: stretch;
}

.gp-vcard--inside .gp-btn-checkout-card,
.gp-btn-waiting-remind,
.gp-btn-waiting-view,
.gp-btn-waiting-cancel-text {
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 0 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
  box-sizing: border-box;
}

.gp-vcard--inside .gp-btn-checkout-card {
  border: none;
  background: #f27435;
  color: #fff;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.gp-vcard--inside .gp-btn-checkout-card:hover {
  background: #e0682f;
  color: #fff;
}

.gp-vcard-foot .wait-btn {
  flex: 1 1 auto;
  min-width: 0;
}

.gp-vcard-foot--waiting {
  flex-wrap: nowrap;
  gap: 0;
  border-top: 1px solid #ebe6e1;
}

.gp-vcard-wait-meta {
  margin-top: auto;
  padding-top: 0.85rem;
}

.gp-vcard--waiting .gp-vcard-wait-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0;
  padding-top: 0;
  color: var(--gp-secondary);
  font-weight: 500;
  font-size: 18px;
  flex: 1 1 auto;
  min-width: 0;
}

.gp-vcard--waiting .gp-vcard-wait-status span {
  line-height: 1.3;
}

.gp-vcard-corner-badges {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1;
}

.gp-vcard-corner-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.42rem 0.75rem 0.42rem 0.6rem;
  background: var(--gp-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px 0 0 0;
  line-height: 1;
}

.gp-vcard-corner-badges .gp-vcard-corner-badge + .gp-vcard-corner-badge {
  border-radius: 10px 0 0 0;
  margin-top: -1px;
}

.gp-vcard-corner-badge--vip {
  text-transform: uppercase;
}

.gp-vcard-corner-badge--regular {
  text-transform: none;
}

.gp-vcard-corner-badge--flagged {
  background: #fde8e8;
  color: #dc3545;
  border: none;
  border-top: 1.5px solid #dc3545;
  border-left: 1.5px solid #dc3545;
  border-radius: 10px 0 0 0;
  font-weight: 700;
  text-transform: none;
  padding: 0.4rem 0.72rem 0.4rem 0.55rem;
  gap: 0.4rem;
}

.gp-vcard-corner-badge--flagged .gp-vcard-flagged-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.gp-vcard-corner-badge--flagged .gp-vcard-flagged-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.gp-vcard-corner-badges .gp-vcard-corner-badge--flagged + .gp-vcard-corner-badge {
  border-radius: 0;
}

.gp-vcard-corner-badge .fa-crown,
.gp-vcard-corner-badge .fa-user {
  font-size: 15px;
  opacity: 0.95;
}

.gp-vcard-flag-verify {
  margin-top: auto;
  padding-top: 0.85rem;
}

.gp-vcard-flag-verify__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gp-vcard-flag-verify__icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.7rem;
  line-height: 1;
}

.gp-vcard-flag-verify__title {
  font-size: 1rem;
  font-weight: 700;
  color: #DC3545;
  line-height: 1.3;
}

.gp-vcard-flag-verify__text {
  margin: 0.45rem 0 0.5rem;
  padding-left: 1.85rem;
  color: var(--gp-primary);
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 500;
}

.gp-vcard-flag-view-reason {
  display: inline-block;
  margin: 0 0 0 1.85rem;
  padding: 0;
  border: none;
  background: none;
  color: #DC3545;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}

.gp-vcard-flag-view-reason:hover {
  color: #c62828;
  text-decoration: underline;
}

.gp-vcard-wait-actions {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
}

.gp-vcard-inside-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
}

.gp-vcard-inside-actions form,
.gp-vcard-inside-actions > button {
  min-width: 0;
  margin: 0;
  display: flex;
}

.gp-vcard-foot--inside .gp-vcard-inside-actions .gp-btn-checkout-card {
  width: 100%;
}

.gp-vcard-wait-actions form,
.gp-vcard-wait-actions > a,
.gp-vcard-wait-actions > button,
.gp-vcard-wait-actions > span {
  min-width: 0;
  margin: 0;
  display: flex;
}

.gp-btn-waiting-remind,
.gp-btn-waiting-view {
  flex: 1 1 0;
  border: none;
  background: var(--gp-secondary);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gp-btn-waiting-cancel-text {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gp-btn-waiting-remind:hover,
.gp-btn-waiting-view:hover {
  background: var(--gp-secondary-hover);
  color: #fff;
}

.gp-btn-waiting-cancel-text {
  border: 1.5px solid #DC3545;
  background: #fff;
  color: #DC3545;
  font-weight: 600;
}

.gp-btn-waiting-cancel-text:hover {
  background: #fff8f4;
  color: var(--gp-secondary-hover);
  border-color: var(--gp-secondary-hover);
}

.gp-btn-waiting-view.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  background: color-mix(in srgb, var(--gp-secondary) 65%, #fff);
}

button.gp-btn-waiting-view {
  width: 100%;
  font: inherit;
  border-radius: 8px;
}

.gp-waiting-offcanvas {
  --bs-offcanvas-width: min(600px, 100vw);
  width: min(600px, 100vw);
  max-width: min(600px, 100vw);
  border-left: 1px solid #e2e8f0;
  background: #fff;
  z-index: 1060;
  visibility: hidden;
}

.gp-waiting-offcanvas.show,
.gp-waiting-offcanvas.showing {
  visibility: visible;
  transform: translateX(0) !important;
}

.offcanvas-backdrop.show {
  z-index: 1055;
}

.gp-waiting-offcanvas__head {
  position: relative;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
}

.gp-waiting-offcanvas__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gp-waiting-offcanvas__title {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
}

.gp-waiting-offcanvas__sub {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.4;
  padding-right: 1.5rem;
}

.gp-waiting-offcanvas__body {
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
  background: #f4f6f8;
}

.gp-waiting-offcanvas__guest {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  min-width: 0;
}

.gp-waiting-offcanvas__avatar-wrap {
  flex-shrink: 0;
  position: relative;
  width: 52px;
  height: 52px;
}

.gp-waiting-offcanvas__avatar {
  width: 52px;
  height: 52px;
}

.gp-waiting-offcanvas__avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.gp-waiting-offcanvas__guest-meta {
  flex: 1 1 0;
  min-width: 0;
}

.gp-waiting-offcanvas__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
}

.gp-waiting-offcanvas__phone {
  font-size: 0.9rem;
  color: #64748b;
}

.gp-waiting-offcanvas__badge {
  flex-shrink: 0;
  margin-left: auto;
}

.gp-oc-visit-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.gp-oc-dynamic-form {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.gp-oc-dynamic-form__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 0.55rem 1rem;
  margin: 0;
}

.gp-oc-dynamic-form__list dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.gp-oc-dynamic-form__list dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.35;
  word-break: break-word;
}

.gp-oc-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.gp-oc-field__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.gp-oc-field__icon--visiting {
  background: #e8f4fa;
  color: var(--gp-primary);
}

.gp-oc-field__icon--host {
  background: #eef2ff;
  color: #4f46e5;
}

.gp-oc-field__icon--requested {
  background: #e0f2fe;
  color: #0284c7;
}

.gp-oc-field__icon--purpose {
  background: #fff4ed;
  color: var(--gp-secondary);
}

.gp-oc-field__icon--waiting-time {
  background: #fef3c7;
  color: #d97706;
}

.gp-oc-field__content {
  flex: 1 1 auto;
  min-width: 0;
}

.gp-oc-field__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.gp-oc-field__value {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.35;
  word-break: break-word;
}

.gp-oc-visit-details__heading,
.gp-visit-timeline__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 -1.25rem 1rem;
  padding: 0 1.25rem 0.85rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.gp-oc-visit-details__heading-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.gp-oc-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.15rem;
}

.gp-oc-detail-row__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.gp-oc-detail-row__value {
  font-size: 0.98rem;
  font-weight: 700;
  color: #000;
  line-height: 1.35;
  word-break: break-word;
}

.gp-oc-detail-row__value--access {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gp-oc-access-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.gp-oc-access-dot--approved {
  background: #22c55e;
}

.gp-oc-access-dot--pending {
  background: var(--gp-secondary);
}

.gp-visit-timeline {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.gp-visit-timeline__heading {
  gap: 0.45rem;
}

.gp-visit-timeline__heading i {
  color: var(--gp-primary);
  font-size: 1rem;
}

.gp-visit-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gp-visit-timeline__item {
  position: relative;
  display: flex;
  gap: 0.85rem;
  padding-bottom: 1.15rem;
}

.gp-visit-timeline__item:last-child {
  padding-bottom: 0;
}

.gp-visit-timeline__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.gp-visit-timeline__icon--green {
  background: #dcfce7;
  border: 2px solid #22c55e;
  color: #22c55e;
}

.gp-visit-timeline__icon--blue {
  background: #dbeafe;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.gp-visit-timeline__icon--purple {
  background: #ede9fe;
  border: 2px solid #8b5cf6;
  color: #8b5cf6;
}

.gp-visit-timeline__icon--muted {
  background: #f1f5f9;
  border: 2px solid #cbd5e1;
  color: #64748b;
}

.gp-visit-timeline__icon--orange {
  background: #fff4ed;
  border: 2px solid var(--gp-secondary);
  color: var(--gp-secondary);
}

.gp-visit-timeline__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.65rem;
}

.gp-visit-timeline__main {
  min-width: 0;
}

.gp-visit-timeline__main strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0c4a60;
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.gp-visit-timeline__main p {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.gp-visit-timeline__item--pending .gp-visit-timeline__main strong,
.gp-visit-timeline__item--pending .gp-visit-timeline__main p {
  color: #94a3b8;
}

.gp-visit-timeline__item--current .gp-visit-timeline__main strong {
  color: var(--gp-secondary);
}

.gp-visit-timeline__item--current .gp-visit-timeline__main p {
  color: #64748b;
}

.gp-visit-timeline__time {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
  padding-top: 0.1rem;
}

.gp-visit-timeline__time--muted {
  color: #94a3b8;
}

.gp-visit-timeline__time--orange {
  color: var(--gp-secondary);
}

.gp-waiting-offcanvas__foot {
  padding: 1rem 1.25rem 1.25rem;
  padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e9ecef;
  background: #fff;
}

.gp-waiting-offcanvas__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  width: 100%;
}

.gp-waiting-offcanvas__action {
  min-width: 0;
  margin: 0;
  display: flex;
}

.gp-waiting-offcanvas__foot .gp-btn-waiting-remind,
.gp-waiting-offcanvas__foot .gp-btn-waiting-cancel-text {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
}

#gp-visitor-offcanvas-foot-inside.gp-waiting-offcanvas__actions {
  grid-template-columns: 1fr;
}

.gp-waiting-offcanvas__foot .gp-btn-checkout-card {
  width: 100%;
  min-height: 44px;
  height: 44px;
  max-height: 44px;
  padding: 0 1rem;
  border: none;
  border-radius: 12px;
  background: #f27435;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  font-family: inherit;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.15s ease;
}

.gp-waiting-offcanvas__foot .gp-btn-checkout-card:hover,
.gp-waiting-offcanvas__foot .gp-btn-checkout-card:focus {
  background: #e0682f;
  color: #fff;
  outline: none;
}

.gp-btn-notify-host {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--gp-secondary, #ef6c33);
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  background: #fff;
  color: var(--gp-secondary, #ef6c33);
  white-space: nowrap;
  cursor: pointer;
}

.gp-btn-notify-host:hover {
  background: color-mix(in srgb, var(--gp-secondary, #ef6c33) 8%, #fff);
  color: var(--gp-secondary, #ef6c33);
}

.gp-btn-notify-host:focus-visible {
  outline: none;
  box-shadow: var(--gp-focus-ring);
}

.gp-btn-danger {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  font-size: 18px;
  background: var(--gp-danger);
  color: var(--gp-text-inverse);
}

.gp-btn-success {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  font-size: 18px;
  background: var(--gp-success);
  color: var(--gp-text-inverse);
}

.gp-btn-warn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--gp-warning);
  color: var(--gp-text-on-warning-btn);
}

.gp-btn-icon {
  width: 42px;
  border-radius: 20px;
  border: 1px solid var(--gp-border);
  background: #fff;
  color: var(--gp-text);
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: #EC485C;
  color: #EC485C;
}

.gp-pagination {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

.gp-page {
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--gp-border);
  background: var(--gp-surface);
  color: var(--gp-muted);
  font-size: 0.85rem;
}

.gp-page.active {
  border-color: var(--gp-primary);
  background: var(--gp-page-active-bg);
  color: var(--gp-text-blue-100);
  font-weight: 700;
}

.gp-section-title {
  color: var(--gp-muted);
  font-weight: 700;
}

.gp-pagination-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  margin-bottom: 35px;
}

.gp-pagination-meta {
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c6b89;
  line-height: 1.35;
}

.gp-pagination-meta--solo {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.gp-pagination-control {
  display: inline-flex;
  align-items: stretch;
  flex-shrink: 0;
  border: 1px solid #c9d9e4;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.gp-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.4rem 0.55rem;
  font-size: 1.05rem;
  line-height: 1;
  color: #5c6b89;
  text-decoration: none;
  background: #fff;
  transition: background 0.15s ease;
}

a.gp-pagination-btn:hover {
  background: #f0f4f8;
  color: #3d5166;
}

.gp-pagination-btn.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.gp-pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #5c6b89;
  background: #eef2f6;
  border-left: 1px solid #c9d9e4;
  border-right: 1px solid #c9d9e4;
  white-space: nowrap;
}

.gp-pagination-ul .page-link {
  background: var(--gp-surface);
  border-color: var(--gp-border);
  color: var(--gp-text);
}

.gp-pagination-ul .page-item.disabled .page-link {
  background: var(--gp-pagination-row-muted);
  color: var(--gp-muted);
  border-color: var(--gp-border);
}

.gp-pagination-ul .page-item.active .page-link {
  background: var(--gp-pagination-active-bg);
  border-color: var(--gp-page-active-border);
  color: var(--gp-text-blue-100);
}

.gp-pagination-ul .page-link:hover {
  background: var(--gp-surface-2);
  color: var(--gp-text-inverse);
  border-color: var(--gp-muted);
}

.gp-sites-line {
  font-size: 0.78rem;
  color: var(--gp-muted);
  margin-top: 0.25rem;
}

/* —— Check-In Console —— */


.mb-60px{
  margin-bottom: 25px !important;
}

.max-w-896px {
  max-width: 869px !important;
}

@media (min-width: 768px) {
  .gp-console-page {
    margin: 0 auto;
    max-width: 1320px;

  }
}

.gp-header--console .gp-brand-icon--shield {
  background: var(--gp-gradient-brand-icon);
}

.gp-pill--online {
  background: var(--gp-pill-online-bg);
  border-color: var(--gp-border-success-soft);
  color: var(--gp-text-emerald-300);
}

.gp-console-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 1rem 0 1.25rem;
}

.gp-console-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 18px;
  color: var(--gp-muted);
}

.gp-console-stat i {
  font-size: 1.1rem;
}

.gp-console-stat--inside {
  color: var(--gp-success);
}

.gp-console-stat--waiting {
  color: var(--gp-danger);
}

.gp-console-stat--flagged {
  color: rgb(239 68 68);
}

.gp-console-stat-divider {
  width: 1px;
  height: 22px;
  background: var(--gp-border);
}

.gp-console-card {

  border-radius: 20px;
border: 1px solid #E9E9E9;
background: #FFF;
box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  padding: 30px;
  margin-bottom: 1.25rem;
  
 
}



.gp-console-section {
  
  margin: 0 auto;
  margin-top: 25px;
}

.gp-console-card-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.gp-console-card-sub {
  color: #000;
  font-size: 20px;
  margin: 0 0 1.25rem;
  font-weight: 500;

}

.gp-console-card-subs {
  border-radius: 10px;
  border: 1px solid #B3EFC8;
  background: #F0FDF4;
  padding: 10px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 381px;
  margin: 0 auto;
  text-align: start;
}

.gp-console-field-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 16px;
  font-weight: 600;
  color: var(--gp-text);
  margin-bottom: 0.5rem;
}

.gp-console-label-icon {
  color: var(--gp-primary);
}

/* Country + phone: two rounded fields + gap (ref. split phone row) */
.gp-console-phone-combo {
  --gp-console-phone-row-h: 2.85rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.gp-console-country-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
  max-width: 35%;
}

.gp-console-phone-combo .gp-console-country-select {
  margin: 0;
  min-width: 7.25rem;
  max-width: 100%;
  min-height: var(--gp-console-phone-row-h);
  height: 100%;
  border-radius: 10px;
  border: 1px solid var(--gp-border);
  background: var(--gp-input-bg);
  color: var(--gp-text);
  padding: 0.55rem 1.85rem 0.55rem 0.75rem;
  box-shadow: none;
  line-height: 1.25;
  font-size: 16px;
  font-weight: 500;
}

.gp-console-phone-combo .gp-console-country-select:focus {
  outline: none;
  border-color: var(--gp-primary);
  box-shadow: none;
}


.gp-console-phone-input-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: var(--gp-console-phone-row-h);
  border: 1px solid var(--gp-border);
  border-radius: 10px;
  background: var(--gp-input-bg);
  box-sizing: border-box;
}

.gp-console-phone-input-wrap:focus-within {
  border-color: var(--gp-primary);
  box-shadow: none;
}

.gp-console-phone-combo .gp-console-phone-input {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 7rem 0.55rem 0.75rem;
  min-height: 100%;
  border: none;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  font-weight: 500;
  font-size: 16px;
  height: 60px;
  padding-right: 0 !important;
}

.gp-console-phone-combo .gp-console-phone-input:focus {
  outline: none;
}


.font-semibold{
  font-weight: 600 !important;
}

/* Country + phone: stack vertically ≤600px, 10px between fields */
@media (max-width: 600px) {
  .gp-console-phone-combo {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
  }

  .gp-console-phone-combo .gp-console-phone-input{
    padding: 0px;
  }

  .gp-co-card .gp-co-phone-row {
    gap: 10px;
  }

  .gp-flag-phone-form .gp-flag-phone-row {
    gap: 10px;
  }

  .gp-console-phone-combo .gp-console-country-wrap {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }

  .gp-console-phone-combo .gp-console-phone-input-wrap {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
  }

  .height-50px{
    height: 58px;
  }
}

/* Legacy row (if reused elsewhere): single bordered input + lookup */
.gp-console-phone-row {
  position: relative;
  display: flex;
  align-items: stretch;
}

.gp-console-phone-input {
  flex: 1;
  padding-right: 7rem;
  border-radius: 10px;
}

.gp-console-lookup-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--gp-primary);
  color: var(--gp-text-inverse);
}

.gp-console-lookup-btn:hover {
  background: var(--gp-primary-hover);
  color: var(--gp-text-inverse);
}

.gp-console-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.35rem 0;
  color: var(--gp-muted);
  font-size: 18px;
  font-weight: 600;
}

.gp-console-or::before,
.gp-console-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gp-border);
}

.gp-console-or span {
  opacity: 0.85;
}

.gp-console-qr-btn {

  margin: 0 auto;
  min-width: 200px;
  border: 2px solid var(--gp-secondary);
  border-radius: 12px;
  padding: 14px 20px;
  background: var(--gp-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;

  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.gp-console-qr-btn-new {
 border: 1px solid var(--gp-secondary);
  background: var(--gp-secondary);
  color: #fff;
}

.gp-console-qr-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.6rem;
}

.gp-console-qr-btn:hover {
  background: var(--gp-primary);
  color: #fff;
  border-color: var(--gp-primary);
}

.gp-console-section-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 0.85rem;
}

.gp-console-muted-inline {
  color: var(--gp-muted);
  font-size: 0.88rem;
}

.gp-console-recent-scroll {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gp-recent-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
border: 1px solid #E9E9E9;
background: #FFF;
box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
 
}

.gp-recent-chip-avatar {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.gp-recent-chip-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-recent-phone {
  font-weight: 500;
  opacity: 0.88;
}

.gp-recent-chip--a {
  background: var(--gp-chip-primary-bg);
  border-color: var(--gp-border-primary-soft);
  color: var(--gp-text-blue-200);
}

.gp-recent-chip--b {
  background: var(--gp-chip-secondary-bg);
  border-color: var(--gp-border-secondary-soft);
  color: var(--gp-text-violet-200);
}

.gp-recent-chip--c {
  background: var(--gp-chip-success-bg);
  border-color: var(--gp-border-success-soft);
  color: var(--gp-text-emerald-200);
}

a.gp-recent-chip {
  text-decoration: none;
  color: inherit;
}

.gp-recent-chip--pickable {
  cursor: pointer;
}

.gp-recent-chip--pickable:hover {
  filter: brightness(1.08);
}

.gp-recent-chip--pickable:focus {
  outline: 2px solid var(--gp-primary);
  outline-offset: 2px;
}

.gp-console-repeat {
  margin-bottom: 1.5rem;
}

.gp-console-repeat-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--gp-border-success-mid);
  background: var(--gp-repeat-banner-bg);
}

.gp-console-repeat-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
  min-width: 200px;
}

.gp-console-repeat-icon {
  font-size: 1.5rem;
  color: var(--gp-success);
  margin-top: 0.15rem;
}

.gp-console-repeat-sub {
  font-size: 0.82rem;
  color: var(--gp-text-emerald-300);
  margin-top: 0.25rem !important;
}

.gp-console-repeat-btn {
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--gp-success);
  color: var(--gp-text-on-success);
  white-space: nowrap;
}

.gp-console-repeat-btn:hover {
  filter: brightness(1.05);
}

.gp-console-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gp-border);
  background: var(--gp-footer-bar-bg);
  z-index: 90;
}

.gp-console-footer-btn {
  border: none;
  padding: 1rem 0.35rem;
  font-weight: 700;
  font-size: 0.72rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--gp-text-inverse);
  text-decoration: none;
}

@media (min-width: 576px) {
  .gp-console-footer-btn {
    font-size: 18px;
    flex-direction: row;
    gap: 0.45rem;
    padding: 1rem 0.5rem;
  }
}

.gp-console-footer-btn i {
  font-size: 1.05rem;
}

.gp-console-flag-icons {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.gp-console-footer-btn--new {
  background: var(--gp-primary);
}

.gp-console-footer-btn--out {
  background: var(--gp-secondary);
}

.gp-console-footer-btn--flag {
  background: rgb(239 68 68);
}

.gp-console-footer-btn:hover {
  filter: brightness(1.06);
  color: var(--gp-text-inverse);
}

/* Visitor search result (phone lookup) */
.gp-vs-page .gp-vs-back-row {
  margin-bottom: 1rem;
}

.gp-vs-back-link {
  color: #000;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.max-w-600px {
  max-width: 600px;
  margin: 0 auto;
}

.gp-vs-back-link:hover {
  color: var(--gp-primary-hover);
  text-decoration: underline;
}

.gp-vs-search-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
}

.gp-vs-search-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gp-text);
}

.gp-vs-new-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
  background: var(--gp-secondary);
  border: 1px solid var(--gp-border);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  height: 56px;
}

.gp-vs-new-search:hover {
  filter: brightness(1.08);
  color: var(--gp-text-inverse);
}

.gp-vs-profile-card {
  background: var(--gp-surface);
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  padding: 1.25rem 1.35rem 0;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.gp-vs-profile-main {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 1.1rem;
}

.gp-vs-photo {
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--gp-border);
  flex-shrink: 0;
}

.gp-vs-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.gp-vs-phone {
  color: var(--gp-muted);
  font-size: 0.95rem;
}

.gp-vs-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  padding-bottom: 1rem;
}

.gp-vs-mini-box {
  background: var(--gp-input-bg);
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

.gp-vs-mini-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gp-muted);
  margin-bottom: 0.35rem;
}

.gp-vs-mini-value {
  display: block;
  font-size: 0.95rem;
}

.gp-vs-mini-muted {
  color: var(--gp-muted);
  font-weight: 600;
}

.gp-vs-mini-meta {
  display: block;
  font-size: 0.82rem;
  color: var(--gp-muted);
  margin-top: 0.2rem;
}

.gp-vs-trust-dots {
  margin-top: 0.45rem;
  display: flex;
  gap: 0.35rem;
}

.gp-vs-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.gp-vs-dot--on {
  background: var(--gp-success);
  box-shadow: 0 0 0 2px var(--gp-trust-ring);
}

.gp-vs-dot--off {
  background: var(--gp-surface-2);
}

.gp-vs-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 -1.35rem;
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--gp-border);
}

.gp-vs-status-banner--ready {
  background: var(--gp-success-banner-bg);
  border-top-color: var(--gp-border-success-soft);
}

.gp-vs-status-banner--inside {
  background: var(--gp-primary-banner-bg);
  border-top-color: var(--gp-border-primary-soft);
}

.gp-vs-status-banner--restricted {
  background: var(--gp-warning-banner-bg);
  border-top-color: var(--gp-border-warning-mid);
}

.gp-vs-status-banner--ready .gp-vs-status-icon-wrap {
  color: var(--gp-success);
}

.gp-vs-status-banner--inside .gp-vs-status-icon-wrap {
  color: var(--gp-primary);
}

.gp-vs-status-banner--restricted .gp-vs-status-icon-wrap {
  color: var(--gp-warning);
}

.gp-vs-status-icon-wrap {
  font-size: 1.5rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.gp-vs-status-title {
  display: block;
  font-size: 1rem;
}

.gp-vs-status-sub {
  font-size: 0.85rem;
  color: var(--gp-muted);
  margin-top: 0.2rem !important;
}

.gp-vs-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 576px) {
  .gp-vs-actions {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

.gp-vs-action {
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gp-text-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gp-vs-action--checkin {
  background: var(--gp-success);
  color: var(--gp-text-on-success);
}

.gp-vs-action--host {
  background: var(--gp-primary);
}

.gp-vs-action--flag {
  background: var(--gp-danger);
}

.gp-vs-action:hover {
  filter: brightness(1.06);
}

.gp-vs-history-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.gp-vs-history-list {
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--gp-surface);
}

.gp-vs-history-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--gp-border);
}

.gp-vs-history-row:last-child {
  border-bottom: none;
}

.gp-vs-history-main {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.gp-vs-history-range {
  font-weight: 600;
  font-size: 0.9rem;
}

.gp-vs-history-host {
  font-size: 0.82rem;
  color: var(--gp-muted);
}

.gp-vs-history-duration {
  font-size: 0.78rem;
  color: var(--gp-text-emerald-300);
}

.gp-vs-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.gp-vs-badge--done {
  background: var(--gp-vs-badge-done);
  color: var(--gp-text-emerald-300);
  border: 1px solid var(--gp-border-success-soft);
}

.gp-select {
  cursor: pointer;
}

/* Native select chevron sits flush right; mirror left text inset (0.85rem) from right edge */
select.gp-input.gp-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: var(--gp-input-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem 1rem;
  padding: 0.65rem 2.6rem 0.65rem 0.85rem;
}

select.gp-input.gp-select:focus {
  background-color: var(--gp-input-bg);
}

select.gp-input.gp-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.gp-otp-page .gp-otp-card {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.gp-otp-icon-wrap {
  width: 56px;
  height: 56px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  background: var(--gp-otp-icon-bg);
  border: 1px solid var(--gp-border-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--gp-primary);
}

.gp-otp-mask {
  font-size: 20px;
  font-weight: 600;
  color: var(--gp-text);
}

.gp-otp-channel {
  font-size: 16px;
  color: var(--gp-muted);
}

.gp-otp-expiry {
  font-size: 14px;
  color: var(--gp-muted);
}

.gp-otp-cell {
  flex: 1;
  min-width: 0;
  max-width: 90px;
  aspect-ratio: 1;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.gp-otp-resend {
  border: 1px solid var(--gp-border);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 16px;
  background: var(--gp-surface-2);
  color: var(--gp-text);
  height: 56px;
}

.gp-otp-resend:hover:not(:disabled) {
  filter: brightness(1.08);
}

.gp-otp-resend:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.gp-otp-resend-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gp-otp-verify-submit {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.15s ease;
  /* Ready to resend: secondary (brand orange) */
  background: var(--gp-secondary);
  color: #fff;
}

.gp-otp-verify-submit:hover:not(:disabled):not(.gp-otp-resend--cooldown) {
  filter: brightness(1.06);
}

/* Countdown active: disabled + primary tint */
.gp-otp-verify-submit.gp-otp-resend--cooldown,
.gp-otp-verify-submit.gp-otp-resend--cooldown:disabled {
  background: color-mix(in srgb, var(--gp-primary) 16%, var(--gp-card-bg));
  color: var(--gp-primary);
  border: 1px solid color-mix(in srgb, var(--gp-primary) 30%, var(--gp-border));
  cursor: not-allowed;
  filter: none;
  opacity: 1;
}

.gp-otp-verify-submit.gp-otp-resend--cooldown:hover {
  filter: none;
}

/* POST in flight (disabled but not on cooldown timer) */
.gp-otp-verify-submit:disabled:not(.gp-otp-resend--cooldown) {
  opacity: 0.9;
  cursor: wait;
}

#gp-otp-resend-msg {
  color: var(--gp-text-emerald-300);
}

#gp-otp-resend-err {
  color: var(--gp-text-red-300);
}

/* Check-out console */
.gp-checkout-console-page {
  max-width: 920px !important;
}

.gp-co-hero {
  margin: 0 0 1.2rem;
}

.gp-co-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: var(--gp-primary);
}

.gp-co-title i {
  color: var(--gp-secondary);
}

.gp-co-sub {
  color: #000;
  font-size: 18px;
}

.gp-co-search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}


.new-back {
  position: absolute;
  left: -70px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  top: 10px;
}

@media (min-width: 991px) {
  .gp-co-search-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gp-co-card {
  background: #fff;
  border: 1px solid var(--gp-border-slate);
  border-radius: 14px;
  padding: 25px;
  text-align: center;
}

.gp-co-card h3 {
  margin: 0.2rem 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.gp-co-card p {
  color: var(--gp-text-blue-300);
  margin-bottom: 0.8rem;
  font-size: 0.86rem;
}

/* Check-out “Search by Phone”: country + number one row, 5px gap; stacks ≤600px in .gp-console-phone-combo block */
.gp-co-card .gp-co-phone-row {
  gap: 5px;
  text-align: left;
}

.gp-co-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--gp-text-inverse);
  font-size: 1.3rem;
}

.gp-co-icon--phone {
  background: var(--gp-secondary);
}

.gp-co-icon--qr {
  background: var(--gp-secondary);
}

.gp-co-qr-placeholder {
  border: 1px dashed var(--gp-border-muted);
  border-radius: 10px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--gp-text-slate-400);
  margin-bottom: 0.8rem;
}

.gp-co-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.78rem 1rem;
  font-weight: 700;
  color: var(--gp-text-inverse);
}

.gp-co-btn--search {
  background: var(--gp-secondary);
}

.gp-co-btn--qr {
  background: var(--gp-secondary);
}

.gp-co-current {
  background: #fff;
  border: 1px solid var(--gp-border-slate);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 1rem;
}

.gp-co-current-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.gp-co-current-head h3 {
  font-size: 22px;
  font-weight: 700;
}

.gp-co-id-chip {
  font-size: 0.75rem;
  border-radius: 999px;
  background: var(--gp-co-id-chip-bg);
  border: 1px solid var(--gp-border-slate-glass);
  padding: 0.3rem 0.65rem;
}

.gp-co-current-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .gp-co-current-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gp-co-mini {
  background: #fff;
  border: 1px solid var(--gp-border-slate-glass);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

.gp-co-mini span {
  display: block;
  font-size: 16px;
  color: var(--gp-text-blue-200);
  margin-bottom: 0.2rem;
}

.gp-co-mini strong {
  font-size: 1rem;
  color: var(--gp-text-blue-200);
}

.gp-co-checkout-wrap {
  margin-top: 1rem;
  text-align: center;
}

.gp-co-checkout-btn {
  border: none;
  border-radius: 12px;
  background: var(--gp-danger);
  color: var(--gp-text-inverse);
     padding: 0.78rem 1rem;
  font-size: 16px;
  font-weight: 700;
  width: 280px;
  max-width: 100%;
}

.gp-co-checkout-btn:hover {
  filter: brightness(1.06);
}

.gp-co-meta {
  font-size: 0.82rem;
  color: var(--gp-text-blue-200);
}

.gp-co-empty {
  margin-top: 0.95rem;
  color: var(--gp-text-blue-100);
}

.gp-co-offline {
  border: 1px solid var(--gp-offline-banner-border);
  background: var(--gp-offline-banner-bg);
  color: var(--gp-text-amber-100);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
}

/* Flag console */
.gp-flag-page {
  max-width: 980px !important;
}

.gp-flag-hero {
  margin: 0.4rem 0 1.25rem;
}

.gp-flag-title {
  font-size: 2.05rem;
  font-weight: 800;
  color: var(--gp-text-heading);
  margin-bottom: 0.2rem;
}

.gp-flag-sub {
  color: var(--gp-text-slate-400);
  font-size: 0.95rem;
  font-weight: 600;
}

.gp-flag-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .gp-flag-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.gp-flag-card {
  border-radius: 20px;
    border: 1px solid #E9E9E9 !important;
    background: #FFF;
    box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
}

.gp-flag-card h3 {
  font-size: 1.4rem;
  margin: 0.3rem 0 0.2rem;
  font-weight: 800;
  color: var(--gp-text-heading-soft);
}

.gp-flag-card p {
  color: var(--gp-muted);
  font-size: 0.95rem;
  margin-bottom: 0.95rem;
}

.gp-flag-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  color: var(--gp-text-inverse);
  font-size: 1.45rem;
}

.gp-flag-icon--phone {
  background: var(--gp-danger);
}

.gp-flag-icon--qr {
  background: var(--gp-secondary);
}



/* Flag: country + phone one row, 5px gap; stack ≤600px via .gp-console-phone-combo media block */
.gp-flag-phone-form .gp-console-phone-combo.gp-flag-phone-row {
  gap: 5px;
  text-align: left;
}

.gp-flag-phone-form .gp-console-phone-input-wrap {
  background: var(--gp-flag-form-input-bg);
}

.gp-flag-phone-form .gp-console-phone-combo .gp-console-country-select {
  background: var(--gp-flag-form-input-bg);
}

.gp-flag-qr-placeholder {
  border: 1px dashed var(--gp-border-dashed);
  border-radius: 10px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  color: var(--gp-text-slate-400);
  margin-bottom: 0.9rem;
}

.gp-flag-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  color: var(--gp-text-inverse);
  font-size: 16px;
  padding: 0.85rem 1rem;
}

.gp-flag-btn--identify {
  background: var(--gp-danger);
}

.gp-flag-btn--scan {
  background: var(--gp-secondary);
}

.gp-flag-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .gp-flag-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gp-flag-stat {

  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 20px;
    border: 1px solid #E9E9E9 !important;
    background: #FFF;

}

.gp-flag-stat span:not(.gp-flag-stat-dot) {
  font-size: 1rem;
  font-weight: 600;
}

.gp-flag-stat strong {
  margin-left: auto;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

/* Pills are often `bg-white`; label + count use the same accent as border/dot (not theme “inverse” text). */
.gp-flag-stat--inside span:not(.gp-flag-stat-dot),
.gp-flag-stat--inside strong {
  color: #39AE41;
}

.gp-flag-stat--waiting span:not(.gp-flag-stat-dot),
.gp-flag-stat--waiting strong {
  color: var(--gp-secondary);
}

.gp-flag-stat--flagged span:not(.gp-flag-stat-dot),
.gp-flag-stat--flagged strong {
  color: var(--gp-primary);
}

.gp-flag-stat-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px var(--gp-flag-stat-dot-shadow);
}

.gp-flag-stat--inside {
  background: var(--gp-success-600);
      border-color: #39ae4154 !important;
}

.gp-flag-stat--inside .gp-flag-stat-dot {
  background: var(--gp-success-300);
}

.gp-flag-stat--waiting {
  background: var(--gp-warning-600);
  border-color: var(--gp-border-danger-soft) !important;
}

.gp-flag-stat--waiting .gp-flag-stat-dot {
  background: var(--gp-warning-300);
}

.gp-flag-stat--flagged {
  background: var(--gp-danger-600);
  border-color: var(--gp-border-primary-mid) !important;
}

.gp-flag-stat--flagged .gp-flag-stat-dot {
  background: var(--gp-text-red-300);
}

.gp-flag-found {
  margin: 0 0 1rem;
  background: var(--gp-flag-found-bg);
  border: 1px solid var(--gp-border-slate-glass);
  border-radius: 12px;
  padding: 0.9rem;
}

.gp-flag-found-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .gp-flag-found-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.gp-flag-found-item {
  background: var(--gp-flag-found-item-bg);
  border: 1px solid var(--gp-border-slate-strong);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}

.gp-flag-found-item span {
  display: block;
  color: var(--gp-text-slate-400);
  font-size: 0.72rem;
  margin-bottom: 0.15rem;
}

.gp-flag-found-item strong {
  color: var(--gp-text-heading);
  font-size: 0.92rem;
}

.gp-flag-found-item--full {
  grid-column: span 2;
}

@media (min-width: 768px) {
  .gp-flag-found-item--full {
    grid-column: span 1;
  }
}

.gp-flag-found-actions {
  margin-top: 0.85rem;
  text-align: right;
}

.gp-flag-found-actions .gp-flag-btn {
  width: auto;
  min-width: 220px;
}

.gp-flag-report-textarea {
  min-height: 110px;
  margin-bottom: 0.7rem;
}

/* Check-in success (host approved) */
.gp-success-page {
  max-width: 920px !important;
}

.gp-success-card {
  margin-top: 0.5rem;
  padding: 2rem 1.5rem 1.25rem;
  border-radius: 20px;
  border: 1px solid #E9E9E9;
  background: #FFF;
  box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  text-align: center;
}

.gp-success-check-wrap {
  margin-bottom: 1rem;
}

.gp-success-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gp-gradient-success-check);
  color: var(--gp-text-inverse);
  font-size: 2rem;
  box-shadow: var(--gp-shadow-success-check);
}

.gp-success-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--gp-text-heading);
}

.gp-success-sub {
  color: var(--gp-text-emerald-300);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.gp-success-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .gp-success-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
  }
}

.gp-success-col-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gp-text-slate-400);
  margin-bottom: 0.75rem;
}

.gp-success-avatar {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--gp-success-avatar-border);
  margin: 0 auto 0.65rem;
  display: block;
  box-sizing: border-box;
}

.gp-success-col .gp-ev-avatar.gp-ev-avatar--initials {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.gp-success-host-avatar {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  border-radius: 50%;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  background: var(--gp-secondary);
  border: 3px solid var(--gp-secondary);
  box-sizing: border-box;
}

.gp-success-name {
  display: block;
  font-size: 20px;
  color: var(--gp-text-heading-soft);
  margin-bottom: 0.35rem;
  text-transform: capitalize;
}

.gp-success-meta {
  font-size: 16px;
  color: var(--gp-text-slate-300);
  margin-bottom: 0;
}

.gp-success-time-icon {
  width: 88px;
  height: 88px;
  min-width: 88px;
  min-height: 88px;
  border-radius: 50%;
  margin: 0 auto 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gp-secondary);
  border: 3px solid var(--gp-secondary);
  color: #fff;
  font-size: 1.35rem;
  box-sizing: border-box;
}

.gp-success-time {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
  color: var(--gp-text-heading);
  margin-bottom: 0.35rem;
}

.gp-success-badge-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 20px;
border: 1px solid #E9E9E9;
background: #FFF;
box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
}

.gp-success-badge-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.gp-success-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--gp-success-badge-icon-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-text-emerald-300);
  font-size: 1.25rem;
}

.gp-success-badge-id {
  font-size: 1.05rem;
  color: var(--gp-text-heading);
}

.gp-success-badge-sub {
  font-size: 14px;
  color: var(--gp-text-emerald-300);
  margin-top: 0.15rem !important;
}

.gp-success-badge-right {
  font-size: 0.88rem;
  color: var(--gp-text-slate-300);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.gp-success-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39AE41;
  box-shadow: #39ae4138;
}

.gp-success-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
   border-radius: 20px;
border: 1px solid #E9E9E9;
background: #FFF;
box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  font-size: 16px;
  color: var(--gp-text-slate-400);
}

.gp-success-back-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  background: var(--gp-secondary);
  border: 1px solid var(--gp-secondary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.gp-success-back-btn:hover {
  color: var(--gp-text-inverse);
  filter: brightness(1.08);
}

/* Check-in console — QR scan modal */
.gp-ci-scan-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Above waiting offcanvas (1060) + its backdrop (1055) */
#gp-confirm-modal.gp-ci-scan-modal {
  z-index: 1085;
}

.gp-ci-scan-backdrop {
  position: absolute;
  inset: 0;
  background: var(--gp-backdrop-scrim);
}

.gp-ci-scan-dialog {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--gp-border);
  border-radius: 16px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: var(--gp-shadow-modal);
}

.gp-ci-scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.gp-ci-scan-head h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--gp-text);
}

.gp-ci-scan-close {
  border: none;
  background: var(--gp-scan-close-bg);
  color: var(--gp-muted);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gp-ci-scan-close:hover {
  color: var(--gp-text);
  background: var(--gp-surface-2);
}

/* Guard panel — themed confirm dialog (replaces window.confirm) */
.gp-confirm-dialog {
  max-width: 400px;
  text-align: center;
  padding: 1.35rem 1.25rem 1.2rem;
}

.gp-confirm-dialog__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--gp-secondary) 14%, #fff);
  color: var(--gp-secondary);
  font-size: 1.35rem;
}

.gp-confirm-dialog__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gp-text);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.gp-confirm-dialog__message {
  font-size: 0.95rem;
  color: var(--gp-muted);
  margin: 0 0 1.15rem;
  line-height: 1.45;
}

.gp-confirm-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.gp-confirm-dialog__btn {
  flex: 1 1 0;
  min-width: 120px;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gp-confirm-dialog__btn--ghost {
  background: #fff;
  border-color: var(--gp-border);
  color: var(--gp-text);
}

.gp-confirm-dialog__btn--ghost:hover {
  background: var(--gp-surface-2);
}

.gp-confirm-dialog__btn--primary {
  background: var(--gp-secondary);
  color: #fff;
  border-color: var(--gp-secondary);
}

.gp-confirm-dialog__btn--primary:hover {
  background: var(--gp-secondary-hover);
  border-color: var(--gp-secondary-hover);
}

#gp-ci-scan-video {
  width: 100%;
  max-height: 260px;
  border-radius: 12px;
  background: var(--gp-input-bg);
  object-fit: cover;
}

.gp-ci-scan-reader {
  width: 100%;
  min-height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gp-input-bg);
}

.gp-ci-scan-reader video {
  border-radius: 12px;
}

.gp-ci-scan-help {
  font-size: 14px;
  color: var(--gp-muted);
  margin-top: 0.75rem;
}

.gp-ci-scan-actions {
  margin-top: 0.65rem;
}

.mt-25px {
  margin-top: 25px;
}

/* Visitor profile: photo upload + preview */
.gp-photo-upload {
  width: 100%;
}

.gp-photo-upload-box {
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  background: var(--gp-input-bg);
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gp-photo-upload-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.gp-photo-upload-pick {
  border: 1px solid var(--gp-border);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--gp-card-bg);
  color: var(--gp-text-heading);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.gp-photo-upload-pick:hover {
  border-color: var(--gp-primary);
  background: color-mix(in srgb, var(--gp-primary) 6%, var(--gp-card-bg));
  color: var(--gp-primary);
}

.gp-photo-upload-pick:focus-visible {
  outline: none;
  box-shadow: var(--gp-focus-ring);
}

.gp-photo-upload-name {
  font-size: 0.88rem;
  color: var(--gp-muted);
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.gp-photo-upload-preview {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
  padding-top: 0.25rem;

}

.gp-photo-upload-preview.d-none {
  display: none !important;
}

.gp-photo-upload-preview-img {
  width: 120px;
  height: 120px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--gp-border);
  background: var(--gp-surface-2);
}

.gp-photo-upload-remove {
  border: none;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: transparent;
  color: #EC485C;
  text-decoration: underline;
  cursor: pointer;
}

.gp-photo-upload-remove:hover {
  color: var(--gp-secondary-hover);
}

.gp-console-submit-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 18px;
  background: var(--gp-secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
}

.form-check-input:focus {
  box-shadow: none;
}



.container-inner {
  width: 100%;
  margin-top: 70px;
  margin-bottom: 30px;
  position: relative;
  z-index: 90;
}


.wave-login-bg {
  background: url(../img/wave-bg.png) center top no-repeat;
  background-size: cover;
  background-position: bottom;
  width: 100%;
  height: calc(100vh - 50px);
  position: fixed;
  top: 0px;
  left: 0px;
}


.form-white-bg {
  width: 100%;
  border-radius: 20px;

background: #FFF;
box-shadow: 0 -1px 10px 0 rgba(0, 0, 0, 0.05);
  padding: 50px;
}

.max-w-700 {
  max-width: 700px;
}


.font-42 {
  font-size: 42px;
}

.font-extra-bold {
  font-weight: 800;
}

.text-sfiri {
  color: var(--gp-primary) !important;
}

.rounded-15 {
  border-radius: 15px
}

.font-22 {
  font-size: 22px;
}

.font-medium {
  font-weight: 500;
}

.host-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  font-size: 18px;
}


.new-btn-bg {
  background: var(--gp-secondary) !important;
  border-color: var(--gp-secondary) !important;
}

.phoneInputBox {
  flex: 1;
  height: 60px;
  border: 1px solid #DEDEDE;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 18px;
  outline: none;
}

.font-medium {
  font-weight: 500;
}

.font-18 {
  font-size: 18px !important;
}

.host-brand-mark {
  position: relative;
}

.host-brand-mark {
  width: auto;
  height: auto;
}

.host-brand-mark::before {
  content: "";
  position: absolute;
  border: 1px solid;
  height: 49px;
  border-color: #DDD;
  right: -30px;
}


.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #fff;
}

.font-extra-bold {
  font-weight: 800;
}

.font-48 {
  font-size: 48px !important;
}

.new-otp {
  color: var(--gp-secondary);
}





.hourglass {
  animation: flip 10s ease-in-out infinite;
  border-bottom: solid 4px #630;
  border-top: solid 4px #630;
  left: 50%;
  padding: 0 1vmin;
  top: 50%;
}

.hourglass .top {
  border-radius: 0 0 50% 50%;
}

.hourglass .top,
.hourglass .bottom {
  background-color: #def;
  box-shadow: 0 0 1vmin 1vmin #bcd inset;
  height: 40px;
  overflow: hidden;
  position: relative;
  width: 40px;
}

.hourglass .top:before {
  animation: top 10s linear infinite;
  background-color: #fc6;
  border-radius: 50%;
  content: "";
  display: block;
  height: 40px;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateY(50%);
  width: 40px;
}


.hourglass .top:after {
  animation: top-drip 10s linear infinite;
  background-color: #fc6;
  content: "";
  display: block;
  height: 100%;
  left: 45%;
  position: absolute;
  top: 0;
  transform: translateY(100%);
  width: 10%;
}

.hourglass .bottom {
  border-radius: 50% 50% 0 0;
}

.hourglass .top,
.hourglass .bottom {
  background-color: #def;
  box-shadow: 0 0 1vmin 1vmin #bcd inset;
  height: 40px;
  overflow: hidden;
  position: relative;
  width: 40px;
}

.hourglass .bottom:before {
  animation: bottom 10s linear infinite;
  background-color: #fc6;
  border-radius: 50%;
  content: "";
  display: block;
  height: 50px;
  left: 0;
  position: absolute;
  top: 0;
  transform: translateY(100%);
  width: 50px;
}

.hourglass .bottom:after {
  animation: bottom-drip 10s linear infinite;
  background-color: #fc6;
  content: "";
  display: block;
  height: 100%;
  left: 45%;
  position: absolute;
  top: 0;
  width: 10%;
}


@keyframes flip {

  0%,
  45% {
    transform: rotate(0);
  }

  50%,
  95% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes bottom {
  0% {
    transform: translateY(100%);
  }

  50% {
    transform: translateY(50%);
  }

  51% {
    transform: translateY(-50%);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes top {
  0% {
    transform: translateY(50%);
  }

  50% {
    transform: translateY(100%);
  }

  51% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(-50%);
  }
}

@keyframes bottom-drip {
  0% {
    left: 45%;
    transform: translateY(-100%);
    width: 10%;
  }

  5% {
    transform: translateY(0);
  }

  45%,
  100% {
    left: 50%;
    transform: translateY(0);
    width: 0;
  }
}

@keyframes top-drip {

  0%,
  50% {
    left: 45%;
    transform: translateY(100%);
    width: 10%;
  }

  55% {
    left: 45%;
    transform: translateY(0);
    width: 10%;
  }

  100% {
    left: 50%;
    transform: translateY(0);
    width: 0;
  }
}


.font-28 {
  font-size: 28px;
}

.font-16 {
  font-size: 16px;
}

input:-internal-autofill-selected {
  background-color: #fff !important;
}

.wait-btn {
  color: var(--gp-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

.wait-btn:hover {
 color: var(--gp-secondary);
}


/* —— Expected Visitors (guard) —— */
/* Expected visitors toolbar: row1 = day toggle + filter; row2 = stats (desktop full width). Mobile: row2 = stats | filter */
.gp-ev-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.75rem;
  margin-bottom: 1rem;
}

.gp-ev-toolbar .gp-ev-day-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.gp-ev-toolbar .gp-ev-toolbar-actions {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.gp-ev-toolbar .gp-ev-stats-row {
  grid-column: 1 / -1;
  grid-row: 2;
}

.gp-ev-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gp-ev-day-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.btn-check:focus+.btn-outline-secondary, .btn-outline-secondary:focus{
  box-shadow: none !important;
}

.gp-ev-day-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--gp-muted);
  text-decoration: none;
  border: 1px solid var(--gp-border);
  border-radius: 8px;
  background: var(--gp-surface-2);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.gp-ev-day-btn:hover {
  color: var(--gp-text);
  text-decoration: none;
  background: color-mix(in srgb, var(--gp-surface-2), var(--gp-text) 10%);
  border-color: var(--gp-border-muted);
}

.gp-ev-day-btn:focus-visible {
  outline: none;
  box-shadow: var(--gp-focus-ring);
}

.gp-ev-day-btn.is-active {
  background: var(--gp-secondary);
  color: #fff;
  border-color: var(--gp-secondary);
}

.gp-ev-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.25rem 0 1.35rem;
}

.gp-ev-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 18px;
  color: var(--gp-muted);
}

.gp-ev-stat strong {
  color: var(--gp-text);
  font-weight: 700;
}

.gp-ev-stat--today {
  color: var(--gp-primary);
}

.gp-ev-stat--tomorrow {
  color: #6d28d9;
}

html[data-gp-theme="light"] .gp .gp-ev-stat--tomorrow {
  color: #5b21b6;
}

.gp-ev-stat--arrived {
  color: #059669;
}

.gp-ev-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.gp-ev-section-h {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 0.15rem;
  color: var(--gp-text-heading);
}

.gp-ev-section-sub {
  font-size: 16px;
  color: var(--gp-muted);
  font-weight: 600;
}

.gp-ev-section-title {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.gp-ev-section-icon {
  width: 42px;
  height:42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.gp-ev-section-icon--clock {
  background: var(--gp-secondary);
}

.gp-ev-section-icon--list {
  background: var(--gp-primary);
}

.gp-ev-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gp-primary) 14%, transparent);
  color: var(--gp-primary);
  border: 1px solid var(--gp-border);
  white-space: nowrap;
}

.gp-ev-next-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.gp-ev-next-card {
  border: 1px solid var(--gp-border);
  border-radius: 12px;
  padding: 25px;
  background: color-mix(in srgb, var(--gp-surface) 94%, var(--gp-primary) 6%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;

}

.gp-ev-next-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  min-width: 0;
  flex: 1;
}

/* Top row: avatar + name/badge vertically centered with the image */
.gp-ev-next-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.gp-ev-next-head .gp-ev-name {
  flex: 1;
  min-width: 0;
}

.gp-ev-next-below {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.gp-ev-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--gp-surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gp-muted);
  flex-shrink: 0;
}

.gp-ev-avatar--photo {
  padding: 0;
  overflow: hidden;
}

.gp-ev-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-ev-avatar--sm {
  width: 2.35rem;
  height: 2.35rem;
  font-size: 0.9rem;
}

.gp-ev-avatar--initials {
  background: var(--gp-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.gp-ev-next-card .gp-ev-avatar--initials {
  margin-bottom: 0;
}

.gp-ev-avatar-initials {
  line-height: 1;
  
}

.gp-ev-row-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.gp-ev-row-icon svg {
  display: block;
}

.gp-ev-meta-line--with-icon {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

/* Label (small) + bold value — expected visitor rows */
.gp-ev-field-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 1.35rem;
  margin-left: 5px;
}

.gp-ev-field-row:last-child {
  margin-bottom: 0;
}

.gp-ev-field-text {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
  flex: 1;
}

.gp-ev-field-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--gp-muted);
  line-height: 1.25;
}

.gp-ev-field-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gp-text);
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.gp-ev-field-value--accent {
  color: var(--gp-secondary);
}

.gp-ev-field-sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gp-muted);
  line-height: 1.35;
}

.gp-ev-next-card-new .gp-ev-field-row:last-child {
  margin-bottom: 0;
}

.gp-ev-row-icon--fa {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e6f9ff;
  color: #ef6c33;
  font-size: 0.82rem;
  align-items: center;
  justify-content: center;
}

.gp-ev-name {
  font-weight: 700;
  font-size: 20px;
  color: var(--gp-text);
}

.gp-ev-meta-line {
  font-size: 20px;
  color: var(--gp-muted);
}

.gp-ev-k {
  font-weight: 600;
  color: var(--gp-text-slate-400);
}

.gp-ev-time-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.gp-ev-time-main {
  font-weight: 700;
  color: var(--gp-secondary);
  font-size: 20px;
}

.gp-ev-time-rel {
  font-size: 0.78rem;
  color: var(--gp-muted);
}

.gp-ev-quick-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  background: var(--gp-primary);
  color: var(--gp-text-inverse);
  border: none;
}

.gp-ev-quick-btn:hover {
  filter: brightness(1.06);
  color: var(--gp-text-inverse);
}

/* All visitors: same shell as Next 2 Hours (.gp-ev-next-card-new); badge sits in name row */
.gp-ev-list-card .gp-ev-name {
  width: 100%;
}

.gp-ev-list {
  padding: 0;
}

.gp-ev-row {
  display: grid;
  grid-template-columns: 0.55rem minmax(0, 1.4fr) minmax(0, 0.85fr) auto;
  gap: 0.65rem 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gp-border);
}

.gp-ev-row:last-child {
  border-bottom: 0;
}

@media (max-width: 640px) {
  .gp-ev-row {
    grid-template-columns: 0.55rem 1fr;
    grid-template-rows: auto auto auto;
  }

  .gp-ev-row-main {
    grid-column: 2;
    grid-row: 1;
  }

  .gp-ev-row-time {
    grid-column: 2;
    grid-row: 2;
  }

  .gp-ev-row-action {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    text-align: left;
  }

  .gp-ev-dot {
    grid-row: 1 / span 3;
    align-self: center;
  }
}

.gp-ev-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  display: inline-block;
  justify-self: center;
}

.gp-ev-dot--arrived {
  background: #059669;
}

.gp-ev-dot--soon {
  background: var(--gp-primary);
}

.gp-ev-dot--late {
  background: var(--gp-secondary);
}

.gp-ev-dot--later {
  background: #94a3b8;
}

.gp-ev-dot--pre {
  background: #2563eb;
}

.gp-ev-dot--muted {
  background: #cbd5e1;
}

.gp-ev-row-main {
  display: flex;
  gap: 0.65rem;
  min-width: 0;
}

.gp-ev-row-text {
  min-width: 0;
}

.gp-ev-row-time {
  font-size: 0.8rem;
}

.gp-ev-time-line {
  color: var(--gp-text);
  font-weight: 600;
}

.gp-ev-row-action {
  text-align: right;
}

.gp-ev-badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.gp-ev-badge--ok {
  background: color-mix(in srgb, #059669 18%, #fff);
  color: #047857;
}

.gp-ev-badge--pre,
.gp-ev-badge--soon {
  background: color-mix(in srgb, var(--gp-primary) 16%, #fff);
  color: var(--gp-primary);
}

.gp-ev-badge--later {
  background: #f1f5f9;
  color: #64748b;
}

.gp-ev-badge--late {
  background: color-mix(in srgb, var(--gp-secondary) 18%, #fff);
  color: #c2410c;
}

.gp-ev-badge--muted {
  background: #f1f5f9;
  color: #64748b;
}

.gp-ev-empty {
  color: var(--gp-muted);
  font-size: 0.9rem;
}

.gp-ev-more-wrap {
  margin-top: 1rem;
  text-align: center;
}

.gp-ev-more-btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  border: 1px dashed var(--gp-border);
  color: var(--gp-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.gp-ev-more-btn:hover {
  border-color: var(--gp-primary);
  background: color-mix(in srgb, var(--gp-primary) 8%, transparent);
  color: var(--gp-primary);
}

.gp-ev-footer-form {
  margin: 0;
  display: flex;
  min-width: 0;
}

.gp-ev-footer .gp-console-footer-btn--export {
  background: #059669;
}

.gp-ev-footer .gp-console-footer-btn--notify {
  background: var(--gp-secondary);
  border: none;
}

.gp-ev-src-pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: color-mix(in srgb, var(--gp-secondary) 14%, var(--gp-surface));
  color: var(--gp-secondary);
  border: 1px solid color-mix(in srgb, var(--gp-secondary) 35%, transparent);
}

.gp-ev-src-pill--sm {
  font-size: 0.58rem;
  padding: 0.08rem 0.38rem;
}



.max-w-500px {
  max-width: 500px !important;
}

.mb-13px {
  margin-bottom: 12.8px;
}

.max-w-1320px{
  max-width: 1320px !important;
}

.filter-btn{
  font-size: 18px;
  background-color: var(--gp-secondary);
  color: #fff;
   border-color: var(--gp-secondary);
       border-radius: 8px;
       font-weight: 600;
}


.gp-ev-next-grid-new{
      display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.gp-ev-next-card-new{
  border-radius: 20px;
border: 1px solid #E9E9E9;
background: #FFF;

}

.p-ev-quick-btn-new{
  background-color: var(--gp-secondary);
}


.bg-white{
  background-color: #fff !important;
}


.p-25px{
  padding: 25px;
}

.dropdown-items:hover{
  color: #000;
}

.dropdown-items.active, .dropdown-items:active{
 background-color: #fff;
 color: #000;
}

.gap-13px{
  gap: 13px;
}

.gp-photo-upload-name{
  display: none;
}

.max-w-1321px{
  max-width: 1321px;
}

.pt-10px{
  padding-top: 10px;
}


.img-outer {
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: start;
  justify-content: center;
  border: 2px solid var(--gp-border);
  border-radius: 50%;
}
 
.img-outer img {
  object-fit: cover;
  max-width: calc(100% + 20px);
  min-height: 100%;
  min-width: calc(100% + 20px);
  max-height: calc(100% + 20px);
  width: auto;
  height: auto;
      
}



@media (max-width: 1399px) {

.py-35px{
          padding: 0 1.25rem 0.65rem;
}
.gp-console-page {

  
  padding: 0 1.25rem;
 
}
}

@media (max-width: 1370px) {
  .gp-header-inner{padding: 1rem 20px;}
}






@media (max-width: 1199px) {
  .host-brand-mark::before {
    display: none;
  }

  .mt-25px {
    margin-top: 25px;
  }

  .gp-clock {
    display: none;
  }

  .gp-ev-next-grid-new{
     grid-template-columns: repeat(1, 1fr);
  }

  .gp-tab{
    padding-left: 0;
    padding-bottom: 5px;
        font-size: 16px;
  }

  a.gp-nav-drawer-link{
    gap: .40rem;
    padding-bottom: 0;
  }
}


@media (max-width: 767px) {
  .form-white-bg {
    padding: 25px;
  }

  .gp-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
  }

  .gp-toolbar-left{
    min-width: 100%;
  }

  .gp-console-recent-scroll {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .gp-recent-chip {
    max-width: 100%;
  }

  .new-back {
    position: unset;
    margin-bottom: 10px;
  }

  .font-48 {
    font-size: 40px;
  }

  .gp-console-card {
    padding: 20px;
  }

  .gp-console-or{
        margin: 10px 0;
  }
 

  .gp-ev-day-toggle {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .gp-ev-day-btn {
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Same row: Arrived (left) + Filter (right) */
  .gp-ev-toolbar .gp-ev-day-toggle {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gp-ev-toolbar .gp-ev-stats-row {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    padding-bottom: 0;
  }

  .gp-ev-toolbar .gp-ev-toolbar-actions {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: auto;
  }

  .filter-btn{
    font-size: 16px;
  }

  .gp-co-current-grid{
        grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .font-48{
    font-size: 40px !important;
  }
  .gp-ev-section-h{
    font-size: 18px;
  }

  .gp-ev-next-card-new{
    padding: 20px;
  }

  .font-42{
    font-size: 30px;
  }
  .font-22{
    font-size: 20px;
  }

  .gp-input{
    height: 50px;
  }
  .gp-btn-primary{
    height: 50px;
  }

  .gp-console-card-sub{
    font-size: 15px;
  }

  .gp-console-stat{
    font-size: 16px;
  }
  .gp-console-stats-row{
    gap: 10px;
  }
  .svg-icon-w svg{
    width: 30px;
  }

  .p-25px{
    padding: 20px;
  }

  .hourglass .top, .hourglass .bottom{
    width: 35px;
    height: 35px;
  }

  .gp-co-title{
    font-size: 30px;
  }

  .gp-co-card{
    padding: 20px;
  }

  .gp-flag-card{
     padding: 20px;
  }


 


  .gp-co-current{
    padding: 20px;
  }

  .gp-co-current-head h3{
    font-size: 20px;
  }

  .gp-powered-footer__text{
    font-size: 14px;
  }

  .gp-vcard--waiting .gp-vcard-wait-status{
    font-size: 16px;
  }

  .gp-vcard-title{
    font-size: 16px;
  }

  .gp-vcard-corner-badge{
    font-size: 14px;
  }


  
}



@media (max-width: 460px) {
  .font-48{
    font-size: 28px !important;
  }
.font-42{
    font-size: 28px;
  }

   .font-22{
    font-size: 18px;
  }

  .gp-console-stats-row{
    gap: 6px 7px;
  }

  .font-18{
    font-size: 16px !important;
  }

      .form-white-bg {
        padding: 20px;
    }

    .gp-console-submit-btn{
      font-size: 16px;
    }


    .font-28{
      font-size: 24px;
    }

    .font-16{
      font-size: 15px;
    }

    .hourglass .top, .hourglass .bottom {
        width: 30px;
        height: 30px;
    }

     .gp-co-title{
    font-size: 24px;
  }

  .gp-co-sub{
    font-size: 16px;
  }

  .gp-console-phone-combo .gp-console-phone-input{
    padding: 0px;
  }

  .gp-co-card .gp-co-phone-row{
    gap: 8px;
  }

  .gp-ev-section-sub{
    font-size: 14px;
  }
    .gp-ev-section-h {
        font-size: 16px;
    }

    .gp-ev-name{
      font-size: 16px;
    }

    .gp-ev-field-label{
      font-size: 14px;
    }

    .gp-ev-field-value{
        font-size: 16px;
    }

      .max-on-mobile{
      max-width: min(598px, 89vw) !important;
  }

     
  

}


@media (max-width: 400px) {
   .gp-header-inner {
        padding: 1rem 10px;
    }

  }

/* Form.io dynamic forms (guard): keep inline error text, no red field backgrounds */
.gp-dynamic-form-container .formio-component.has-error,
.gp-dynamic-form-container .formio-component.formio-error-wrapper,
.gp-dynamic-form-container .formio-component.formio-invalid,
.gp-dynamic-form-container .formio-component.has-error .form-group,
.gp-dynamic-form-container .formio-component.has-error .input-group {
  background: transparent !important;
  background-color: transparent !important;
}

.gp-dynamic-form-container .formio-component.has-error .form-control,
.gp-dynamic-form-container .formio-component.has-error input:not([type="checkbox"]):not([type="radio"]),
.gp-dynamic-form-container .formio-component.has-error textarea,
.gp-dynamic-form-container .formio-component.has-error select,
.gp-dynamic-form-container .formio-component.formio-error-wrapper .form-control,
.gp-dynamic-form-container .formio-component.formio-error-wrapper input:not([type="checkbox"]):not([type="radio"]),
.gp-dynamic-form-container .formio-component.formio-error-wrapper textarea,
.gp-dynamic-form-container .formio-component.formio-error-wrapper select,
.gp-dynamic-form-container .is-invalid,
.gp-dynamic-form-container .has-error .form-control {
  background-color: #fff !important;
  background: #fff !important;
}