:root {
  --fp-primary: #2563eb;
  --fp-primary-dark: #1d4ed8;
  --fp-primary-soft: #eff6ff;
  --fp-secondary: #7c3aed;
  --fp-accent: #06b6d4;
  --fp-success: #16a34a;
  --fp-success-soft: #ecfdf3;
  --fp-warning: #d97706;
  --fp-warning-soft: #fff7ed;
  --fp-danger: #dc2626;
  --fp-danger-soft: #fef2f2;
  --fp-info: #0284c7;
  --fp-info-soft: #f0f9ff;
  --fp-ink: #0f172a;
  --fp-heading: #101828;
  --fp-text: #475467;
  --fp-muted: #667085;
  --fp-subtle: #98a2b3;
  --fp-surface: #ffffff;
  --fp-surface-soft: #f8fafc;
  --fp-canvas: #f4f7fb;
  --fp-border: #e4e7ec;
  --fp-border-strong: #d0d5dd;
  --fp-sidebar: #0b1220;
  --fp-sidebar-light: #121d31;
  --fp-sidebar-text: #d6deeb;
  --fp-sidebar-muted: #8ea0ba;
  --fp-shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
  --fp-shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --fp-shadow-md: 0 12px 28px rgba(16, 24, 40, 0.08);
  --fp-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.13);
  --fp-radius-sm: 10px;
  --fp-radius: 16px;
  --fp-radius-lg: 24px;
  --fp-sidebar-width: 288px;
  --fp-transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fp-text);
  background: var(--fp-canvas);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--fp-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
}

a {
  color: var(--fp-primary);
  text-decoration: none;
  transition:
    color var(--fp-transition),
    background-color var(--fp-transition),
    border-color var(--fp-transition),
    transform var(--fp-transition),
    box-shadow var(--fp-transition);
}

a:hover {
  color: var(--fp-primary-dark);
}

img {
  max-width: 100%;
}

code {
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ede9fe;
  border-radius: 7px;
  padding: 0.18rem 0.4rem;
  font-size: 0.84em;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  gap: 0.38rem;
  min-height: 42px;
  border-radius: 11px;
  padding: 0.6rem 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  box-shadow: none;
  transition:
    transform var(--fp-transition),
    box-shadow var(--fp-transition),
    border-color var(--fp-transition),
    background-color var(--fp-transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.btn-sm {
  min-height: 34px;
  border-radius: 9px;
  padding: 0.4rem 0.72rem;
  font-size: 0.82rem;
}

.btn-lg {
  min-height: 50px;
  border-radius: 13px;
  padding: 0.78rem 1.35rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--fp-primary), #3b82f6);
  border-color: var(--fp-primary);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(
    135deg,
    var(--fp-primary-dark),
    var(--fp-primary)
  );
  border-color: var(--fp-primary-dark);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.26);
}

.btn-outline-primary {
  color: var(--fp-primary);
  border-color: #bfdbfe;
  background: #ffffff;
}

.btn-outline-primary:hover {
  color: #ffffff;
  background: var(--fp-primary);
  border-color: var(--fp-primary);
}

.btn-outline-secondary {
  color: #344054;
  border-color: var(--fp-border-strong);
  background: #ffffff;
}

.btn-outline-secondary:hover {
  color: var(--fp-heading);
  background: #f8fafc;
  border-color: #98a2b3;
}

.btn-outline-danger {
  color: var(--fp-danger);
  border-color: #fecaca;
  background: #ffffff;
}

.btn-outline-danger:hover {
  background: var(--fp-danger);
  border-color: var(--fp-danger);
}

.btn-light {
  color: #344054;
  background: #f8fafc;
  border-color: var(--fp-border);
}

.btn-link {
  color: var(--fp-primary);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-label {
  margin-bottom: 0.45rem;
  color: #344054;
  font-size: 0.86rem;
  font-weight: 650;
}

.form-control,
.form-select {
  min-height: 44px;
  color: var(--fp-heading);
  background-color: #ffffff;
  border: 1px solid var(--fp-border-strong);
  border-radius: 11px;
  padding: 0.66rem 0.82rem;
  box-shadow: var(--fp-shadow-xs);
  transition:
    border-color var(--fp-transition),
    box-shadow var(--fp-transition),
    background-color var(--fp-transition);
}

textarea.form-control {
  min-height: 116px;
}

.form-control:hover,
.form-select:hover {
  border-color: #98a2b3;
}

.form-control:focus,
.form-select:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.form-control::placeholder {
  color: #98a2b3;
}

/* --------------------------------------------------------------------------
   Input Groups & Search Bars
   -------------------------------------------------------------------------- */

.input-group {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control,
.input-group > .form-select {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: -1px;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--fp-muted);
  text-align: center;
  white-space: nowrap;
  background-color: #ffffff;
  border: 1px solid var(--fp-border-strong);
  border-radius: 11px;
}

.fp-search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 380px;
}

.fp-search-bar .input-group {
  box-shadow: var(--fp-shadow-xs);
  border-radius: 11px;
}

.fp-search-bar .form-control {
  border-color: var(--fp-border-strong);
  font-size: 0.88rem;
}

.fp-search-bar .form-control:focus {
  z-index: 3;
}

.fp-search-bar .btn {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

.form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  border-color: #98a2b3;
}

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

.input-group-text {
  color: var(--fp-muted);
  background: #f8fafc;
  border-color: var(--fp-border-strong);
}

/* --------------------------------------------------------------------------
   Dashboard shell
   -------------------------------------------------------------------------- */

.fp-dashboard-body {
  min-height: 100vh;
  overflow-x: hidden;
}

.fp-shell {
  min-height: 100vh;
}

.fp-sidebar {
  position: fixed;
  z-index: 1040;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: var(--fp-sidebar-width);
  flex-direction: column;
  color: var(--fp-sidebar-text);
  background:
    radial-gradient(
      circle at 12% 0%,
      rgba(59, 130, 246, 0.24),
      transparent 30%
    ),
    linear-gradient(180deg, #0b1220 0%, #0a1425 52%, #08111f 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 18px 0 42px rgba(15, 23, 42, 0.08);
  transition: transform 220ms ease;
}

.fp-admin-sidebar {
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(124, 58, 237, 0.25),
      transparent 30%
    ),
    linear-gradient(180deg, #0c1120 0%, #101327 58%, #0a1020 100%);
}

.fp-sidebar-brand {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fp-brand-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
  color: #ffffff;
}

.fp-brand-link:hover {
  color: #ffffff;
}

.fp-brand-mark {
  display: grid;
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(145deg, #38bdf8, #2563eb);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

.fp-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-brand-mark-admin {
  font-size: 1.25rem;
  background: linear-gradient(145deg, #8b5cf6, #4f46e5);
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.28);
}

.fp-brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.fp-brand-copy strong {
  color: #ffffff;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.fp-brand-copy small {
  margin-top: 0.25rem;
  color: var(--fp-sidebar-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fp-sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0.8rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.14) transparent;
}

.fp-sidebar-scroll::-webkit-scrollbar {
  width: 5px;
}

.fp-sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}

.fp-nav-section {
  margin-top: 1.05rem;
}

.fp-nav-section:first-child {
  margin-top: 0.35rem;
}

.fp-nav-section-title {
  display: block;
  margin: 0 0.75rem 0.5rem;
  color: #6f829e;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fp-nav-link {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 0.72rem;
  margin: 0.18rem 0;
  padding: 0.65rem 0.78rem;
  color: var(--fp-sidebar-text);
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 570;
}

.fp-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.07);
}

.fp-nav-link.active {
  color: #ffffff;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.95),
    rgba(59, 130, 246, 0.82)
  );
  border-color: rgba(147, 197, 253, 0.24);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.fp-admin-sidebar .fp-nav-link.active {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.95),
    rgba(79, 70, 229, 0.84)
  );
  box-shadow: 0 10px 24px rgba(91, 33, 182, 0.28);
}

.fp-nav-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  color: #9fb0c8;
  background: rgba(255, 255, 255, 0.055);
  border-radius: 8px;
  font-size: 0.96rem;
}

.fp-nav-link:hover .fp-nav-icon,
.fp-nav-link.active .fp-nav-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.fp-nav-label {
  min-width: 0;
  flex: 1;
  white-space: nowrap;
}

.fp-nav-badge {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 0.4rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 0.7rem;
}

.fp-nav-active-mark {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  width: 4px;
  height: 16px;
  background: #ffffff;
  border-radius: 99px;
  transform: translateY(-50%);
}

.fp-sidebar-footer {
  padding: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.fp-sidebar-help,
.fp-system-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
}

.fp-sidebar-help-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
  border-radius: 10px;
}

.fp-sidebar-help div,
.fp-system-status div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.fp-sidebar-help strong,
.fp-system-status strong {
  color: #ffffff;
  font-size: 0.8rem;
}

.fp-sidebar-help a,
.fp-system-status small {
  overflow: hidden;
  margin-top: 0.1rem;
  color: var(--fp-sidebar-muted);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-sidebar-help a:hover {
  color: #bfdbfe;
}

.fp-system-status-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  background: #22c55e;
  border: 2px solid rgba(34, 197, 94, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.08);
}

.fp-main {
  display: flex;
  min-height: 100vh;
  margin-left: var(--fp-sidebar-width);
  flex-direction: column;
}

.fp-topbar {
  position: sticky;
  z-index: 1020;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.6rem;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 231, 236, 0.85);
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.025);
  backdrop-filter: blur(14px);
}

.fp-topbar-left,
.fp-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.fp-topbar-title {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.fp-topbar-title strong {
  color: var(--fp-heading);
  font-size: 1.05rem;
  letter-spacing: -0.015em;
}

.fp-eyebrow {
  margin-bottom: 0.18rem;
  color: var(--fp-muted);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fp-icon-button {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #344054;
  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 11px;
  box-shadow: var(--fp-shadow-xs);
}

.fp-icon-button:hover {
  color: var(--fp-primary);
  border-color: #bfdbfe;
  background: var(--fp-primary-soft);
}

.fp-sidebar-close {
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.fp-topbar-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.72rem;
  color: #344054;
  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 650;
  box-shadow: var(--fp-shadow-xs);
}

.fp-topbar-link:hover {
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border-color: #bfdbfe;
}

.fp-account-button {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.45rem 0.25rem 0.25rem;
  color: var(--fp-heading);
  background: transparent;
  border: 0;
  border-radius: 12px;
}

.fp-account-button:hover {
  background: #f8fafc;
}

.fp-account-button::after {
  margin-left: 0.2rem;
  color: var(--fp-subtle);
}

.fp-account-button strong,
.fp-account-button small {
  display: block;
  line-height: 1.25;
}

.fp-account-button strong {
  font-size: 0.82rem;
}

.fp-account-button small {
  color: var(--fp-muted);
  font-size: 0.68rem;
}

.fp-account-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border: 1px solid #dbeafe;
  border-radius: 11px;
}

.fp-account-avatar-admin {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: #ede9fe;
}

.fp-dropdown-menu {
  min-width: 220px;
  padding: 0.55rem;
  border: 1px solid var(--fp-border);
  border-radius: 14px;
  box-shadow: var(--fp-shadow-lg);
}

.fp-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.62rem 0.7rem;
  color: #344054;
  border-radius: 9px;
  font-size: 0.84rem;
}

.fp-dropdown-menu .dropdown-item:hover {
  color: var(--fp-heading);
  background: #f8fafc;
}

.fp-content {
  width: 100%;
  max-width: 1680px;
  flex: 1;
  margin: 0 auto;
  padding: 1.6rem;
}

.fp-dashboard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.6rem;
  color: var(--fp-muted);
  border-top: 1px solid var(--fp-border);
  font-size: 0.76rem;
}

.fp-sidebar-backdrop {
  display: none;
}

/* --------------------------------------------------------------------------
   Page headings and content building blocks
   -------------------------------------------------------------------------- */

.fp-page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.fp-page-heading h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.72rem);
}

.fp-page-heading p {
  max-width: 720px;
  margin: 0.35rem 0 0;
  color: var(--fp-muted);
}

.fp-page-heading-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  font-size: 1.15rem;
}

.fp-page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.card {
  overflow: hidden;
  background: var(--fp-surface);
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  box-shadow: var(--fp-shadow-sm);
}

.card:hover {
  border-color: #d7dce3;
}

.card-header {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  color: var(--fp-heading);
  background: #ffffff;
  border-bottom: 1px solid var(--fp-border);
  font-size: 0.92rem;
  font-weight: 700;
}

.card-body {
  padding: 1.2rem;
}

.stat-card {
  position: relative;
  min-height: 132px;
  overflow: hidden;
}

.stat-card::after {
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 100px;
  height: 100px;
  content: "";
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 68%);
  border-radius: 50%;
}

.stat-card .card-body {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  min-height: 132px;
  flex-direction: column;
  justify-content: center;
}

.stat-card .text-muted {
  margin-bottom: 0.45rem;
  color: var(--fp-muted) !important;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.stat-card .value {
  color: var(--fp-heading);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.fp-stat-card {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  border: 1px solid var(--fp-border);
  border-radius: var(--fp-radius);
  background: #ffffff;
  box-shadow: var(--fp-shadow-sm);
}

.fp-stat-card-body {
  display: flex;
  height: 100%;
  min-height: 148px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
}

.fp-stat-copy span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--fp-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.fp-stat-copy strong {
  display: block;
  color: var(--fp-heading);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.fp-stat-copy small {
  display: block;
  margin-top: 0.35rem;
  color: var(--fp-muted);
  font-size: 0.76rem;
}

.fp-stat-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border: 1px solid #dbeafe;
  border-radius: 16px;
  font-size: 1.25rem;
}

.fp-stat-card.is-purple .fp-stat-icon {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: #ede9fe;
}

.fp-stat-card.is-cyan .fp-stat-icon {
  color: #0891b2;
  background: #ecfeff;
  border-color: #cffafe;
}

.fp-stat-card.is-green .fp-stat-icon {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #dcfce7;
}

.fp-stat-card.is-orange .fp-stat-icon {
  color: #d97706;
  background: #fff7ed;
  border-color: #ffedd5;
}

.fp-stat-card.is-rose .fp-stat-icon {
  color: #e11d48;
  background: #fff1f2;
  border-color: #ffe4e6;
}

.table-responsive {
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

.table {
  margin-bottom: 0;
  color: #344054;
  vertical-align: middle;
}

.table > :not(caption) > * > * {
  padding: 0.92rem 1rem;
  border-bottom-color: #edf0f4;
}

.table thead th {
  color: var(--fp-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--fp-border);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table tbody tr {
  transition: background-color var(--fp-transition);
}

.table tbody tr:hover {
  background: #fbfdff;
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table td {
  font-size: 0.86rem;
}

.table td a:not(.btn) {
  font-weight: 650;
}

.list-group-item {
  padding: 0.9rem 1rem;
  color: #344054;
  border-color: var(--fp-border);
}

.list-group-item-action:hover {
  color: var(--fp-heading);
  background: #f8fafc;
}

.list-group-item.active {
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border-color: #bfdbfe;
  font-weight: 700;
}

.nav-pills {
  gap: 0.45rem;
  padding: 0.4rem;
  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 13px;
  box-shadow: var(--fp-shadow-xs);
}

.nav-pills .nav-link {
  color: var(--fp-muted);
  border-radius: 9px;
  font-size: 0.84rem;
  font-weight: 650;
}

.nav-pills .nav-link:hover {
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
}

.nav-pills .nav-link.active {
  color: #ffffff;
  background: var(--fp-primary);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

.alert {
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.86rem;
  box-shadow: var(--fp-shadow-xs);
}

.alert-success {
  color: #166534;
  background: var(--fp-success-soft);
  border-color: #bbf7d0;
}

.alert-danger {
  color: #991b1b;
  background: var(--fp-danger-soft);
  border-color: #fecaca;
}

.alert-warning {
  color: #92400e;
  background: var(--fp-warning-soft);
  border-color: #fed7aa;
}

.alert-info {
  color: #075985;
  background: var(--fp-info-soft);
  border-color: #bae6fd;
}

.badge {
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  font-size: 0.69rem;
  font-weight: 700;
}

.fp-status {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  gap: 0.38rem;
  padding: 0.3rem 0.58rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.fp-status-dot {
  width: 7px;
  height: 7px;
  background: currentColor;
  border-radius: 50%;
}

.fp-status-success {
  color: #15803d;
  background: var(--fp-success-soft);
  border-color: #bbf7d0;
}

.fp-status-warning {
  color: #b45309;
  background: var(--fp-warning-soft);
  border-color: #fed7aa;
}

.fp-status-danger {
  color: #b91c1c;
  background: var(--fp-danger-soft);
  border-color: #fecaca;
}

.fp-status-neutral {
  color: #475467;
  background: #f8fafc;
  border-color: var(--fp-border);
}

.empty {
  padding: 3.5rem 1.25rem;
  color: var(--fp-muted);
  text-align: center;
}

.empty::before {
  display: block;
  margin-bottom: 0.55rem;
  color: #cbd5e1;
  content: "\F431";
  font-family: "bootstrap-icons";
  font-size: 2rem;
}

.pagination {
  gap: 0.28rem;
}

.page-link {
  min-width: 38px;
  color: #475467;
  border-color: var(--fp-border);
  border-radius: 9px !important;
  text-align: center;
}

.page-link:hover {
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border-color: #bfdbfe;
}

.page-item.active .page-link {
  background: var(--fp-primary);
  border-color: var(--fp-primary);
}

.code-block {
  overflow: auto;
  padding: 1.1rem;
  color: #dbeafe;
  background: #0b1220;
  border: 1px solid #1e293b;
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* --------------------------------------------------------------------------
   Public website
   -------------------------------------------------------------------------- */

.fp-public-body {
  background: #ffffff;
}

.fp-public-main {
  min-height: 60vh;
}

.fp-public-nav {
  min-height: 78px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(228, 231, 236, 0.9);
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.035);
  backdrop-filter: blur(16px);
}

.fp-public-brand,
.fp-footer-brand,
.fp-auth-brand,
.fp-auth-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--fp-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.fp-public-brand:hover,
.fp-footer-brand:hover,
.fp-auth-brand:hover,
.fp-auth-mobile-brand:hover {
  color: var(--fp-heading);
}

.fp-public-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.fp-public-brand strong {
  font-size: 1.05rem;
}

.fp-public-brand small {
  margin-top: 0.18rem;
  color: var(--fp-muted);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fp-public-brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #38bdf8, #2563eb);
  border: 1px solid #dbeafe;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.16);
}

.fp-public-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-public-nav .nav-link {
  position: relative;
  padding: 0.65rem 0.8rem !important;
  color: #475467;
  font-size: 0.88rem;
  font-weight: 650;
}

.fp-public-nav .nav-link:hover,
.fp-public-nav .nav-link.active {
  color: var(--fp-primary);
}

.fp-public-nav .nav-link.active::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.3rem;
  left: 0.8rem;
  height: 2px;
  content: "";
  background: var(--fp-primary);
  border-radius: 99px;
}

.fp-navbar-toggler {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--fp-heading);
  border: 1px solid var(--fp-border);
  border-radius: 11px;
  font-size: 1.25rem;
}

.fp-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(56, 189, 248, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 10% 20%,
      rgba(37, 99, 235, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.fp-hero::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 420px;
  height: 420px;
  content: "";
  background: linear-gradient(
    145deg,
    rgba(37, 99, 235, 0.08),
    rgba(6, 182, 212, 0.07)
  );
  border: 1px solid rgba(37, 99, 235, 0.08);
  border-radius: 36% 64% 63% 37% / 41% 42% 58% 59%;
  transform: rotate(20deg);
}

.fp-hero-kicker,
.fp-section-kicker,
.fp-auth-kicker,
.fp-checkout-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.7rem;
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.fp-hero h1 {
  max-width: 760px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.55rem, 6vw, 4.9rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.fp-hero h1 span {
  color: transparent;
  background: linear-gradient(120deg, #2563eb, #0891b2 60%, #7c3aed);
  background-clip: text;
  -webkit-background-clip: text;
}

.fp-hero .lead {
  max-width: 680px;
  color: var(--fp-muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.fp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.fp-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  margin-top: 2.2rem;
  color: var(--fp-muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.fp-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fp-trust-row i {
  color: var(--fp-success);
}

.fp-hero-console {
  position: relative;
  padding: 1rem;
  background: linear-gradient(150deg, #0b1220, #121d31);
  border: 1px solid #1e293b;
  border-radius: 24px;
  box-shadow: 0 32px 70px rgba(15, 23, 42, 0.24);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}

.fp-console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0.35rem 0.9rem;
}

.fp-console-dots {
  display: flex;
  gap: 0.38rem;
}

.fp-console-dots span {
  width: 9px;
  height: 9px;
  background: #334155;
  border-radius: 50%;
}

.fp-console-dots span:first-child {
  background: #ef4444;
}

.fp-console-dots span:nth-child(2) {
  background: #f59e0b;
}

.fp-console-dots span:nth-child(3) {
  background: #22c55e;
}

.fp-console-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  font-size: 0.68rem;
}

.fp-console-panel {
  padding: 1.05rem;
  background: #ffffff;
  border-radius: 17px;
}

.fp-console-amount {
  padding: 1rem;
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  border: 1px solid #dbeafe;
  border-radius: 13px;
}

.fp-console-amount span,
.fp-console-amount strong {
  display: block;
}

.fp-console-amount span {
  color: var(--fp-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.fp-console-amount strong {
  margin-top: 0.3rem;
  color: var(--fp-heading);
  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

.fp-console-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
  padding: 0.78rem;
  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 12px;
}

.fp-console-method > div {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fp-console-method-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border-radius: 10px;
}

.fp-console-method strong,
.fp-console-method small {
  display: block;
}

.fp-console-method strong {
  color: var(--fp-heading);
  font-size: 0.82rem;
}

.fp-console-method small {
  color: var(--fp-muted);
  font-size: 0.68rem;
}

.fp-console-method .bi-check-circle-fill {
  color: var(--fp-success);
}

.fp-section {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.fp-section-soft {
  background: #f8fafc;
  border-top: 1px solid #f0f2f5;
  border-bottom: 1px solid #f0f2f5;
}

.fp-section-heading {
  max-width: 700px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.fp-section-heading h2 {
  margin-bottom: 0.85rem;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.045em;
}

.fp-section-heading p {
  color: var(--fp-muted);
  font-size: 1rem;
}

.fp-feature-card,
.fp-plan-card,
.fp-blog-card {
  height: 100%;
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 18px;
  box-shadow: var(--fp-shadow-sm);
  transition:
    transform var(--fp-transition),
    box-shadow var(--fp-transition),
    border-color var(--fp-transition);
}

.fp-feature-card:hover,
.fp-plan-card:hover,
.fp-blog-card:hover {
  border-color: #bfdbfe;
  box-shadow: var(--fp-shadow-md);
  transform: translateY(-4px);
}

.fp-feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  place-items: center;
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  font-size: 1.15rem;
}

.fp-feature-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
}

.fp-feature-card p {
  margin: 0;
  color: var(--fp-muted);
  font-size: 0.86rem;
}

.fp-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.fp-method-chip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem;
  color: var(--fp-heading);
  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 12px;
  font-weight: 700;
}

.fp-method-chip span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(145deg, var(--fp-primary), #06b6d4);
  border-radius: 9px;
  font-size: 0.72rem;
}

.fp-plan-card {
  position: relative;
  padding: 1.55rem;
}

.fp-plan-card h3 {
  font-size: 1.15rem;
}

.fp-plan-price {
  margin: 1rem 0;
  color: var(--fp-heading);
  font-size: 2.15rem;
  font-weight: 850;
  letter-spacing: -0.055em;
}

.fp-plan-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0;
  padding: 0;
  list-style: none;
}

.fp-plan-card li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: #475467;
  font-size: 0.86rem;
}

.fp-plan-card li::before {
  color: var(--fp-success);
  content: "\F26A";
  font-family: "bootstrap-icons";
}

.accordion-item {
  overflow: hidden;
  margin-bottom: 0.7rem;
  border: 1px solid var(--fp-border) !important;
  border-radius: 13px !important;
}

.accordion-button {
  color: var(--fp-heading);
  background: #ffffff;
  font-weight: 700;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--fp-primary);
  background: var(--fp-primary-soft);
}

.fp-public-footer {
  padding: 4rem 0 1.5rem;
  color: #94a3b8;
  background: #0b1220;
}

.fp-footer-brand {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.12rem;
}

.fp-footer-brand:hover {
  color: #ffffff;
}

.fp-public-footer p {
  max-width: 480px;
  color: #94a3b8;
}

.fp-public-footer h6 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.fp-public-footer a:not(.fp-footer-brand) {
  display: block;
  margin-bottom: 0.6rem;
  color: #94a3b8;
  font-size: 0.84rem;
}

.fp-public-footer a:hover {
  color: #ffffff;
}

.fp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
}

.fp-footer-security {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   Authentication
   -------------------------------------------------------------------------- */

.fp-auth-body {
  min-height: 100vh;
  background: #ffffff;
}

.fp-auth-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.03fr) minmax(480px, 0.97fr);
}

.fp-auth-showcase {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem);
  color: #ffffff;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(56, 189, 248, 0.24),
      transparent 28%
    ),
    linear-gradient(145deg, #08111f, #0f2343 58%, #102d5a);
}

.fp-auth-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 590px;
}

.fp-auth-brand {
  margin-bottom: clamp(3rem, 8vh, 7rem);
  color: #ffffff;
  font-size: 1.2rem;
}

.fp-auth-brand:hover {
  color: #ffffff;
}

.fp-auth-kicker {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(147, 197, 253, 0.18);
}

.fp-auth-showcase h1 {
  max-width: 560px;
  margin-bottom: 1.2rem;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.fp-auth-showcase > div > p {
  max-width: 540px;
  color: #b8c7da;
  font-size: 1.02rem;
  line-height: 1.75;
}

.fp-auth-benefits {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.fp-auth-benefits > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  backdrop-filter: blur(8px);
}

.fp-auth-benefits > div > i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
  border-radius: 10px;
}

.fp-auth-benefits span,
.fp-auth-benefits strong,
.fp-auth-benefits small {
  display: block;
}

.fp-auth-benefits strong {
  color: #ffffff;
  font-size: 0.84rem;
}

.fp-auth-benefits small {
  margin-top: 0.12rem;
  color: #94a3b8;
  font-size: 0.72rem;
}

.fp-auth-orb {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.fp-auth-orb-one {
  right: -170px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  background: rgba(37, 99, 235, 0.08);
}

.fp-auth-orb-two {
  top: -150px;
  left: -170px;
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.06);
}

.fp-auth-panel {
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #ffffff;
}

.fp-auth-container {
  width: min(480px, 100%);
}

.fp-auth-container > .card {
  border: 0;
  box-shadow: none;
}

.fp-auth-container > .card .card-body {
  padding: 0;
}

.fp-auth-container h3 {
  font-size: 1.8rem;
  letter-spacing: -0.045em;
}

.fp-auth-mobile-brand {
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.fp-auth-footer {
  margin: 2.2rem 0 0;
  color: var(--fp-muted);
  font-size: 0.75rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Checkout
   -------------------------------------------------------------------------- */

.fp-checkout-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgba(37, 99, 235, 0.12), transparent 27%),
    radial-gradient(circle at 90% 95%, rgba(6, 182, 212, 0.1), transparent 28%),
    #f5f8fc;
}

.checkout-wrap {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.checkout-card {
  width: min(620px, 100%);
}

.fp-checkout-shell {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.14);
}

.fp-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(135deg, #0b1220, #102846);
}

.fp-checkout-merchant {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
}

.fp-checkout-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  color: #bfdbfe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.fp-checkout-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fp-checkout-merchant h1,
.fp-checkout-merchant p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-checkout-merchant h1 {
  color: #ffffff;
  font-size: 1rem;
}

.fp-checkout-merchant p {
  margin-top: 0.25rem;
  color: #94a3b8;
  font-size: 0.72rem;
}

.fp-checkout-lock {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.38rem;
  padding: 0.45rem 0.62rem;
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.fp-checkout-content {
  padding: clamp(1.2rem, 4vw, 1.7rem);
}

.fp-checkout-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
  padding: 1rem;
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
  border: 1px solid #dbeafe;
  border-radius: 15px;
}

.fp-checkout-amount span {
  color: var(--fp-muted);
  font-size: 0.8rem;
  font-weight: 650;
}

.fp-checkout-amount strong {
  color: var(--fp-heading);
  font-size: 1.35rem;
  letter-spacing: -0.035em;
}

.fp-checkout-section-title {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.fp-checkout-section-copy {
  margin-bottom: 1rem;
  color: var(--fp-muted);
  font-size: 0.8rem;
}

.payment-method {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.7rem;
  padding: 0.85rem 0.95rem;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--fp-border);
  border-radius: 14px;
  box-shadow: var(--fp-shadow-xs);
}

.payment-method:hover {
  color: inherit;
  background: #fbfdff;
  border-color: #93c5fd;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.fp-method-info {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
}

.method-logo-wrap {
  display: grid;
  width: 54px;
  height: 46px;
  flex: 0 0 54px;
  place-items: center;
  background: #f8fafc;
  border: 1px solid var(--fp-border);
  border-radius: 11px;
}

.method-logo {
  width: 44px;
  height: 30px;
  object-fit: contain;
}

.fp-method-fallback {
  color: var(--fp-primary);
  font-size: 1.05rem;
}

.fp-method-copy strong,
.fp-method-copy small {
  display: block;
}

.fp-method-copy strong {
  color: var(--fp-heading);
  font-size: 0.9rem;
}

.fp-method-copy small {
  margin-top: 0.15rem;
  color: var(--fp-muted);
  font-size: 0.72rem;
}

.fp-method-arrow {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  color: var(--fp-muted);
  background: #f8fafc;
  border-radius: 9px;
}

.payment-method:hover .fp-method-arrow {
  color: #ffffff;
  background: var(--fp-primary);
}

.fp-checkout-instructions {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.35rem;
  padding: 0;
  counter-reset: checkout-step;
  list-style: none;
}

.fp-checkout-instructions li {
  position: relative;
  min-height: 38px;
  padding: 0.45rem 0 0.45rem 2.7rem;
  color: #475467;
  font-size: 0.82rem;
}

.fp-checkout-instructions li::before {
  position: absolute;
  top: 0.25rem;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--fp-primary);
  content: counter(checkout-step);
  counter-increment: checkout-step;
  background: var(--fp-primary-soft);
  border: 1px solid #dbeafe;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
}

.fp-checkout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.35rem;
  color: var(--fp-muted);
  background: #f8fafc;
  border-top: 1px solid var(--fp-border);
  font-size: 0.7rem;
}

.fp-checkout-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fp-result-icon {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 1.25rem;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 2.2rem;
}

.fp-result-icon.is-success {
  color: var(--fp-success);
  background: var(--fp-success-soft);
  border-color: #bbf7d0;
}

.fp-result-icon.is-pending {
  color: var(--fp-warning);
  background: var(--fp-warning-soft);
  border-color: #fed7aa;
}

.fp-result-icon.is-failed {
  color: var(--fp-danger);
  background: var(--fp-danger-soft);
  border-color: #fecaca;
}

.fp-result-summary {
  margin: 1.4rem 0;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--fp-border);
  border-radius: 13px;
}

.fp-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--fp-border);
}

.fp-result-row:last-child {
  border-bottom: 0;
}

.fp-result-row span {
  color: var(--fp-muted);
  font-size: 0.8rem;
}

.fp-result-row strong {
  color: var(--fp-heading);
  font-size: 0.84rem;
}

/* --------------------------------------------------------------------------
   Utility enhancements
   -------------------------------------------------------------------------- */

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.status-dot::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: #8b98aa;
  border-radius: 50%;
}

.status-dot.active::before {
  background: var(--fp-success);
}

.no-wrap {
  white-space: nowrap;
}

.min-w-0 {
  min-width: 0 !important;
}

.text-muted {
  color: var(--fp-muted) !important;
}

.bg-light {
  background-color: #f8fafc !important;
}

.border {
  border-color: var(--fp-border) !important;
}

.rounded {
  border-radius: 12px !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1199.98px) {
  .fp-content {
    padding: 1.25rem;
  }

  .fp-auth-shell {
    grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  }
}

@media (max-width: 991.98px) {
  .fp-sidebar {
    width: min(88vw, var(--fp-sidebar-width));
    transform: translateX(-102%);
  }

  .fp-shell.sidebar-open .fp-sidebar {
    transform: translateX(0);
  }

  .fp-sidebar-backdrop {
    position: fixed;
    z-index: 1035;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(15, 23, 42, 0.52);
    opacity: 0;
    backdrop-filter: blur(2px);
    transition:
      opacity 220ms ease,
      visibility 220ms ease;
  }

  .fp-shell.sidebar-open .fp-sidebar-backdrop {
    visibility: visible;
    opacity: 1;
  }

  .fp-main {
    margin-left: 0;
  }

  .fp-auth-shell {
    display: block;
  }

  .fp-auth-panel {
    min-height: 100vh;
    background:
      radial-gradient(
        circle at 10% 5%,
        rgba(37, 99, 235, 0.1),
        transparent 30%
      ),
      #ffffff;
  }

  .fp-public-nav .navbar-collapse {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: #ffffff;
    border: 1px solid var(--fp-border);
    border-radius: 14px;
    box-shadow: var(--fp-shadow-md);
  }

  .fp-public-nav .nav-link.active::after {
    display: none;
  }

  .fp-hero-console {
    margin-top: 2rem;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .fp-topbar {
    min-height: 68px;
    padding: 0.7rem 1rem;
  }

  .fp-topbar-title strong {
    max-width: 58vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .fp-content {
    padding: 1rem;
  }

  .fp-page-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .fp-page-actions {
    justify-content: flex-start;
  }

  .fp-dashboard-footer,
  .fp-footer-bottom,
  .fp-checkout-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .table > :not(caption) > * > * {
    padding: 0.78rem 0.82rem;
  }

  .fp-hero {
    padding-top: 4.5rem;
  }

  .fp-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.65rem);
  }

  .fp-method-grid {
    grid-template-columns: 1fr;
  }

  .fp-auth-panel {
    padding: 1.25rem;
  }

  .checkout-wrap {
    display: block;
    padding: 0;
  }

  .checkout-card {
    width: 100%;
  }

  .fp-checkout-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .fp-checkout-lock span {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .fp-content {
    padding: 0.85rem;
  }

  .card-body {
    padding: 1rem;
  }

  .fp-topbar-actions {
    gap: 0.35rem;
  }

  .fp-page-heading-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .fp-hero-actions .btn {
    width: 100%;
  }

  .fp-checkout-header,
  .fp-checkout-content,
  .fp-checkout-footer {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .fp-checkout-amount strong {
    font-size: 1.1rem;
  }

  .fp-method-copy small {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media print {
  .no-print,
  .fp-sidebar,
  .fp-topbar,
  .fp-dashboard-footer,
  .fp-public-nav,
  .fp-public-footer {
    display: none !important;
  }

  .fp-main {
    margin: 0;
  }

  .fp-content {
    max-width: none;
    padding: 0;
  }

  body {
    color: #000000;
    background: #ffffff;
  }

  .card {
    border-color: #d1d5db;
    box-shadow: none;
  }
}
