.modal{display:none!important}.modal.show{display:flex!important}
.modal-backdrop{background:rgba(15,23,42,.4);backdrop-filter:blur(2px)}
.modal-dialog{margin:0;margin-left:auto}
.modal-content{border:none;border-radius:24px 0 0 24px;height:100vh;max-height:100vh;overflow:hidden;box-shadow:-8px 0 40px -12px rgba(0,0,0,.25)}
.modal-body{padding:0;overflow-y:auto;scrollbar-width:thin}
.modal-open{overflow:hidden!important}
.btn-close{width:36px;height:36px;border-radius:10px;border:1px solid #E2E8F0;background:#fff;opacity:1;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2714%27 height=%2714%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%23334555%27 stroke-width=%272.5%27%3E%3Cline x1=%2718%27 y1=%276%27 x2=%276%27 y2=%2718%27/%3E%3Cline x1=%276%27 y1=%276%27 x2=%2718%27 y2=%2718%27/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center}
/* ============================================
   PayFyre Panel Design System
   Clean, modern UI — no framework dependencies
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --pf-primary: #00E556;
  --pf-primary-hover: #00C44A;
  --pf-primary-light: rgba(0, 229, 86, 0.1);
  --pf-primary-dark: #00A53E;

  /* Neutrals */
  --pf-bg: #FAFAF8;
  --pf-surface: #FFFFFF;
  --pf-border: #E8ECEF;
  --pf-text: #1A1D21;
  --pf-text-secondary: #6B7280;
  --pf-text-muted: #9CA3AF;

  /* Status */
  --pf-success: #00E556;
  --pf-warning: #F59E0B;
  --pf-danger: #EF4444;
  --pf-info: #3B82F6;

  /* Layout */
  --pf-sidebar-width: 260px;
  --pf-header-height: 68px;
  --pf-radius: 20px;
  --pf-radius-sm: 12px;
  --pf-radius-xs: 8px;

  /* Shadows */
  --pf-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --pf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --pf-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --pf-transition: 0.2s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Geist','Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #FAFAF8;
  color: var(--pf-text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--pf-transition);
}

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

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--pf-text);
}

h1 { font-size: 1.75rem; font-weight: 800; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

.text-muted { color: var(--pf-text-secondary); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.font-weight-bold { font-weight: 700; }
.font-weight-semibold { font-weight: 600; }

/* ---------- Layout ---------- */
.pf-app {
  display: flex;
  min-height: 100vh;
}

.pf-sidebar {
  width: var(--pf-sidebar-width);
  background: linear-gradient(180deg, #0B1120 0%, #0F172A 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

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

.pf-content {
  flex: 1;
  padding: 32px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, #FAFBFC 0%, #F4F6F8 100%);
}

/* ---------- Sidebar ---------- */
.pf-sidebar-logo {
  height: var(--pf-header-height);
  display: flex;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
}

.pf-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--pf-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 229, 86, 0.3);
}

.pf-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.pf-sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.pf-nav-section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  padding: 20px 16px 8px;
}

.pf-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: var(--pf-radius-xs);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--pf-transition);
  cursor: pointer;
  margin-bottom: 2px;
  position: relative;
}

.pf-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.pf-nav-item.active {
  background: rgba(0, 229, 86, 0.1);
  color: #fff;
  font-weight: 700;
}

.pf-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--pf-primary);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(0, 229, 86, 0.5);
}

.pf-nav-item svg,
.pf-nav-item .pf-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}

.pf-nav-item.active svg,
.pf-nav-item.active .pf-nav-icon {
  opacity: 1;
}

.pf-nav-accordion {
  overflow: hidden;
}

.pf-nav-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.pf-nav-arrow {
  margin-left: auto;
  transition: transform 0.2s ease;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.pf-nav-accordion.open .pf-nav-arrow {
  transform: rotate(90deg);
}

.pf-nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.pf-nav-accordion.open .pf-nav-sub {
  max-height: 500px;
}

.pf-nav-sub {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-nav-sub .pf-nav-item {
  padding-left: 48px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.pf-nav-sub .pf-nav-item:hover {
  color: #fff;
}

.pf-nav-sub .pf-nav-item.active {
  color: #fff;
}

.pf-sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 15px;
  z-index: 1001;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #fff;
  border: 1px solid #E6EBF2;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15,23,42,.08);
  color: #0F172A;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1);
}

.pf-sidebar-toggle:active { transform: scale(.94); }
.pf-sidebar-toggle:hover { background: #F1F5F9; }

/* ---------- Header ---------- */
.pf-header {
  height: var(--pf-header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--pf-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.pf-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pf-page-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pf-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pf-header-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--pf-border);
  cursor: pointer;
  transition: all var(--pf-transition);
  position: relative;
}

.pf-header-link:hover {
  background: var(--pf-primary-light);
  border-color: var(--pf-primary);
  transform: translateY(-1px);
}

.pf-notification-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: var(--pf-danger);
  border-radius: 50%;
  border: 2px solid var(--pf-surface);
}

.pf-user-dropdown {
  position: relative;
}

.pf-user-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  padding: 6px 12px 6px 6px;
  border-radius: var(--pf-radius-xs);
  transition: background var(--pf-transition);
}

.pf-user-trigger:hover {
  background: var(--pf-primary-light);
}

.pf-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--pf-primary-light);
}

.pf-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pf-text);
}

.pf-user-email {
  font-size: 0.75rem;
  color: var(--pf-text-secondary);
}

.pf-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius-sm);
  box-shadow: var(--pf-shadow-lg);
  padding: 8px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--pf-transition);
  z-index: 99999;
}

.pf-user-dropdown.open .pf-dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  animation: pf-drop-fade .2s ease;
}

@keyframes pf-drop-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.pf-dropdown-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--pf-border);
  margin-bottom: 8px;
}

.pf-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--pf-radius-xs);
  color: var(--pf-text-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all var(--pf-transition);
}

.pf-dropdown-item:hover {
  background: #F4F6FA;
  color: var(--pf-text);
}

.pf-dropdown-item.danger {
  color: var(--pf-danger);
}

.pf-dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.08);
}

/* ---------- Cards ---------- */
.pf-card {
  background: var(--pf-surface);
  border: 1px solid #F0F2F5;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-card-header {
  padding: 20px 24px 0;
  border-bottom: 1px solid var(--pf-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pf-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pf-card-body {
  padding: 20px 24px;
}

.pf-card-body-flush {
  padding: 0;
}

/* ---------- Buttons ---------- */
.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
}


/* All button variants inherit base styles */
.pf-btn-primary,
.pf-btn-secondary,
.pf-btn-danger,
.pf-btn-ghost,
.pf-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.pf-btn-sm { height: 38px; padding: 0 16px; font-size: 0.8rem; }
.pf-btn-lg { height: 48px; padding: 0 32px; font-size: 0.95rem; }
.pf-btn-primary {
  background: #00E556;
  color: #04210F;
}

.pf-btn-primary:hover {
  background: #00C44A;
  color: #04210F;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 229, 86, 0.35);
}

.pf-btn-secondary {
  background: rgba(0, 229, 86, 0.08);
  color: var(--pf-primary-dark);
  border: 1px solid rgba(0, 229, 86, 0.2);
}

.pf-btn-secondary:hover {
  background: rgba(0, 229, 86, 0.12);
  border-color: rgba(0, 229, 86, 0.35);
  color: var(--pf-primary-dark);
}

.pf-btn-ghost {
  background: transparent;
  color: var(--pf-text-secondary);
}

.pf-btn-ghost:hover {
  background: #F4F6FA;
  color: var(--pf-text);
}

.pf-btn-danger {
  background: var(--pf-danger);
  color: #fff;
}

.pf-btn-danger:hover {
  background: #DC2626;
  color: #fff;
}

.pf-btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 0.8rem;
}

.pf-btn-lg {
  height: 48px;
  padding: 0 32px;
  font-size: 0.95rem;
}

.pf-btn-block {
  width: 100%;
}

.pf-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Forms ---------- */
.pf-form-group {
  margin-bottom: 20px;
}

.pf-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pf-text);
  margin-bottom: 8px;
}

.pf-form-input,
.pf-form-select,
.pf-form-textarea {
  width: 100%;
  height: 44px;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid #E8ECEF;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--pf-text);
  background: var(--pf-surface);
  transition: all 0.2s;
  outline: none;
}

.pf-form-textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 16px;
  resize: vertical;
}

.pf-form-input:focus,
.pf-form-select:focus,
.pf-form-textarea:focus {
  border-color: var(--pf-primary);
  box-shadow: 0 0 0 3px rgba(0, 229, 86, 0.1);
}

.pf-form-input::placeholder {
  color: var(--pf-text-muted);
}

/* ---------- Tables ---------- */
.pf-table {
  width: 100%;
  border-collapse: collapse;
}

.pf-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pf-text-muted);
  background: #F8FAFC;
  border-bottom: 1px solid #F0F2F5;
}

.pf-table td {
  padding: 16px 20px;
  font-size: 0.875rem;
  border-bottom: 1px solid #F0F2F5;
}

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

.pf-table tbody tr:hover {
  background: #FAFBFC;
}

/* ---------- Badges ---------- */
.pf-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pf-badge-success {
  background: rgba(0, 229, 86, 0.12);
  color: #00A53E;
}

.pf-badge-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
}

.pf-badge-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}

.pf-badge-info {
  background: rgba(59, 130, 246, 0.12);
  color: #2563EB;
}

.pf-badge-neutral {
  background: #F4F6FA;
  color: var(--pf-text-secondary);
}

/* ---------- Alerts ---------- */
.pf-alert {
  padding: 16px 20px;
  border-radius: var(--pf-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.pf-alert-success {
  background: rgba(0, 229, 86, 0.08);
  border: 1px solid rgba(0, 229, 86, 0.2);
  color: #00A53E;
}

.pf-alert-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #B45309;
}

.pf-alert-danger {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #DC2626;
}

.pf-alert-info {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #2563EB;
}

/* ---------- Stats Grid ---------- */
.pf-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.pf-stat-card {
  background: var(--pf-surface);
  border: 1px solid var(--pf-border);
  border-radius: var(--pf-radius);
  padding: 24px;
  box-shadow: var(--pf-shadow);
}

.pf-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pf-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.pf-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pf-text);
}

.pf-stat-trend {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

.pf-stat-trend.up { color: var(--pf-primary); }
.pf-stat-trend.down { color: var(--pf-danger); }

/* ---------- Utilities ---------- */
.pf-flex { display: flex; }
.pf-flex-col { flex-direction: column; }
.pf-items-center { align-items: center; }
.pf-justify-between { justify-content: space-between; }
.pf-gap-2 { gap: 8px; }
.pf-gap-4 { gap: 16px; }
.pf-gap-6 { gap: 24px; }
.pf-mb-2 { margin-bottom: 8px; }
.pf-mb-4 { margin-bottom: 16px; }
.pf-mb-6 { margin-bottom: 24px; }
.pf-mt-4 { margin-top: 16px; }
.pf-mt-6 { margin-top: 24px; }
.pf-w-full { width: 100%; }
.pf-hidden { display: none; }

.pf-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pf-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- Footer ---------- */
.pf-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--pf-border);
  background: var(--pf-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--pf-text-secondary);
}

.pf-footer a {
  color: var(--pf-primary-dark);
  font-weight: 600;
}

/* ---------- Mobile Overlay ---------- */
.pf-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pf-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pf-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pf-grid-2 {
    grid-template-columns: 1fr;
  }

  .pf-header {
    padding: 0 16px;
  }

  .pf-content {
    padding: 16px;
  }

  .pf-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .pf-user-name,
  .pf-user-email {
    display: none;
  }

  .pf-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Misc Support ---------- */
.pf-pagination {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.pf-pagination a,
.pf-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: var(--pf-radius-xs);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pf-text-secondary);
  border: 1px solid var(--pf-border);
  transition: all var(--pf-transition);
}

.pf-pagination a:hover {
  background: var(--pf-primary-light);
  border-color: var(--pf-primary);
  color: var(--pf-primary-dark);
}

.pf-pagination .active {
  background: var(--pf-primary);
  color: #fff;
  border-color: var(--pf-primary);
}

.pf-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--pf-text-secondary);
}

.pf-empty-state-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* Select2 compatibility */
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: 44px;
  border: 1px solid var(--pf-border) !important;
  border-radius: var(--pf-radius-xs) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--pf-text);
}

/* Bootstrap compatibility layer (minimal) */
.container-fluid { width: 100%; }
.row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.col, .col-12 { flex: 1; padding: 0 8px; }
.col-12 { flex: 0 0 100%; }
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; padding: 40px 0 !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.me-2 { margin-right: 8px !important; }
.me-3 { margin-right: 16px !important; }
.ms-2 { margin-left: 8px !important; }
.ms-auto { margin-left: auto !important; }
.p-4 { padding: 24px !important; }
.px-4 { padding-left: 24px !important; padding-right: 24px !important; }
.py-4 { padding-top: 24px !important; padding-bottom: 24px !important; }
.gap-2 { gap: 8px !important; }
.gap-3 { gap: 16px !important; }
.text-danger { color: var(--pf-danger) !important; }
.text-success { color: var(--pf-primary-dark) !important; }
.text-white { color: #fff !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.rounded { border-radius: var(--pf-radius-sm) !important; }
.w-100 { width: 100% !important; }
.text-end { text-align: right !important; }
.text-start { text-align: left !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 0.875rem; font-family: inherit; border: none; cursor: pointer; transition: all 0.2s ease; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--pf-primary); color: #fff; }
.btn-primary:hover { background: var(--pf-primary-hover); color: #fff; }
.btn-secondary { background: var(--pf-surface); color: var(--pf-text); border: 1px solid var(--pf-border); }
.btn-danger { background: var(--pf-danger); color: #fff; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 0.8rem; }
.form-control { width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--pf-border); border-radius: var(--pf-radius-xs); font-family: inherit; font-size: 0.9rem; color: var(--pf-text); background: var(--pf-surface); transition: all 0.2s ease; outline: none; }
.form-control:focus { border-color: var(--pf-primary); box-shadow: 0 0 0 3px var(--pf-primary-light); }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--pf-text); margin-bottom: 8px; }
.form-select { width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--pf-border); border-radius: var(--pf-radius-xs); font-family: inherit; font-size: 0.9rem; color: var(--pf-text); background: var(--pf-surface); }
.card { background: var(--pf-surface); border: 1px solid var(--pf-border); border-radius: var(--pf-radius); box-shadow: var(--pf-shadow); overflow: hidden; }
.card-header { padding: 24px 28px; border-bottom: 1px solid var(--pf-border); }
.card-body { padding: 28px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; padding: 14px 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--pf-text-muted); background: #F4F6FA; border-bottom: 1px solid var(--pf-border); }
.table td { padding: 16px 20px; font-size: 0.875rem; border-bottom: 1px solid var(--pf-border); }
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 10px; font-size: 0.75rem; font-weight: 700; }
.badge.bg-success { background: rgba(0,229,86,0.12); color: #00A53E; }
.badge.bg-danger { background: rgba(239,68,68,0.12); color: #DC2626; }
.badge.bg-warning { background: rgba(245,158,11,0.12); color: #B45309; }
.badge.bg-info { background: rgba(59,130,246,0.12); color: #2563EB; }
.alert { padding: 16px 20px; border-radius: var(--pf-radius-sm); font-size: 0.875rem; margin-bottom: 16px; }
.alert-success { background: rgba(0,229,86,0.08); border: 1px solid rgba(0,229,86,0.2); color: #00A53E; }
.alert-danger { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.2); color: #DC2626; }
.alert-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #B45309; }
.alert-info { background: rgba(59,130,246,0.08); border: 1px solid rgba(59,130,246,0.2); color: #2563EB; }
.modal-backdrop.show { opacity: 0.5; }
.text-break { word-break: break-word; }
.fw-bolder { font-weight: 800 !important; }
.fs-5 { font-size: 1.125rem !important; }
.fs-6 { font-size: 1rem !important; }
.fs-7 { font-size: 0.875rem !important; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.cursor-pointer { cursor: pointer; }
.dropdown-menu { position: absolute; top: 100%; right: 0; min-width: 200px; background: var(--pf-surface); border: 1px solid var(--pf-border); border-radius: var(--pf-radius-sm); box-shadow: var(--pf-shadow-lg); padding: 8px; z-index: 99999; }
.dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--pf-radius-xs); color: var(--pf-text-secondary); font-weight: 600; font-size: 0.875rem; transition: all 0.2s ease; }
.dropdown-item:hover { background: #F4F6FA; color: var(--pf-text); }
.separator { height: 1px; background: var(--pf-border); margin: 8px 0; }
/* ============================================
   PAYFYRE RESPONSIVE ENHANCEMENTS — User Panel
   Mobile-first refinement layer for payfyre-panel.css
   ============================================ */

/* ---- Tablet (≤1024px) ---- */
@media (max-width: 1024px) {
    /* Tighter content on tablet */
    .pf-content { padding: 24px 20px; }

    /* Card body slightly tighter */
    .pf-card-body { padding: 24px 20px; }
    .pf-card-header { padding: 20px; }

    /* Stats grid: 2 cols on tablet */
    .pf-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Grid adjustments */
    .pf-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
    /* === Typography Scale Down === */
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    .pf-page-title { font-size: 1rem; }
    .pf-page-heading h1 { font-size: 1.4rem; }
    .pf-page-heading p { font-size: 0.8rem; }

    /* === Content === */
    .pf-content { padding: 16px 12px; }

    /* === Header === */
    .pf-header { padding: 0 16px; height: 60px; }
    .pf-header-left { gap: 10px; }
    .pf-header-right { gap: 8px; }
    .pf-header-link { width: 40px; height: 40px; }
    .pf-user-trigger { padding: 4px 8px 4px 4px; gap: 8px; }
    .pf-user-avatar { width: 32px; height: 32px; }
    .pf-user-name, .pf-user-email { display: none; }
    .pf-sidebar-toggle { top: 10px; left: 10px; width: 40px; height: 40px; }

    /* === Cards === */
    .pf-card { border-radius: 14px; }
    .pf-card-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .pf-card-header > * { width: 100%; }
    .pf-card-header .pf-btn,
    .pf-card-header .btn {
        width: 100%;
    }
    .pf-card-body { padding: 16px; }

    /* === Stat Cards === */
    .pf-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    .pf-stat-card { padding: 16px; }
    .pf-stat-value { font-size: 1.4rem; }
    .pf-stat-label { font-size: 0.75rem; }

    /* === Grids === */
    .pf-grid-2, .pf-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* === Tables → Scrollable Cards === */
    .pf-table-wrap, .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }

    .pf-table {
        min-width: 500px;
    }

    .pf-table th {
        padding: 10px 12px;
        font-size: 0.65rem;
    }

    .pf-table td {
        padding: 12px;
        font-size: 0.8rem;
    }

    /* Hide secondary columns on mobile (add .pf-hide-mobile class in templates) */
    .pf-hide-mobile { display: none !important; }

    /* === Forms === */
    .pf-form-group { margin-bottom: 14px; }
    .pf-form-label { font-size: 0.8rem; margin-bottom: 6px; }
    .pf-form-input, .pf-form-select, .pf-form-textarea {
        height: 48px; /* Larger touch target */
        font-size: 16px; /* Prevent iOS zoom */
    }

    /* Form buttons stack full width */
    .pf-card-body .pf-btn,
    .pf-card-body .btn-primary {
        width: 100%;
        margin-bottom: 8px;
    }

    /* === Buttons === */
    .pf-btn { height: 44px; padding: 0 20px; font-size: 0.85rem; }
    .pf-btn-sm { height: 40px; padding: 0 14px; }
    .pf-btn-block { width: 100%; }

    /* === Action Bar / Toolbar === */
    .pf-card-header > .d-flex,
    .pf-card-header > div:last-child {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Search inputs go full width */
    .pf-search-input,
    .search-input {
        width: 100% !important;
    }
    .pf-search-input input,
    .search-input input {
        width: 100% !important;
    }

    /* === Badges === */
    .pf-badge { font-size: 0.65rem; padding: 3px 8px; }

    /* === Pagination === */
    .pf-pagination { gap: 2px; flex-wrap: wrap; }
    .pf-pagination a, .pf-pagination span {
        min-width: 32px; height: 32px; font-size: 0.75rem; padding: 0 6px;
    }

    /* === Footer === */
    .pf-footer {
        padding: 16px;
        flex-direction: column;
        gap: 6px;
        text-align: center;
        font-size: 0.75rem;
    }

    /* === Alerts === */
    .pf-alert { padding: 12px 14px; font-size: 0.8rem; border-radius: 10px; }

    /* === Bootstrap Compat === */
    .row { flex-direction: column; gap: 0; }
    .col, .col-12, .col-6, .col-4, .col-3, .col-8, .col-9,
    .col-md-6, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-9 {
        flex: 0 0 100%;
        padding: 0;
        margin-bottom: 12px;
    }

    .card-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .card-body { padding: 16px; }

    .btn { width: 100%; margin-bottom: 6px; }
    .btn-sm { width: auto; display: inline-flex; margin-bottom: 0; }

    /* Bootstrap table responsive */
    .table th { padding: 10px 12px; font-size: 0.65rem; }
    .table td { padding: 10px 12px; font-size: 0.8rem; }

    /* Modals → near full screen */
    .modal-dialog {
        margin: 8px;
        max-width: calc(100vw - 16px);
    }
    .modal-content { border-radius: 14px; }
    .modal-body { padding: 16px; }

    /* Dropdown menus → full width */
    .pf-dropdown-menu {
        position: fixed;
        top: 60px;
        left: 8px;
        right: 8px;
        min-width: auto;
        max-width: calc(100vw - 16px);
    }

    /* Hide elements that don't work on mobile */
    .pf-hide-on-mobile { display: none !important; }
}

/* ---- Small Mobile (≤480px) ---- */
@media (max-width: 480px) {
    .pf-content { padding: 12px 8px; }
    .pf-card-body { padding: 12px; }
    .pf-card-header { padding: 14px 12px; }

    /* Single column stats */
    .pf-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Even tighter tables */
    .pf-table th { padding: 8px; font-size: 0.6rem; }
    .pf-table td { padding: 10px 8px; font-size: 0.75rem; }

    /* Footer copyright wraps */
    .pf-footer { font-size: 0.7rem; }

    /* Brand text hidden, just logo icon */
    .pf-logo-text { font-size: 1rem; }
}

/* ---- Landscape Phone ---- */
@media (max-width: 768px) and (orientation: landscape) {
    .pf-sidebar {
        width: 240px;
    }
    .pf-content { padding: 16px; }
}

/* ============================================
   FORM GRID UTILITIES (Responsive)
   ============================================ */
.pf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
@media (max-width: 768px) {
    .pf-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Settings/profile form actions */
.pf-form-actions {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}
@media (max-width: 768px) {
    .pf-form-actions {
        flex-direction: column;
    }
    .pf-form-actions .pf-btn,
    .pf-form-actions .btn {
        width: 100%;
    }
}

/* Chart container (user panel) */
.chart-container {
    position: relative;
    height: 280px;
    width: 100%;
}

/* ============================================
   HEADER & FOOTER REFINEMENTS
   ============================================ */

/* Dropdown wide (notifications) */
.pf-dropdown-wide { min-width: 320px; }
@media (max-width: 480px) {
    .pf-dropdown-wide { min-width: auto; min-width: calc(100vw - 32px); }
}

/* Dropdown title */
.pf-dropdown-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--pf-text);
}

/* Dropdown notification item */
.pf-dropdown-notif {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
}
.pf-dropdown-notif-msg { font-weight: 600; font-size: 0.85rem; }
.pf-dropdown-notif-time { font-size: 0.75rem; color: var(--pf-text-muted); }

/* Dropdown empty */
.pf-dropdown-empty {
    padding: 24px;
    text-align: center;
    color: var(--pf-text-muted);
    font-size: 0.85rem;
}

/* User meta in header */
.pf-user-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

/* Dropdown user info (header) */
.pf-dropdown-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pf-dropdown-user-name { font-weight: 700; font-size: 0.9rem; }
.pf-dropdown-user-email { font-size: 0.75rem; color: var(--pf-text-secondary); }

/* Dropdown form (logout) */
.pf-dropdown-form { display: inline; width: 100%; }
.pf-dropdown-btn {
    width: 100%;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

/* User email truncation */
.pf-user-email {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Footer right section */
.pf-footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Footer select */
.pf-footer-select {
    border: 1px solid var(--pf-border);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-family: inherit;
    background: var(--pf-surface);
    color: var(--pf-text-secondary);
    outline: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .pf-footer-right { gap: 8px; }
    .pf-footer-select { font-size: 0.75rem; padding: 4px 8px; }
}

/* ============================================
   ADDITIONS — Layout Partials Support Classes
   ============================================ */

/* Sidebar logo link */
.pf-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Larger avatar in dropdown header */
.pf-dropdown-avatar-lg {
  width: 40px;
  height: 40px;
}

/* Profile info header nav tabs */
.pf-profile-nav {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 16px;
  flex-wrap: wrap;
}

.pf-profile-nav-item {
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  color: var(--pf-text-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--pf-transition);
}

.pf-profile-nav-item:hover {
  color: var(--pf-text);
}

.pf-profile-nav-item.active {
  color: var(--pf-primary-dark);
  border-bottom-color: var(--pf-primary);
}

/* Profile stat boxes (inside profile header) */
.pf-profile-stat {
  border: 1px dashed var(--pf-border);
  border-radius: var(--pf-radius-sm);
  min-width: 125px;
  padding: 12px 16px;
  margin-right: 16px;
  margin-bottom: 12px;
}

.pf-profile-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pf-profile-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pf-text-secondary);
}

/* Progress bar */
.pf-progress {
  height: 5px;
  background: #F4F6FA;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  margin-bottom: 12px;
}

.pf-progress-bar {
  height: 100%;
  background: var(--pf-primary);
  border-radius: 10px;
}

.pf-progress-bar-50 { width: 50%; }

/* Profile completion */
.pf-profile-completion {
  display: flex;
  flex-direction: column;
  width: 200px;
  margin-top: 12px;
}

.pf-profile-completion-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
}

/* Stats row for Doss header */
.pf-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

/* Profile info card spacing */
.pf-profile-info-body {
  padding-top: 24px;
}

.pf-profile-nav-wrap {
  margin-top: 16px;
}

/* — User Module Pages — */

   
    .otp-field {
      flex-direction: row;
      column-gap: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .otp-field input:disabled{
      background:#5A585F;
    }
    .otp-field input {
      height: 75px;
      width: 25%;
      border-radius: 6px;
      outline: none;
      font-size: 30px;
      text-align: center;
      border: 1px solid transparent;
      font-weight: 600;
      background:#2e2f44;
      color:#fff;
      cursor:pointer !important;
    }
    .otp-field input:focus {
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    }
    .otp-field input::-webkit-inner-spin-button,
    .otp-field input::-webkit-outer-spin-button {
      display: none;
    }
    .iti .form-control{
        color:#fff !important;
        font-weight:500 !important;
    }
    .iti__selected-dial-code{
        font-weight:500 !important;
    }
     

    
        .eye-icon-hide-cnfrm{
            position: absolute;
            top: 12px;
            right: 13px;
        }
        .otp-field {
      flex-direction: row;
      column-gap: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .otp-field input:disabled{
      background:#5A585F;
    }
    .otp-field input {
      height: 75px;
      width: 25%;
      border-radius: 6px;
      outline: none;
      font-size: 30px;
      text-align: center;
      border: 1px solid transparent;
      font-weight: 600;
      background:#2e2f44;
      color:#fff;
      cursor:pointer !important;

    }
    .otp-field input:focus {
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    }
    .otp-field input::-webkit-inner-spin-button,
    .otp-field input::-webkit-outer-spin-button {
      display: none;
    }
    .iti .form-control{
        color:#fff !important;
        font-weight:500 !important;
    }
    .iti__selected-dial-code{
        font-weight:500 !important;
    }
    

   
    .otp-field {
      flex-direction: row;
      column-gap: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .otp-field input:disabled{
      background:#5A585F;
    }
    .otp-field input {
      height: 75px;
      width: 25%;
      border-radius: 6px;
      outline: none;
      font-size: 30px;
      text-align: center;
      border: 1px solid transparent;
      font-weight: 600;
      background:#2e2f44;
      color:#fff;
      cursor:pointer !important;
    }
    .otp-field input:focus {
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    }
    .otp-field input::-webkit-inner-spin-button,
    .otp-field input::-webkit-outer-spin-button {
      display: none;
    }
     

    
    .start-header{
        display:none !important;
    }
    .footer-sec , .bottom-footer{
        display:none !important;
    }
    .otp-field {
      flex-direction: row;
      column-gap: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .otp-field input {
      height: 100px;
      width: 25%;
      border-radius: 6px;
      outline: none;
      font-size: 30px;
      text-align: center;
      border: 1px solid #ddd;
      font-weight: 600;
    }
    .otp-field input:focus {
      box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    }
    .otp-field input::-webkit-inner-spin-button,
    .otp-field input::-webkit-outer-spin-button {
      display: none;
    }
        

    .jst-hours {
    float: left;
    }
    .jst-minutes {
    float: left;
    }
    .jst-seconds {
    float: left;
    }
    .jst-clearDiv {
    clear: both;
    }
    .jst-timeout {
    color: red;
    }

.pf-step.completed .pf-step-num { background:#16a34a; color:#fff; }
.pf-step-line.active { background:#00E556; }
.pf-summary { background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:24px; }
.pf-summary-row { display:flex; justify-content:space-between; align-items:center; padding:12px 0; }
.pf-summary-row.total { padding-top:16px; }
.pf-summary-label { font-size:15px; font-weight:600; color:#64748b; }
.pf-summary-value { font-size:18px; font-weight:700; }
.pf-summary-divider { height:1px; background:#e2e8f0; margin:4px 0; }
.pf-back-link { display:inline-flex; align-items:center; gap:6px; color:#64748b; font-size:14px; font-weight:600; text-decoration:none; transition:color 0.2s; }
.pf-back-link:hover { color:#0f172a; }

.pf-steps { display:flex; flex-direction:column; gap:0; }
.pf-step { display:flex; gap:14px; align-items:flex-start; }
.pf-step-num { width:36px; height:36px; border-radius:10px; background:#e2e8f0; color:#64748b; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:15px; flex-shrink:0; transition:all 0.2s; }
.pf-step.active .pf-step-num { background:#00E556; color:#0f172a; }
.pf-step-title { font-weight:700; font-size:14px; margin:0 0 2px 0; }
.pf-step-desc { font-size:12px; color:#94a3b8; margin:0; }
.pf-step-line { width:2px; height:32px; background:#e2e8f0; margin-left:17px; }
.pf-amount-input { position:relative; display:flex; align-items:center; }
.pf-amount-currency { position:absolute; left:20px; font-size:24px; font-weight:700; color:#94a3b8; pointer-events:none; z-index:1; }
.pf-amount-field { padding-left:48px !important; }

    .jst-hours {
    float: left;
    }
    .jst-minutes {
    float: left;
    }
    .jst-seconds {
    float: left;
    }
    .jst-clearDiv {
    clear: both;
    }
    .jst-timeout {
    color: red;
    }

  .tbl{
    font-size: 16px;
  }

  .error{
    color: red;
  }

  
      .error{
         color: red;
      }
    

.pf-step.completed .pf-step-num { background:#16a34a; color:#fff; }
.pf-step-line.active { background:#00E556; }
.pf-back-link { display:inline-flex; align-items:center; gap:6px; color:#64748b; font-size:14px; font-weight:600; text-decoration:none; transition:color 0.2s; }
.pf-back-link:hover { color:#0f172a; }

details summary::-webkit-details-marker { display: none; }
details[open] summary svg { transform: rotate(180deg); }

.pf-pin-input:focus { border-color:#00E556 !important; box-shadow:0 0 0 3px rgba(0,229,86,0.1); }
.pf-pin-input::-webkit-inner-spin-button,
.pf-pin-input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }

   .input-prepend-container {
   display: flex;
   align-items: center;
   border-radius: 0.25rem;
   }

   .input-prepend {
   padding: 1rem;
   background-color: #b7d5f7;
   font-weight:700;
   border-radius: 0.25rem 0 0 0.25rem;
   color: #495057;
   font-size: 1rem;
   }
   #receiver{
   border-top-left-radius:0 !important;
   border-bottom-left-radius:0 !important;
   }
   .user-section {
      background-color: #f8f9fa; /* Grey background color */
      border: 1px solid #dee2e6; /* Border color */
      padding: 20px;
      border-radius: 8px; /* Optional: Add rounded corners */
      margin-top: 20px;
   }
      .user-card {
      display: flex;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 10px;
      margin-top: 10px;
      max-width: 300px;
      height: 121px;
      text-align: left;
      background-color: #EFF6FE
   }

   .user-image {
       /*  width: 93px;
   height: 87px;
   border-radius: 10%;
   object-fit: cover;
   margin-right: 10px;
   padding: 10px;*/
   width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
   }

   .user-details {
      flex-grow: 1;
   }

   .user-name {
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 5px;
   }

  

.otp-field {
  flex-direction: row;
  column-gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otp-field input {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  outline: none;
  font-size: 1.125rem;
  text-align: center;
  border: 1px solid #ddd;
}
.otp-field input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
  display: none;
}

.resend {
  font-size: 12px;
}

.otp-field{
    height: 72px;
}
.dd{
    height: 150px; 
    margin-left: 23%; 
}

 

.pf-step.completed .pf-step-num { background:#16a34a; color:#fff; }
.pf-step.active .pf-step-num { background:#00E556; color:#0f172a; }
.pf-step-line { height:2px; background:#e2e8f0; margin:0 0 0 20px; }
.pf-step-line.active { background:#00E556; }
.user-card { display:flex; align-items:center; gap:12px; padding:12px; border:1px solid #e2e8f0; border-radius:12px; margin-top:8px; cursor:pointer; }
.user-card:hover { border-color:#00E556; background:#f0fdf4; }

.otp-field {
  flex-direction: row;
  column-gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.otp-field input {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  outline: none;
  font-size: 1.125rem;
  text-align: center;
  border: 1px solid #ddd;
}
.otp-field input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
  display: none;
}

.resend {
  font-size: 12px;
}

.otp-field{
    height: 72px;
}
.dd{
    height: 150px; 
    margin-left: 23%; 
}

 

.pf-step.completed .pf-step-num { background:#16a34a; color:#fff; }
.pf-step-line.active { background:#00E556; }
.pf-summary { background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:24px; }
.pf-summary-row { display:flex; justify-content:space-between; align-items:center; padding:12px 0; }
.pf-summary-label { font-size:15px; font-weight:600; color:#64748b; }
.pf-summary-value { font-size:18px; font-weight:700; }
.pf-summary-divider { height:1px; background:#e2e8f0; margin:4px 0; }
.pf-back-link { display:inline-flex; align-items:center; gap:6px; color:#64748b; font-size:14px; font-weight:600; text-decoration:none; }
.pf-back-link:hover { color:#0f172a; }

.pf-step.active .pf-step-num { background:#00E556; color:#0f172a; }
.pf-amount-input { position:relative; display:flex; align-items:center; }
.pf-amount-currency { position:absolute; left:20px; font-size:24px; font-weight:700; color:#94a3b8; pointer-events:none; z-index:1; }
.pf-amount-field { padding-left:48px !important; }
#searchResults li { list-style:none; padding:10px; border:1px solid #e2e8f0; margin-bottom:4px; display:flex; align-items:center; border-radius:10px; cursor:pointer; transition:background 0.2s; }
#searchResults li:hover { background:#f0fdf4; border-color:#00E556; }
#searchResults li img { width:36px; height:36px; margin-right:10px; border-radius:50%; object-fit:cover; }

.otp-input:focus { border-color:#00E556 !important; box-shadow:0 0 0 3px rgba(0,229,86,0.1); }
.pf-back-link { display:inline-flex; align-items:center; gap:6px; color:#64748b; font-size:14px; font-weight:600; text-decoration:none; }
.pf-back-link:hover { color:#0f172a; }

    
         th span {
            display: block;
            font-weight: bold;
            margin-bottom: 5px;
        }

        th span.badge {
            margin-top: 5px;
        }

        th {
            padding-bottom: 10px;
        }
    

.otp-field {
  flex-direction: row;
  column-gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
} 
.otp-field input {
  width: 100%;
  height: 50px;
  border-radius: 6px;
  outline: none;
  font-size: 21px;
  font-weight: 600;
  text-align: center;
  border: 1px solid transparent;
  background-color:#E4F4FA !important;
}

.otp-field input:focus {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
  display: none;
}
.otp-field input:focus{
    box-shadow:unset !important;
}

.pf-kpi-mini { background:#f8fafc; border:1px solid #e2e8f0; border-radius:12px; padding:12px 16px; min-width:140px; }
.pf-kpi-mini-label { font-size:11px; font-weight:600; color:#64748b; text-transform:uppercase; letter-spacing:0.05em; margin:0 0 4px 0; }
.pf-kpi-mini-value { font-size:22px; font-weight:800; margin:0; }
.pf-action-tile { display:flex; flex-direction:column; align-items:center; gap:10px; padding:20px 12px; border-radius:14px; background:#f8fafc; border:1px solid #e2e8f0; text-decoration:none; color:#334155; font-weight:600; font-size:13px; transition:all 0.2s; }
.pf-action-tile:hover { border-color:#00E556; background:#f0fdf4; transform:translateY(-2px); box-shadow:0 4px 12px rgba(0,229,86,0.1); }
.pf-action-icon { width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; }
.pf-action-icon--green { background:#dcfce7; color:#16a34a; }
.pf-action-icon--blue { background:#dbeafe; color:#2563eb; }
.pf-action-icon--amber { background:#fef3c7; color:#d97706; }
.pf-action-icon--purple { background:#f3e8ff; color:#9333ea; }

.pf-step.completed .pf-step-num { background:#16a34a; color:#fff; }
.pf-step-line.active { background:#00E556; }
.pf-detail-grid { display:flex; flex-direction:column; gap:0; }
.pf-detail-row { display:flex; justify-content:space-between; padding:12px 0; border-bottom:1px solid #f1f5f9; }
.pf-detail-row:last-child { border-bottom:none; }
.pf-detail-label { font-weight:600; color:#64748b; font-size:14px; }
.pf-detail-value { font-weight:600; font-size:14px; }
.pf-summary { background:#f8fafc; border:1px solid #e2e8f0; border-radius:16px; padding:24px; }
.pf-summary-row { display:flex; justify-content:space-between; align-items:center; padding:12px 0; }
.pf-summary-label { font-size:15px; font-weight:600; color:#64748b; }
.pf-summary-value { font-size:18px; font-weight:700; }
.pf-summary-divider { height:1px; background:#e2e8f0; margin:4px 0; }
.pf-back-link { display:inline-flex; align-items:center; gap:6px; color:#64748b; font-size:14px; font-weight:600; text-decoration:none; transition:color 0.2s; }
.pf-back-link:hover { color:#0f172a; }

.pf-step.active .pf-step-num { background:#00E556; color:#0f172a; }
.pf-amount-input { position:relative; display:flex; align-items:center; }
.pf-amount-currency { position:absolute; left:20px; font-size:24px; font-weight:700; color:#94a3b8; pointer-events:none; z-index:1; }
.pf-amount-field { padding-left:48px !important; }

/* ===== Replacements for Keenthemes symbol/menu classes ===== */
.pf-symbol { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.pf-symbol-35 { width: 35px; height: 35px; }
.pf-symbol-50 { width: 50px; height: 50px; }
.pf-symbol-label { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; font-weight: 700; font-size: 14px; }
.pf-symbol-circle { border-radius: 50%; }
.pf-menu-dropdown { position: absolute; display: none; min-width: 250px; padding: 8px 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); z-index: 1050; }

/* — User Module: Auth (identitiy-verify, address-verify) — */
.pf-icon-btn { display:inline-flex; align-items:center; justify-content:center; width:35px; height:35px; border-radius:50%; padding:0; line-height:1; color:#94a3b8; background:transparent; border:1px solid #e2e8f0; transition:all 0.2s; }
.pf-icon-btn:hover { color:#0f172a; background:#f1f5f9; border-color:#cbd5e1; }

/* — User Module: Profile (doss_index avatar buttons) — */
.pf-avatar-btn { display:inline-flex; align-items:center; justify-content:center; width:25px; height:25px; border-radius:50%; padding:0; line-height:1; background:#fff; box-shadow:0 1px 4px rgba(0,0,0,0.1); color:#64748b; transition:all 0.2s; }
.pf-avatar-btn:hover { color:#0f172a; box-shadow:0 2px 8px rgba(0,0,0,0.15); }

/* — Set Password Page — */
.set-password-otp .otp-field {
    flex-direction: row;
    column-gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.set-password-otp .otp-field input:disabled {
    background: var(--pf-slate-300);
}
.set-password-otp .otp-field input {
    height: 52px;
    width: 15%;
    border-radius: var(--pf-radius-xs);
    outline: none;
    font-size: 1.25rem;
    text-align: center;
    border: 1px solid var(--pf-border);
    font-weight: 600;
    background: var(--pf-surface);
    color: var(--pf-text);
}
.set-password-otp .otp-field input:focus {
    border-color: var(--pf-primary);
    box-shadow: 0 0 0 3px var(--pf-primary-tint);
}
.set-password-otp .otp-field input::-webkit-inner-spin-button,
.set-password-otp .otp-field input::-webkit-outer-spin-button {
    display: none;
}

/* — DOSS Profile Page — */
.pf-avatar-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pf-avatar {
    width: 125px;
    height: 125px;
    border-radius: var(--pf-radius-lg);
    background: var(--pf-slate-100);
    background-size: cover;
    background-position: center;
    border: 1px solid var(--pf-border);
}
.pf-avatar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pf-white);
    border: 1px solid var(--pf-border);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}
.pf-avatar-btn:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.pf-avatar-btn input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* ============================================
   Transactions Page — Additions 2026-06-27
   ============================================ */

/* Search box inside card title */
.pf-search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}
.pf-search-box .pf-form-control {
    min-width: 240px;
}

/* Toolbar actions */
.pf-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Dropdown filter menu */
.pf-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--pf-white);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius-md);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 1000;
    min-width: 320px;
    display: none;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.15s, transform 0.15s;
}
.pf-menu-dropdown.show,
.pf-menu-dropdown[style*="display: block"] {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.pf-menu-dropdown-header {
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pf-slate-800);
    border-bottom: 1px solid var(--pf-border);
}
.pf-menu-dropdown-body {
    padding: 1.25rem;
}
.pf-menu-dropdown-body .pf-form-group {
    margin-bottom: 1rem;
}
.pf-menu-dropdown-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--pf-border);
    margin-top: 0.5rem;
}

/* Table rows */
.pf-table-row {
    cursor: pointer;
    transition: background 0.15s;
}
.pf-table-row:hover {
    background: var(--pf-slate-50);
}

/* Transaction icon cell */
.pf-transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--pf-radius-sm);
    background: var(--pf-slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.pf-transaction-icon img {
    border-radius: 50%;
    object-fit: cover;
}

/* Text helpers for tables */
.pf-font-medium {
    font-weight: 500;
}
.pf-text-muted {
    color: var(--pf-slate-500);
}
.pf-text-end {
    text-align: right;
}

/* Amount styling */
.pf-amount {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
}
.pf-amount-in svg path {
    fill: #2AAA5E;
}
.pf-amount-out svg path {
    fill: #D9204C;
}

/* Status badge in table */
.pf-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 50px;
    margin-top: 0.25rem;
}

/* Links */
.pf-link {
    color: var(--pf-primary);
    font-weight: 500;
    text-decoration: none;
}
.pf-link:hover {
    text-decoration: underline;
}

/* Modal close button */
.pf-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--pf-radius-sm);
    color: var(--pf-slate-400);
    z-index: 10;
    transition: color 0.15s, background 0.15s;
}
.pf-modal-close:hover {
    color: var(--pf-slate-700);
    background: var(--pf-slate-100);
}

/* Modal left sidebar (transaction icon area) */
.pf-modal-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    text-align: center;
    height: 100%;
}
.pf-modal-icon-wrap {
    margin-bottom: 1.25rem;
}
.pf-modal-label {
    font-size: 0.875rem;
    color: var(--pf-slate-500);
    margin: 0;
}
.pf-modal-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--pf-slate-900);
    margin: 0.5rem 0;
}
.pf-modal-date {
    font-size: 0.875rem;
    color: var(--pf-slate-500);
    margin: 0;
}
.pf-modal-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

/* Modal right details */
.pf-modal-details {
    padding: 1.5rem;
}
.pf-modal-details-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pf-slate-900);
    margin-bottom: 1rem;
}
.pf-detail-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--pf-slate-500);
    margin: 0.75rem 0 0.25rem;
}
.pf-detail-value {
    font-size: 0.9375rem;
    color: var(--pf-slate-900);
    margin: 0 0 0.25rem;
}
.pf-modal-footer-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

/* Empty table state */
.pf-table-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--pf-slate-500);
    font-weight: 500;
}

/* Pagination wrapper */
.pf-pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Warning button */
.pf-btn--warning {
    background: #f0ad4e;
    color: #fff;
    border-color: #f0ad4e;
}
.pf-btn--warning:hover {
    background: #ec971f;
    border-color: #ec971f;
}
.text-warning { color: #f0ad4e !important; }

/* Bootstrap-compatible grid (minimal) */
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    position: relative;
    padding: 0 8px;
}
.col-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }
.col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.3333%; max-width: 58.3333%; }
.col-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.col-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Common utilities used in views */
.flex-grow-1 { flex-grow: 1 !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-sm-nowrap { flex-wrap: nowrap !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.align-items-center { align-items: center !important; padding: 40px 0 !important; }
.align-items-start { align-items: flex-start !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-5 { margin-bottom: 1.5rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-5 { margin-top: 1.5rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 0.75rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1rem !important; }
.my-0 { margin: 0 !important; }
.m-0 { margin: 0 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-medium { font-weight: 500 !important; }
.fs-2x { font-size: 1.25rem !important; }
.fs-3 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1rem !important; }
.fs-6 { font-size: 0.875rem !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.cursor-pointer { cursor: pointer !important; }
.img-fluid { max-width: 100%; height: auto; }
.separator { border-top: 1px solid var(--pf-border); margin: 0.5rem 0; }

/* ============================================
   CSS Fixes — 2026-06-27 Part 2
   Dashboard layout + missing vars
   ============================================ */

/* Slate scale (referenced but never defined!) */
:root {
  --pf-slate-50: #F8FAFC;
  --pf-slate-100: #F1F5F9;
  --pf-slate-200: #E2E8F0;
  --pf-slate-300: #CBD5E1;
  --pf-slate-400: #94A3B8;
  --pf-slate-500: #64748B;
  --pf-slate-600: #475569;
  --pf-slate-700: #334155;
  --pf-slate-800: #1E293B;
  --pf-slate-900: #0F172A;
  --pf-radius-md: 14px;
  --pf-radius-lg: 20px;
  --pf-white: #FFFFFF;
}

/* Badge variants (used in dashboard) */
.pf-badge--info {
    background: rgba(59, 130, 246, 0.1);
    color: #2563EB;
}
.pf-badge--success {
    background: rgba(0, 229, 86, 0.1);
    color: #00A53E;
}
.pf-badge--warning {
    background: rgba(245, 158, 11, 0.1);
    color: #D97706;
}
.pf-badge--danger {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

/* Wallet card */
.pf-wallet-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--pf-radius);
    padding: 1.5rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.pf-wallet-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,86,0.15) 0%, transparent 70%);
}

/* ============================================
   PREMIUM DASHBOARD — Fintech Grade
   ============================================ */

/* ===== Content Background Gradient ===== */
.pf-main-content,
.pf-content-area,
main[class*="pf-"] {
    background: linear-gradient(180deg, #FAFBFC 0%, #F1F5F9 100%) !important;
}

/* ===== Dashboard Root Grid ===== */
.pf-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 1.75rem;
    margin-top: 1.75rem;
}
@media (max-width: 1024px) {
    .pf-dashboard-grid {
        grid-template-columns: 1fr;
    }
}
.pf-dashboard-left {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}
.pf-dashboard-right {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* ===== Hero Banner ===== */
.pf-hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 40%, #F0F9FF 100%);
    border: 1px solid #BBF7D0;
    border-radius: 20px;
    padding: 2rem 2.25rem;
    margin-top: 1.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
}
.pf-hero-glow {
    position: absolute;
    top: -60px;
    right: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,86,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.pf-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Avatar with green ring */
.pf-hero-avatar-ring {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    flex-shrink: 0;
    box-shadow: 0 0 24px rgba(0,229,86,0.3);
}
.pf-hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: #00E556;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    border: 3px solid #fff;
}

/* Hero info */
.pf-hero-info {
    flex: 1;
    min-width: 220px;
}
.pf-hero-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.625rem;
}
.pf-hero-name {
    font-size: 1.625rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.pf-hero-level-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: #fff;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}
.pf-hero-level-badge--merchant {
    background: linear-gradient(135deg, #6366F1, #4F46E5);
    box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}

/* Hero chips */
.pf-hero-chips {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}
.pf-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px);
    border: 1px solid #E2E8F0;
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pf-hero-chip:hover {
    border-color: #00E556;
    box-shadow: 0 2px 8px rgba(0,229,86,0.1);
}
.pf-hero-chip--clickable {
    cursor: pointer;
}
.pf-hero-chip--clickable:hover {
    color: #00E556;
}

/* ===== KPI Stat Cards Grid ===== */
.pf-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1.75rem;
}
@media (max-width: 768px) {
    .pf-kpi-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual KPI Card */
.pf-kpi-card {
    position: relative;
    background: #fff;
    border: 1px solid #E8ECEF;
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pf-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.pf-kpi-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}
.pf-kpi-card--green .pf-kpi-card-accent { background: linear-gradient(90deg, #00E556, #00A53E); }
.pf-kpi-card--blue .pf-kpi-card-accent { background: linear-gradient(90deg, #3B82F6, #2563EB); }
.pf-kpi-card--amber .pf-kpi-card-accent { background: linear-gradient(90deg, #F59E0B, #D97706); }

.pf-kpi-card--green { background: linear-gradient(180deg, #F0FDF4 0%, #FFFFFF 50%); }
.pf-kpi-card--blue { background: linear-gradient(180deg, #EFF6FF 0%, #FFFFFF 50%); }
.pf-kpi-card--amber { background: linear-gradient(180deg, #FFFBEB 0%, #FFFFFF 50%); }

.pf-kpi-card-body {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.pf-kpi-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pf-kpi-card--green .pf-kpi-card-icon {
    background: rgba(0,229,86,0.1);
    color: #00A53E;
}
.pf-kpi-card--blue .pf-kpi-card-icon {
    background: rgba(59,130,246,0.1);
    color: #2563EB;
}
.pf-kpi-card--amber .pf-kpi-card-icon {
    background: rgba(245,158,11,0.1);
    color: #D97706;
}
.pf-kpi-card-data {
    flex: 1;
}
.pf-kpi-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.25rem;
}
.pf-kpi-card-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===== Premium Card Wrapper ===== */
.pf-card--premium {
    background: #fff;
    border: 1px solid #E8ECEF;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.pf-card--premium:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.pf-card-header--premium {
    padding: 1.25rem 1.5rem 0;
    border-bottom: none;
}
.pf-card-header--premium h2 {
    font-size: 1rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0;
    letter-spacing: -0.01em;
}

/* ===== Enhanced Wallet Card ===== */
.pf-wallet-premium {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #1a2a3e 100%);
    padding: 2rem;
    min-height: 200px;
    box-shadow: 0 10px 30px rgba(15,23,42,0.3),
                inset 0 1px 0 rgba(255,255,255,0.05);
}
/* Animated shimmer overlay */
.pf-wallet-premium-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.05) 50%, transparent 60%);
    animation: pf-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes pf-shimmer {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}
.pf-wallet-premium-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pf-wallet-premium-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.pf-wallet-premium-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.pf-wallet-premium-code {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.9);
    font-weight: 700;
    margin: 0;
}
.pf-wallet-premium-chip {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,229,86,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0,229,86,0.2);
}
.pf-wallet-premium-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0.75rem 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,229,86,0.15);
}
.pf-wallet-premium-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}
.pf-wallet-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #00E556;
    background: rgba(0,229,86,0.12);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    border: 1px solid rgba(0,229,86,0.2);
}
.pf-wallet-premium-dots {
    display: flex;
    gap: 0.375rem;
}
.pf-wallet-premium-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}
.pf-wallet-premium-dots span:first-child {
    background: rgba(255,255,255,0.5);
}

/* ===== QR Code Premium ===== */
.pf-qr-premium {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}
.pf-qr-premium-frame {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #E8ECEF;
}
.pf-qr-premium-frame img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}
.pf-qr-premium-info {
    flex: 1;
    min-width: 180px;
}
.pf-qr-premium-info h3 {
    font-size: 1.125rem;
    font-weight: 800;
    color: #0F172A;
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}
.pf-qr-premium-info p {
    font-size: 0.875rem;
    color: #64748B;
    margin: 0 0 1.125rem;
    line-height: 1.5;
}

/* ===== Upgrade Premium Card ===== */
.pf-upgrade-premium {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(135deg, #00E556 0%, #00A53E 50%, #059669 100%);
    box-shadow: 0 8px 24px rgba(0,229,86,0.2);
}
.pf-upgrade-premium-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.pf-upgrade-premium-content {
    position: relative;
    padding: 1.75rem;
}
.pf-upgrade-premium-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.pf-upgrade-premium-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
}
.pf-upgrade-premium-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}
.pf-upgrade-premium-content > p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

/* Progress bar */
.pf-upgrade-premium-bar {
    height: 6px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.pf-upgrade-premium-bar-fill {
    width: 40%;
    height: 100%;
    background: #fff;
    border-radius: 50px;
    animation: pf-progress-pulse 3s ease-in-out infinite;
}
@keyframes pf-progress-pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; box-shadow: 0 0 8px rgba(255,255,255,0.5); }
}

.pf-upgrade-premium-limits {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}
.pf-upgrade-premium-limit p:first-child {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em;
    margin: 0 0 0.25rem;
}
.pf-upgrade-premium-limit p:last-child {
    font-size: 0.9375rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

/* CTA button */
.pf-upgrade-premium-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #00A53E;
    background: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 50px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.pf-upgrade-premium-cta:hover {
    transform: translateX(3px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    color: #00A53E;
}
.pf-upgrade-premium-cta svg {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pf-upgrade-premium-cta:hover svg {
    transform: translateX(2px);
}

/* ===== Quick Actions Glass Tiles ===== */
.pf-quick-actions-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
}
@media (max-width: 640px) {
    .pf-quick-actions-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}
.pf-action-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 1.25rem 0.75rem;
    background: #F8FAFC;
    border: 1px solid #E8ECEF;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.pf-action-glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    background: #fff;
}
.pf-action-glass span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    transition: color 0.2s;
}
.pf-action-glass:hover span {
    color: #0F172A;
}

/* Glass icon backgrounds */
.pf-action-glass-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.pf-action-glass:hover .pf-action-glass-icon {
    transform: scale(1.08);
}
.pf-action-glass-icon--green {
    background: linear-gradient(135deg, rgba(0,229,86,0.12), rgba(0,229,86,0.04));
    color: #00A53E;
    border: 1px solid rgba(0,229,86,0.15);
}
.pf-action-glass-icon--blue {
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.04));
    color: #2563EB;
    border: 1px solid rgba(59,130,246,0.15);
}
.pf-action-glass-icon--amber {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.04));
    color: #D97706;
    border: 1px solid rgba(245,158,11,0.15);
}
.pf-action-glass-icon--purple {
    background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(139,92,246,0.04));
    color: #7C3AED;
    border: 1px solid rgba(139,92,246,0.15);
}

/* ===== Transaction Timeline ===== */
.pf-txn-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pf-txn-timeline-item {
    position: relative;
    padding-left: 1.25rem;
}
.pf-txn-timeline-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #00E556 0%, transparent 100%);
}
.pf-txn-timeline-dot {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #00E556;
    z-index: 1;
}
.pf-txn-timeline-dot--in {
    background: #00E556;
}
.pf-txn-timeline-dot--out {
    background: #EF4444;
    box-shadow: 0 0 0 2px #EF4444;
}
.pf-txn-timeline-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}
.pf-txn-timeline-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.pf-txn-timeline-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #F0FDF4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pf-txn-timeline-info p:first-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0F172A;
    margin: 0;
    text-transform: capitalize;
}
.pf-txn-timeline-info p:last-child {
    font-size: 0.75rem;
    color: #94A3B8;
    margin: 0.125rem 0 0;
}
.pf-txn-timeline-amount {
    font-size: 1rem;
    font-weight: 800;
    color: #00A53E;
    margin: 0;
}

/* ===== Empty State Premium ===== */
.pf-empty-premium {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 2px dashed #E2E8F0;
    border-radius: 16px;
}
.pf-empty-premium svg {
    color: #CBD5E1;
    margin: 0 auto 1rem;
    display: block;
}
.pf-empty-premium p {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #475569;
    margin: 0 0 0.25rem;
}
.pf-empty-premium span {
    font-size: 0.8125rem;
    color: #94A3B8;
}

/* ===== Responsive Hero ===== */
@media (max-width: 640px) {
    .pf-hero-banner {
        padding: 1.5rem;
    }
    .pf-hero-avatar-ring {
        width: 72px;
        height: 72px;
    }
    .pf-hero-avatar {
        font-size: 1.5rem;
    }
    .pf-hero-name {
        font-size: 1.375rem;
    }
    .pf-kpi-grid {
        gap: 0.75rem;
    }
    .pf-kpi-card {
        padding: 1.25rem;
    }
    .pf-kpi-card-value {
        font-size: 1.5rem;
    }
    .pf-wallet-premium {
        padding: 1.5rem;
    }
    .pf-wallet-premium-amount {
        font-size: 1.75rem;
    }
}
/* ============================================
   Additional Component CSS — 2026-06-27 Part 3
   ============================================ */

/* Notification items */
.pf-notif-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pf-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem;
    border-radius: var(--pf-radius-sm);
    background: var(--pf-slate-50);
    border: 1px solid var(--pf-border);
    transition: background 0.15s;
}
.pf-notif-item:hover {
    background: var(--pf-slate-100);
}
.pf-notif-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 229, 86, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pf-notif-body {
    flex: 1;
}
.pf-notif-body p:first-child {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--pf-text);
    margin: 0;
}
.pf-notif-body p:last-child {
    font-size: 0.75rem;
    color: var(--pf-text-muted);
    margin: 0.25rem 0 0;
}

/* Empty state */
.pf-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}
.pf-empty-state svg {
    margin: 0 auto 1rem;
    opacity: 0.4;
}
.pf-empty-state h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pf-slate-700);
    margin: 0 0 0.5rem;
}
.pf-empty-state p {
    font-size: 0.875rem;
    color: var(--pf-text-muted);
    margin: 0;
}

/* FAQ accordion */
details {
    border-bottom: 1px solid var(--pf-border);
    padding: 0;
}
details:last-child {
    border-bottom: none;
}
details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--pf-text);
    list-style: none;
    user-select: none;
}
details summary::-webkit-details-marker {
    display: none;
}
details summary svg {
    transition: transform 0.2s;
    flex-shrink: 0;
    color: var(--pf-text-muted);
}
details[open] summary svg {
    transform: rotate(180deg);
}
details > div:not(summary) {
    padding: 0 0 1.125rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--pf-text-secondary);
}

/* Wallet card list layout */
.pf-wallet-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}
.pf-wallet-card-item {
    background: var(--pf-surface);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}
.pf-wallet-card-item:hover {
    box-shadow: var(--pf-shadow-md);
}
.pf-wallet-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
}
.pf-wallet-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pf-slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.pf-wallet-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 50%;
}
.pf-wallet-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pf-wallet-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pf-text);
    margin: 0;
}
.pf-wallet-default-badge {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pf-primary-dark);
    background: var(--pf-primary-light);
    padding: 0.15rem 0.5rem;
    border-radius: 50px;
}
.pf-wallet-type {
    font-size: 0.75rem;
    color: var(--pf-text-muted);
    margin: 0.125rem 0 0;
    text-transform: capitalize;
}
.pf-wallet-balance-section {
    padding: 1rem 0;
    border-top: 1px solid var(--pf-border);
    margin-bottom: 1rem;
}
.pf-wallet-balance-section > p:first-child {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem;
}
.pf-wallet-balance-amount-inline {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pf-text);
    margin: 0;
}
.pf-wallet-balance-amount-inline span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pf-text-muted);
    margin-left: 0.25rem;
}
.pf-wallet-last-txn {
    font-size: 0.75rem;
    color: var(--pf-text-muted);
    margin: 0.5rem 0 0 !important;
}
.pf-wallet-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Status badge inline */
.pf-status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.625rem;
    border-radius: 50px;
}
.pf-status-badge--open { background: #fef3c7; color: #d97706; }
.pf-status-badge--solved { background: #dcfce7; color: #16a34a; }
.pf-status-badge--pending { background: #dbeafe; color: #2563eb; }
.pf-status-badge--default { background: #f1f5f9; color: #64748b; }

/* Promo card */
.pf-promo-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: var(--pf-radius);
    padding: 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 1.5rem;
}
.pf-promo-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    line-height: 1.4;
}
.pf-promo-card h3 span {
    color: var(--pf-primary);
}
.pf-promo-card > div {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.pf-promo-card img {
    max-height: 40px;
}

/* Dispute status badge */
.pf-dispute-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.625rem;
    border-radius: 50px;
}

/* Content wrapper for pages with heading + cards */
.pf-page-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================
   Component CSS — Confirm pages + missing utils
   2026-06-27 Part 4
   ============================================ */

/* Note block */
.pf-note {
    background: var(--pf-slate-50);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius-sm);
    padding: 1rem 1.25rem;
    margin-top: 1rem;
}
.pf-note-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--pf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.375rem;
}
.pf-note-text {
    font-size: 0.875rem;
    color: var(--pf-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Font weight helper */
.pf-font-semibold {
    font-weight: 600 !important;
}

/* Empty state icon */
.pf-empty-state-icon {
    margin: 0 auto 1rem;
    opacity: 0.35;
}

/* ============================================
   Success State + Form Grid CSS — Part 5
   ============================================ */

/* Success state */
.pf-success-state {
    text-align: center;
    padding: 2rem 1.5rem;
}
.pf-success-icon {
    margin: 0 auto 1.5rem;
}
.pf-success-state h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pf-text);
    margin: 0 0 0.5rem;
}
.pf-success-state > p {
    font-size: 0.9375rem;
    color: var(--pf-text-secondary);
    margin: 0 0 1.5rem;
}
.pf-success-amount {
    background: var(--pf-slate-50);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius-sm);
    padding: 1.25rem;
    margin: 0 auto 1.5rem;
    max-width: 320px;
}
.pf-success-amount-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.pf-success-amount-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pf-primary-dark);
}

/* Form actions centered */
.pf-form-actions--center {
    justify-content: center;
}

/* Form grid */
.pf-form-grid {
    display: grid;
    gap: 1rem;
}
.pf-form-grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.pf-form-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
    .pf-form-grid--2,
    .pf-form-grid--3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Alert Component CSS — Part 6
   ============================================ */

.pf-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    border-radius: var(--pf-radius-sm);
    margin-bottom: 1rem;
    border: 1px solid transparent;
    position: relative;
}
.pf-alert--success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.pf-alert--danger {
    background: #fef2f2;
    border-color: #fecaca;
}
.pf-alert--warning {
    background: #fffbeb;
    border-color: #fde68a;
}
.pf-alert--info {
    background: #eff6ff;
    border-color: #bfdbfe;
}
.pf-alert-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-alert--success .pf-alert-icon { color: #16a34a; }
.pf-alert--danger .pf-alert-icon { color: #dc2626; }
.pf-alert--warning .pf-alert-icon { color: #d97706; }
.pf-alert--info .pf-alert-icon { color: #2563eb; }

.pf-alert-body {
    flex: 1;
}
.pf-alert-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 0 0.25rem;
}
.pf-alert-text {
    font-size: 0.8125rem;
    color: var(--pf-text-secondary);
    margin: 0;
    line-height: 1.4;
}
.pf-alert-close {
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--pf-text-muted);
    cursor: pointer;
    padding: 0.125rem 0.375rem;
    border-radius: var(--pf-radius-xs);
    transition: color 0.15s, background 0.15s;
}
.pf-alert-close:hover {
    color: var(--pf-text);
    background: rgba(0,0,0,0.05);
}

/* ============================================
   Profile Info Header Cleanup CSS
   ============================================ */

.pf-profile-top {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}
.pf-profile-avatar-wrap {
    flex-shrink: 0;
}
.pf-profile-details {
    flex: 1;
    min-width: 0;
}
.pf-profile-details-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pf-profile-info-col {
    display: flex;
    flex-direction: column;
}
.pf-profile-name-row {
    margin-bottom: 0.75rem;
}
.pf-profile-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pf-text);
    text-decoration: none;
}
.pf-profile-name:hover {
    color: var(--pf-primary);
}
.pf-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
}
.pf-profile-meta-item {
    color: var(--pf-text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}
.pf-profile-meta-item:hover {
    color: var(--pf-primary);
}
.pf-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.25rem;
}
.pf-profile-completion-pct {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--pf-text);
}
.pf-profile-nav-link {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pf-text-muted);
    text-decoration: none;
    border-radius: var(--pf-radius-xs);
    transition: color 0.15s, background 0.15s;
}
.pf-profile-nav-link:hover {
    color: var(--pf-text);
    background: var(--pf-slate-50);
}
.pf-profile-nav-link.active {
    color: var(--pf-primary);
    background: var(--pf-primary-light);
}

/* ============================================
   Step Indicator + Bank Details + Summary + Helpers CSS
   ============================================ */

.pf-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto 1.5rem;
    max-width: 400px;
}
.pf-step-indicator .pf-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
}
.pf-step-indicator .pf-step .pf-step-num {
    background: var(--pf-slate-100);
    color: var(--pf-text-muted);
}
.pf-step-indicator .pf-step.active .pf-step-num {
    background: var(--pf-primary);
    color: white;
}
.pf-step-indicator .pf-step.done .pf-step-num {
    background: var(--pf-success);
    color: white;
}
.pf-step-indicator .pf-step-line {
    flex: 1;
    height: 2px;
    background: var(--pf-slate-200);
}

.pf-text-center { text-align: center; }
.pf-text-right { text-align: right; }

.pf-paypal-container {
    max-width: 400px;
    margin: 1.5rem auto;
}

/* Bank details */
.pf-bank-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: var(--pf-slate-50);
    border-radius: var(--pf-radius-sm);
}
.pf-bank-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.pf-bank-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--pf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pf-bank-detail-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--pf-text);
}
@media (max-width: 640px) {
    .pf-bank-details { grid-template-columns: 1fr; }
}

/* Summary box */
.pf-summary {
    margin: 1.25rem 0;
    padding: 1.25rem;
    background: var(--pf-slate-50);
    border-radius: var(--pf-radius-sm);
}
.pf-summary-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 0 0.75rem;
}
.pf-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--pf-border);
}
.pf-summary-row:last-child {
    border-bottom: none;
}
.pf-summary-label {
    font-size: 0.875rem;
    color: var(--pf-text-muted);
}
.pf-summary-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pf-text);
}
.pf-summary-row--total {
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 2px solid var(--pf-border);
}
.pf-summary-row--total .pf-summary-label {
    font-weight: 700;
    color: var(--pf-text);
}
.pf-summary-row--total .pf-summary-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--pf-primary-dark);
}

/* Form hint */
.pf-form-hint {
    display: block;
    font-size: 0.75rem;
    color: var(--pf-text-muted);
    margin-top: 0.25rem;
}

/* Page content wrapper */
.pf-page-content {
    max-width: 800px;
    margin: 0 auto;
}

/* === OTP Field === */
.pf-otp-field { display:flex; gap:12px; justify-content:center; }
.pf-otp-input {
    width:52px; height:60px; text-align:center; font-size:22px; font-weight:700;
    border:2px solid #e2e8f0; border-radius:12px; background:#fff; color:#0f172a;
    outline:none; transition:border-color 0.15s, box-shadow 0.15s;
    -moz-appearance:textfield;
}
.pf-otp-input::-webkit-outer-spin-button,
.pf-otp-input::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.pf-otp-input:focus { border-color:#00E556; box-shadow:0 0 0 3px rgba(0,229,86,0.12); }
.pf-otp-input:disabled { background:#f8fafc; color:#94a3b8; cursor:not-allowed; }

/* === Form Group Center === */
.pf-form-group--center { display:flex; flex-direction:column; align-items:center; }

/* === Section Heading / Desc === */
.pf-section-heading { font-size:22px; font-weight:800; color:#0f172a; margin:0 0 4px 0; }
.pf-section-desc { font-size:14px; color:#64748b; margin:0 0 20px 0; line-height:1.5; }

/* === Help Text === */
.pf-help-text { font-size:13px; color:#64748b; display:block; margin-top:6px; }

/* === Chat / Discussion === */
.pf-chat-item { display:flex; gap:12px; margin-bottom:20px; }
.pf-chat-item--out { flex-direction:row-reverse; }
.pf-chat-avatar { flex-shrink:0; }
.pf-chat-content { display:flex; flex-direction:column; max-width:400px; }
.pf-chat-item--out .pf-chat-content { align-items:flex-end; }
.pf-chat-meta { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.pf-chat-item--out .pf-chat-meta { flex-direction:row-reverse; }
.pf-chat-name { font-size:14px; font-weight:700; color:#0f172a; text-decoration:none; }
.pf-chat-time { font-size:12px; color:#94a3b8; }
.pf-chat-bubble { padding:12px 16px; border-radius:14px; font-size:14px; font-weight:500; line-height:1.5; }
.pf-chat-bubble--in { background:#f1f5f9; color:#0f172a; border-bottom-left-radius:4px; }
.pf-chat-bubble--out { background:#dcfce7; color:#0f172a; border-bottom-right-radius:4px; }
.pf-chat-attachment { margin-top:4px; }
.pf-chat-file { display:inline-flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:#00E556; text-decoration:none; padding:4px 10px; border-radius:8px; background:#fff; border:1px solid #e2e8f0; }
.pf-chat-file:hover { background:#f8fafc; }

/* ============================================
   Settings + Misc Component CSS
   ============================================ */

.pf-settings-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.pf-settings-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--pf-text-muted);
    text-decoration: none;
    border-radius: var(--pf-radius-full, 999px);
    background: var(--pf-slate-100);
    transition: color 0.15s, background 0.15s;
}
.pf-settings-tab:hover {
    color: var(--pf-text);
    background: var(--pf-slate-200);
}
.pf-settings-tab.active {
    color: white;
    background: var(--pf-primary);
}

.pf-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 0 1rem;
}

.pf-hidden { display: none !important; }

.pf-otp-input {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5em;
    max-width: 280px;
    margin: 0 auto;
}

.pf-qr-section {
    text-align: center;
    padding: 1.5rem;
}
.pf-qr-container {
    margin: 1.5rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.pf-qr-image {
    max-width: 200px;
    height: auto;
}

.pf-form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}
.pf-form-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--pf-primary);
    cursor: pointer;
}
.pf-form-check label {
    font-size: 0.875rem;
    color: var(--pf-text-secondary);
    cursor: pointer;
}

.pf-alert--inline {
    display: inline-flex;
    margin-bottom: 1rem;
}

.pf-card-title-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pf-text);
    margin: 0;
}

/* ============================================================
   PayFyre Premium View Content Polish — 2026-06-27
   Cascading enhancements for all inner content
   ============================================================ */

/* ---- 1. Page Headings ---- */
.pf-page-heading {
  margin-bottom: 24px;
}
.pf-page-heading h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pf-text);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.pf-page-heading p {
  font-size: 0.875rem;
  color: var(--pf-text-secondary);
  margin: 0;
}

/* ---- 2. Profile Info Header ---- */
.pf-profile-info {
  border-radius: 16px;
  overflow: hidden;
}
.pf-profile-info img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid var(--pf-primary);
  box-shadow: 0 0 0 4px rgba(0, 229, 86, 0.1);
  object-fit: cover;
}
.pf-profile-info .pf-profile-name,
.pf-profile-info h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--pf-text);
  letter-spacing: -0.01em;
}
.pf-profile-info .pf-profile-meta-item,
.pf-profile-info .pf-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F1F5F9;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pf-text-secondary);
}
.pf-profile-info .pf-profile-stats,
.pf-profile-info .pf-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.pf-profile-info .pf-profile-stat,
.pf-profile-info .pf-stat-item {
  border-top: 3px solid var(--pf-primary);
  border-radius: 8px 8px 0 0;
  padding: 12px 16px 0;
  flex: 1;
  min-width: 100px;
}
.pf-profile-info .pf-profile-stat .pf-stat-value,
.pf-profile-info .pf-stat-value,
.pf-profile-info .pf-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pf-text);
  letter-spacing: -0.02em;
}
.pf-profile-info .pf-profile-stat .pf-stat-label,
.pf-profile-info .pf-stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pf-text-muted);
}
.pf-profile-info .pf-profile-completion,
.pf-profile-info .pf-completion-bar {
  height: 8px;
  border-radius: 4px;
  background: #E8ECEF;
  overflow: hidden;
}
.pf-profile-info .pf-profile-completion-fill,
.pf-profile-info .pf-completion-fill {
  height: 100%;
  background: linear-gradient(90deg, #00E556, #00C44A);
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* ---- 3. Step Indicators ---- */
.pf-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.pf-step {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.pf-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  background: #F1F5F9;
  color: var(--pf-text-muted);
  border: 2px solid #E8ECEF;
  transition: all 0.3s;
  flex-shrink: 0;
}
.pf-step.active .pf-step-num {
  background: linear-gradient(135deg, #00E556, #00C44A);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 229, 86, 0.25);
}
.pf-step.completed .pf-step-num {
  background: var(--pf-primary);
  color: white;
  border-color: transparent;
}
.pf-step-content {
  display: flex;
  flex-direction: column;
}
.pf-step-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--pf-text);
  line-height: 1.2;
}
.pf-step.active .pf-step-title {
  color: var(--pf-primary-dark);
}
.pf-step-desc {
  font-size: 0.75rem;
  color: var(--pf-text-muted);
  line-height: 1.3;
}
.pf-step-line {
  flex: 1;
  height: 2px;
  background: #E8ECEF;
  min-width: 24px;
  margin: 0 16px;
  border-radius: 1px;
}
.pf-step-line.completed {
  background: var(--pf-primary);
}

/* ---- 4. Form Controls (CRITICAL) ---- */
.pf-form-control,
input.pf-form-control,
textarea.pf-form-control,
select.pf-form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #E8ECEF;
  border-radius: 10px;
  font-size: 0.875rem;
  color: var(--pf-text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.pf-form-control:focus,
input.pf-form-control:focus,
textarea.pf-form-control:focus,
select.pf-form-control:focus {
  outline: none;
  border-color: var(--pf-primary);
  box-shadow: 0 0 0 3px rgba(0, 229, 86, 0.12);
}
.pf-form-control::placeholder {
  color: #9CA3AF;
}
.pf-form-control--lg {
  padding: 14px 16px;
  font-size: 0.9375rem;
}
textarea.pf-form-control {
  resize: vertical;
  min-height: 80px;
}
select.pf-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.pf-form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pf-text);
  margin-bottom: 6px;
  display: block;
}
.pf-form-label.required::after {
  content: '*';
  color: var(--pf-danger, #EF4444);
  margin-left: 2px;
}
.pf-form-group {
  margin-bottom: 20px;
}
.pf-form-text {
  font-size: 0.75rem;
  color: var(--pf-text-muted);
  margin-top: 4px;
}

/* ---- 5. Amount Input ---- */
.pf-amount-input {
  position: relative;
  display: flex;
  align-items: center;
}
.pf-amount-currency {
  position: absolute;
  left: 14px;
  font-weight: 600;
  color: var(--pf-text-secondary);
  font-size: 0.9375rem;
  pointer-events: none;
  z-index: 1;
}
.pf-amount-field {
  padding-left: 28px !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
}

/* ---- 6. Transaction Table ---- */
.pf-table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  -webkit-overflow-scrolling: touch;
}
.pf-table {
  width: 100%;
  border-collapse: collapse;
}
.pf-table thead th {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pf-text-muted);
  padding: 12px 16px;
  background: #F8FAFC;
  border-bottom: 1px solid #E8ECEF;
  text-align: left;
  white-space: nowrap;
}
.pf-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #F0F2F5;
  font-size: 0.875rem;
  vertical-align: middle;
  color: var(--pf-text);
}
.pf-table tbody tr:last-child td {
  border-bottom: none;
}
.pf-table tbody tr {
  cursor: pointer;
  transition: background 0.15s;
}
.pf-table tbody tr:hover {
  background: #FAFBFC;
}
.pf-table-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--pf-text-muted);
  font-size: 0.875rem;
}
.pf-transaction-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.pf-amount-in {
  color: var(--pf-primary);
  font-weight: 700;
}
.pf-amount-out {
  color: #EF4444;
  font-weight: 700;
}

/* ---- 7. Search Box ---- */
.pf-search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-search-box::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  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='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='m21 21-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}
.pf-search-box input {
  background: #F8FAFC;
  border: 1.5px solid #E8ECEF;
  border-radius: 10px;
  padding: 10px 14px 10px 40px;
  width: 280px;
  font-size: 0.875rem;
  color: var(--pf-text);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.pf-search-box input:focus {
  outline: none;
  border-color: var(--pf-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 229, 86, 0.12);
}
.pf-search-box input::placeholder {
  color: #9CA3AF;
}

/* ---- 8. Toolbar & Card Headers ---- */
.pf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px;
  border-bottom: 1px solid #F0F2F5;
}
.pf-card-header h2,
.pf-card-header h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pf-text);
  margin: 0;
  letter-spacing: -0.01em;
}
.pf-toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pf-card-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-bottom: 1px solid #F0F2F5;
}

/* ---- 9. Filter Dropdown ---- */
.pf-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: #fff;
  border: 1px solid #E8ECEF;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 280px;
  z-index: 100;
  display: none;
}
.pf-menu-dropdown.show {
  display: block;
  animation: pfDropdownIn 0.2s ease;
}
@keyframes pfDropdownIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.pf-menu-dropdown-header {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--pf-text);
  border-bottom: 1px solid #F0F2F5;
}
.pf-menu-dropdown-body {
  padding: 16px;
}
.pf-menu-dropdown-footer {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding: 12px 16px;
  border-top: 1px solid #F0F2F5;
}

/* ---- 10. Modal Polish ---- */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.modal-header {
  border-bottom: 1px solid #F0F2F5;
  padding: 20px 24px;
}
.modal-header h5,
.modal-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pf-text);
  letter-spacing: -0.01em;
}
.modal-body {
  padding: 24px;
}
.modal-footer {
  border-top: 1px solid #F0F2F5;
  padding: 16px 24px;
}
.pf-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  color: var(--pf-text-secondary);
  z-index: 10;
  transition: background 0.2s;
}
.pf-modal-close:hover {
  background: #E8ECEF;
}
.pf-modal-sidebar {
  background: #F8FAFC;
  padding: 24px;
  text-align: center;
  height: 100%;
}
.pf-modal-details {
  padding: 24px;
}
.pf-modal-details-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--pf-text);
}
.pf-detail-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pf-text-muted);
  margin: 0 0 2px;
}
.pf-detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pf-text);
  margin: 0 0 12px;
}

/* ---- 11. Recipient Cards ---- */
.pf-recipient-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid #E8ECEF;
  border-radius: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.pf-recipient-card:hover {
  border-color: var(--pf-primary);
  box-shadow: 0 4px 12px rgba(0, 229, 86, 0.1);
  transform: translateY(-1px);
}
.pf-recipient-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.pf-recipient-card p:first-child {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pf-text-muted);
  font-weight: 600;
  margin: 0 0 2px;
}

/* ---- 12. Pagination ---- */
.pf-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 16px 0;
}
.pf-pagination a,
.pf-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pf-text-secondary);
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.pf-pagination a:hover {
  background: #F8FAFC;
  border-color: #E8ECEF;
  color: var(--pf-text);
}
.pf-pagination .active,
.pf-pagination .current {
  background: var(--pf-primary);
  color: white;
  border-color: var(--pf-primary);
}
.pf-pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ---- 13. Profile Nav Tabs ---- */
.pf-profile-nav {
  display: flex;
  gap: 4px;
  padding: 0 24px;
  border-top: 1px solid #F0F2F5;
  flex-wrap: wrap;
  list-style: none;
  margin: 16px -24px 0;
}
.pf-profile-nav-link {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pf-text-secondary);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.pf-profile-nav-link:hover {
  color: var(--pf-text);
}
.pf-profile-nav-link.active {
  color: var(--pf-primary-dark, #00A53D);
  border-bottom-color: var(--pf-primary);
  font-weight: 700;
}

/* ---- 14. Badges & Status Pills ---- */
.pf-status,
.pf-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.pf-status-success,
.pf-status-completed,
.pf-status-approved,
.pf-status-active {
  background: rgba(0, 229, 86, 0.12);
  color: #00A53D;
}
.pf-status-pending,
.pf-status-processing {
  background: rgba(245, 158, 11, 0.12);
  color: #B45309;
}
.pf-status-refunded,
.pf-status-cancelled,
.pf-status-failed,
.pf-status-rejected {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
}
.pf-status-refunded {
  background: rgba(249, 115, 22, 0.12);
  color: #C2410C;
}
.pf-status-on-hold,
.pf-status-hold {
  background: rgba(99, 102, 241, 0.12);
  color: #4F46E5;
}

/* ---- 15. Misc Polish ---- */
.pf-text-end {
  text-align: right;
}
.pf-text-muted {
  color: var(--pf-text-secondary);
}
.pf-font-medium {
  font-weight: 600;
}
.pf-link {
  color: var(--pf-primary-dark, #00A53D);
  font-weight: 500;
  text-decoration: none;
  transition: text-decoration 0.15s;
}
.pf-link:hover {
  text-decoration: underline;
}
.pf-mb-6 {
  margin-bottom: 24px;
}

/* ---- Extra: Info/Cards polish ---- */
.pf-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #F0F2F5;
  font-size: 0.875rem;
}
.pf-info-row:last-child {
  border-bottom: none;
}
.pf-info-label {
  color: var(--pf-text-secondary);
  font-weight: 500;
}
.pf-info-value {
  color: var(--pf-text);
  font-weight: 600;
}

/* ---- Extra: Summary cards on view pages ---- */
.pf-summary-card {
  padding: 20px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #E8ECEF;
  transition: box-shadow 0.2s;
}
.pf-summary-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.pf-summary-card .pf-summary-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pf-text-muted);
  margin: 0 0 4px;
}
.pf-summary-card .pf-summary-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pf-text);
  letter-spacing: -0.02em;
  margin: 0;
}
.pf-summary-card .pf-summary-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Extra: Checkbox/Radio custom ---- */
input[type="checkbox"].pf-form-check,
input[type="radio"].pf-form-check {
  width: 18px;
  height: 18px;
  border: 1.5px solid #E8ECEF;
  border-radius: 5px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  flex-shrink: 0;
}
input[type="checkbox"].pf-form-check:checked,
input[type="radio"].pf-form-check:checked {
  background: var(--pf-primary);
  border-color: var(--pf-primary);
}
input[type="checkbox"].pf-form-check:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
input[type="radio"].pf-form-check {
  border-radius: 50%;
}
input[type="radio"].pf-form-check:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* ---- Extra: Alert/notification banner ---- */
.pf-alert {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.8125rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.pf-alert-info {
  background: rgba(59, 130, 246, 0.08);
  color: #1E40AF;
  border: 1px solid rgba(59, 130, 246, 0.15);
}
.pf-alert-success {
  background: rgba(0, 229, 86, 0.08);
  color: #00A53D;
  border: 1px solid rgba(0, 229, 86, 0.15);
}
.pf-alert-warning {
  background: rgba(245, 158, 11, 0.08);
  color: #B45309;
  border: 1px solid rgba(245, 158, 11, 0.15);
}
.pf-alert-danger {
  background: rgba(239, 68, 68, 0.08);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.15);
}

/* ---- Extra: Empty state illustration ---- */
.pf-empty-state {
  text-align: center;
  padding: 48px 24px;
}
.pf-empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  opacity: 0.4;
}
.pf-empty-state-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pf-text);
  margin: 0 0 4px;
}
.pf-empty-state-desc {
  font-size: 0.8125rem;
  color: var(--pf-text-muted);
  margin: 0;
}

/* ---- Extra: Divider ---- */
.pf-divider {
  height: 1px;
  background: #F0F2F5;
  border: none;
  margin: 20px 0;
}

/* ---- Extra: Scrollbar styling ---- */
.pf-table-responsive::-webkit-scrollbar {
  height: 6px;
}
.pf-table-responsive::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 3px;
}
.pf-table-responsive::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}
.pf-table-responsive::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ---- Extra: Button refinements for inside cards ---- */
.pf-btn-sm {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pf-btn-ghost {
  background: #F1F5F9;
  color: var(--pf-text-secondary);
}
.pf-btn-ghost:hover {
  background: #E8ECEF;
  color: var(--pf-text);
}
.pf-btn-outline {
  background: transparent;
  border: 1.5px solid #E8ECEF;
  color: var(--pf-text);
}
.pf-btn-outline:hover {
  border-color: var(--pf-primary);
  color: var(--pf-primary-dark, #00A53D);
}

/* ---- End Premium View Content Polish ---- */

/* ===== Transaction Drawer ===== */
.pf-tx-drawer { display: none !important; }
.pf-tx-drawer.show { display: flex !important; }

/* Drawer Header */
.pf-drawer-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    padding: 24px 32px;
    border-bottom: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.pf-drawer-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pf-drawer-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.pf-drawer-icon-in { background: rgba(42,170,94,.1); }
.pf-drawer-icon-out { background: rgba(217,32,76,.1); }

.pf-drawer-type {
    font: 700 11px Geist,Plus Jakarta Sans;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0;
}

.pf-drawer-amount {
    font: 800 20px Geist,Plus Jakarta Sans;
    letter-spacing: -.02em;
    color: #0F172A;
    margin: 2px 0 0;
}

.pf-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #fff;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748B;
    flex-shrink: 0;
    transition: .15s;
}

.pf-drawer-close:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #0F172A;
}

/* Drawer Content */
.pf-drawer-content-area {
    padding: 28px 32px;
    flex: 1;
}

/* Status Row */
.pf-drawer-status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pf-drawer-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 10px;
    font: 700 12px Geist,Plus Jakarta Sans;
}

.pf-drawer-date {
    font: 500 13px Geist,Plus Jakarta Sans;
    color: #94A3B8;
}

/* Action Buttons */
.pf-drawer-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.pf-drawer-btn-secondary {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #fff;
    font: 700 13px Geist,Plus Jakarta Sans;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: .15s;
}

.pf-drawer-btn-secondary:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
}

.pf-drawer-btn-primary {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    border: none;
    background: #00E556;
    font: 700 13px Geist,Plus Jakarta Sans;
    color: #04210F;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: .15s;
}

.pf-drawer-btn-primary:hover {
    background: #00CC4C;
}

.pf-drawer-btn-danger {
    flex: 1;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #fff;
    font: 700 13px Geist,Plus Jakarta Sans;
    color: #D9204C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .15s;
}

.pf-drawer-btn-danger:hover {
    background: #FEF2F2;
    border-color: #FECACA;
}

/* Detail Grid */
.pf-drawer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.pf-drawer-detail-card {
    padding: 18px 20px;
    background: #F8FAFC;
    border-radius: 14px;
}

.pf-drawer-detail-label {
    font: 600 11px Geist,Plus Jakarta Sans;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 4px;
}

.pf-drawer-detail-value {
    font: 700 14px Geist,Plus Jakarta Sans;
    color: #0F172A;
    margin: 0;
}

/* Info Block (crypto address, note) */
.pf-drawer-info-block {
    padding: 16px;
    background: #F8FAFC;
    border-radius: 14px;
    margin-bottom: 20px;
}

.pf-drawer-info-label {
    font: 600 11px Geist,Plus Jakarta Sans;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin: 0 0 4px;
}

.pf-drawer-info-value {
    font: 600 13px Geist,Plus Jakarta Sans;
    color: #0F172A;
    margin: 0;
}

.pf-drawer-info-text {
    font: 500 14px Geist,Plus Jakarta Sans;
    color: #64748B;
    margin: 0;
}

/* Modal backdrop */
.modal-backdrop.show { opacity: 0.5; }

/* Transaction Drawer Fixed */
.pf-tx-drawer-dialog {
    margin: 0 !important;
    margin-left: auto !important;
    max-width: 540px !important;
    width: 540px !important;
    display: flex !important;
    align-items: center !important;
    padding: 40px 0 !important;
    pointer-events: auto !important;
}
.pf-tx-drawer-content {
    background: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 540px !important;
    max-height: 80vh !important;
    overflow: hidden !important;
    box-shadow: 0 24px 80px -16px rgba(0,0,0,.28) !important;
    display: flex !important;
    flex-direction: column !important;
}
.pf-tx-drawer-body {
    padding: 0 !important;
    overflow-y: auto !important;
    scrollbar-width: thin;
    flex: 1 !important;
    max-height: 80vh !important;
}

/* ============================================
   PAYFYRE DESIGN PACK v4 — Mobile Responsive Refinements
   Breakpoints: 900px and 560px
   ============================================ */

/* ---------- Design Pack Animations ---------- */
@keyframes pf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pf-slide { from { transform: translateX(36px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes pf-rise { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: none; } }
@keyframes pf-pop { 0% { transform: scale(.9); opacity: 0; } 65% { transform: scale(1.03); } 100% { transform: scale(1); opacity: 1; } }

.pf-content > div { animation: pf-rise .44s cubic-bezier(.2,.85,.25,1); }
button { transition: transform .16s cubic-bezier(.34,1.56,.64,1); }
button:active { transform: scale(.94); }

/* ---------- Sidebar Scrollbar Hidden ---------- */
.pf-sidebar { scrollbar-width: none; -ms-overflow-style: none; }
.pf-sidebar::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }

/* ---------- Drawer Body Lock ---------- */
.pf-dbody { scrollbar-width: none; -ms-overflow-style: none; }
.pf-dbody::-webkit-scrollbar { width: 0 !important; height: 0 !important; display: none !important; }

/* ---------- Mobile Utility Classes (hidden by default) ---------- */
.pf-burger { display: none; }
.pf-mob { display: none; }
.pf-mcard { display: none; }

/* ---------- Scrim/Overlay for drawer ---------- */
.pf-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(2px);
}
.pf-scrim.show { display: block !important; }

/* ---------- Hide utility classes ---------- */
.pf-hide-sm { display: revert; }
.pf-hide-mobile { display: revert; }

/* ============================================
   BREAKPOINT: ≤900px — Tablet / Mobile
   ============================================ */
@media (max-width: 900px) {
  /* Show burger */
  .pf-burger, .pf-sidebar-toggle { display: flex !important; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px; border: 1px solid #E6EBF2; background: #fff; cursor: pointer; color: #0F172A; }

  /* Sidebar → Fixed drawer */
  .pf-sidebar {
    position: fixed !important;
    left: 0;
    top: 0;
    width: 280px !important;
    flex-basis: 280px !important;
    height: 100dvh !important;
    z-index: 90;
    transform: translateX(-100%) !important;
    transition: transform .3s cubic-bezier(.4,0,.2,1) !important;
    box-shadow: 30px 0 80px -30px rgba(15,23,42,.55);
    overflow-y: auto;
  }
  .pf-sidebar.open { transform: translateX(0) !important; }

  .pf-main { margin-left: 0 !important; }

  /* Show scrim when sidebar open */
  .pf-overlay.show { display: block !important; }

  /* Content padding */
  .pf-content { padding: 18px 15px 40px !important; }

  /* Topbar */
  .pf-header { padding: 13px 15px !important; }

  /* Footer */
  .pf-footer { padding: 18px 15px !important; flex-direction: column; gap: 13px; align-items: flex-start; }

  /* Title scale */
  .pf-page-title, h1 { font-size: 19px !important; }

  /* Grids collapse */
  .pf-g2, .pf-g3, .pf-split { grid-template-columns: 1fr !important; }
  .pf-g4 { grid-template-columns: repeat(2, 1fr) !important; }

  /* Sticky elements become static */
  .pf-stick { position: static !important; top: auto !important; }

  /* Show mobile card layouts */
  .pf-desk { display: none !important; }
  .pf-mob { display: flex !important; flex-direction: column; gap: 12px; }

  /* Buttons stack full-width, reversed order */
  .pf-btns { flex-direction: column-reverse; gap: 10px; }
  .pf-btns > button, .pf-btns > .btn, .pf-btns > a {
    width: 100% !important;
    justify-content: center;
  }

  /* Mobile card display */
  .pf-mcard {
    display: flex !important;
    align-items: center;
    gap: 14px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
    padding: 16px 2px !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }
  .pf-mob > .pf-mcard:last-child { border-bottom: none !important; }
  .pf-mcard:active { background: #F8FAFC !important; transform: none !important; }
  .pf-mob:has(.pf-mcard) { gap: 0 !important; }

  /* Hero profile card stacks vertically */
  .pf-hero { flex-direction: column !important; align-items: stretch !important; gap: 18px !important; padding: 22px !important; }

  /* Donut/QR sections stack */
  .pf-donut { display: flex !important; flex-direction: row !important; align-items: center; gap: 16px; width: 100%; text-align: left !important; }
  .pf-donut > div:last-child { margin-top: 0 !important; }

  /* PIN card padding */
  .pf-pincard { padding: 20px !important; }

  /* PIN input goes full-width on mobile */
  .pf-pininput { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; height: 58px !important; border-radius: 14px !important; font-size: 23px !important; }

  /* Card padding */
  .pf-pad { padding: 18px !important; }

  /* Stat row → bordered boxes */
  .pf-statrow { width: 100% !important; gap: 10px !important; margin-top: 8px; }
  .pf-statrow .pf-stat {
    flex: 1 1 0 !important;
    padding: 13px 4px !important;
    border-left: none !important;
    background: #F8FAFC !important;
    border: 1px solid #EEF2F6 !important;
    border-radius: 14px !important;
  }

  /* Hide utility */
  .pf-hide-mobile { display: none !important; }

  /* Form grids collapse */
  .pf-form-grid { grid-template-columns: 1fr !important; }
}

/* ============================================
   BREAKPOINT: ≤560px — Small Mobile
   ============================================ */
@media (max-width: 560px) {
  .pf-hide-sm { display: none !important; }

  /* QR section stacks */
  .pf-qr-premium { flex-direction: column !important; text-align: center; gap: 16px; }
  .pf-qr-premium-info { text-align: center; }

  /* Quick actions → 2 cols */
  .pf-quick-actions-premium { grid-template-columns: repeat(2, 1fr) !important; }

  /* KPI grid → 1 col */
  .pf-kpi-grid { grid-template-columns: 1fr !important; }
}

/* ============================================
   PROGRESS OVERLAY COMPONENT
   For multi-step flows (Deposit, Send, Withdraw)
   ============================================ */
.pf-progress-card {
  background: #fff;
  border: 1px solid #EEF2F6;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px -24px rgba(15,23,42,.4);
}

.pf-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.pf-progress-label {
  font: 700 11px Geist,Plus Jakarta Sans;
  letter-spacing: 0.14em;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pf-progress-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(0,229,86,.12);
  color: #00A53E;
  font: 700 12px Geist,Plus Jakarta Sans;
  letter-spacing: 0.02em;
}

.pf-progress-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E556;
  animation: pf-pop 0.4s ease;
}

.pf-progress-bar-wrap {
  height: 8px;
  border-radius: 10px;
  background: #F1F5F9;
  overflow: hidden;
  margin-bottom: 20px;
}

.pf-progress-bar-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #00E556, #00A53E);
  transition: width 0.4s cubic-bezier(.4,0,.2,1);
}

/* Circular ring */
.pf-progress-ring {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.pf-progress-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pf-progress-ring-track {
  fill: none;
  stroke: #F1F5F9;
  stroke-width: 6;
}

.pf-progress-ring-fill {
  fill: none;
  stroke: #00E556;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.4s cubic-bezier(.4,0,.2,1);
}

.pf-progress-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 800 16px Geist,Plus Jakarta Sans;
  color: #0F172A;
}

/* Progress step label */
.pf-progress-step-label {
  font: 800 16px Geist,Plus Jakarta Sans;
  color: #0F172A;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.pf-progress-step-sub {
  font: 500 13px Geist,Plus Jakarta Sans;
  color: #64748B;
  line-height: 1.4;
}

/* Mini segment bars */
.pf-progress-segments {
  display: flex;
  gap: 6px;
  margin-top: 18px;
}

.pf-progress-seg {
  flex: 1;
  height: 5px;
  border-radius: 10px;
  background: #F1F5F9;
  transition: background 0.3s ease;
}

.pf-progress-seg.done {
  background: linear-gradient(90deg, #00E556, #00A53E);
}

.pf-progress-seg.current {
  background: #00E556;
  box-shadow: 0 0 0 3px rgba(0,229,86,.18);
}

/* Progress card body layout */
.pf-progress-body {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pf-progress-body-text {
  flex: 1;
  min-width: 0;
}

/* Mobile: progress card */
@media (max-width: 900px) {
  .pf-progress-card { padding: 18px; }
  .pf-progress-body { gap: 14px; }
  .pf-progress-ring { width: 52px; height: 52px; }
  .pf-progress-ring-text { font-size: 14px; }
  .pf-progress-step-label { font-size: 15px; }
}

/* ============================================
   RECEIPT MODAL STYLING
   ============================================ */
.pf-receipt-modal .modal-dialog {
  margin: auto;
  max-width: 480px;
}

.pf-receipt-modal .modal-content {
  border-radius: 20px;
  overflow: hidden;
  height: auto;
  max-height: 90vh;
}

.pf-receipt-header {
  position: relative;
  padding: 28px 28px 24px;
  background: linear-gradient(140deg, #0B1120, #1E293B);
  text-align: center;
}

.pf-receipt-header::after {
  content: ;
  position: absolute;
  right: -30px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,86,.15), transparent 68%);
  pointer-events: none;
}

.pf-receipt-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06);
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.pf-receipt-amount {
  font: 800 36px Geist,Plus Jakarta Sans;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}

.pf-receipt-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 10px;
  font: 700 12px Geist,Plus Jakarta Sans;
}

.pf-receipt-status--success {
  background: rgba(0,229,86,.15);
  color: #00E556;
  border: 1px solid rgba(0,229,86,.25);
}

.pf-receipt-status--pending {
  background: rgba(245,158,11,.15);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,.25);
}

.pf-receipt-status--failed {
  background: rgba(239,68,68,.15);
  color: #EF4444;
  border: 1px solid rgba(239,68,68,.25);
}

.pf-receipt-body {
  padding: 24px 28px;
}

.pf-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.pf-receipt-row:last-child {
  border-bottom: none;
}

.pf-receipt-row-label {
  font: 500 13px Geist,Plus Jakarta Sans;
  color: #64748B;
}

.pf-receipt-row-value {
  font: 700 13px Geist,Plus Jakarta Sans;
  color: #0F172A;
  text-align: right;
}

.pf-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: rgba(0,229,86,.06);
  border-radius: 14px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.pf-receipt-total-label {
  font: 700 14px Geist,Plus Jakarta Sans;
  color: #0F172A;
}

.pf-receipt-total-value {
  font: 800 18px Geist,Plus Jakarta Sans;
  color: #00A53E;
  letter-spacing: -0.02em;
}

.pf-receipt-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .pf-receipt-actions { flex-direction: column-reverse; gap: 8px; }
  .pf-receipt-actions button { width: 100%; justify-content: center; }
  .pf-receipt-modal .modal-dialog { margin: 8px; max-width: calc(100vw - 16px); }
}
/* StepGuide animation */
@keyframes sgPulse{0%,100%{box-shadow:0 0 0 5px rgba(0,229,86,.18)}50%{box-shadow:0 0 0 10px rgba(0,229,86,.04)}}
.pf-sg-desk { display: block; }
.pf-sg-mob { display: none; }
@media (max-width: 900px) {
  .pf-sg-desk { display: none !important; }
  .pf-sg-mob { display: flex !important; }
  .sg-card { padding: 16px !important; }
}

/* ============================================
   DESIGN EXPORT SYNC — 2026-06-28
   New class name aliases + missing rules
   from PayFyre Panel.dc.html latest export
   ============================================ */

/* ---------- New class aliases (design export naming) ---------- */

/* .pf-side = same scrollbar hiding as .pf-sidebar */
.pf-side {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.pf-side::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* .pf-side data-open attribute drawer support */
@media (max-width: 900px) {
  .pf-side[data-open="1"] {
    transform: translateX(0) !important;
  }
  .pf-scrim[data-open="1"] {
    display: block !important;
  }
}

/* .pf-topbar = same responsive behavior as .pf-header */
@media (max-width: 900px) {
  .pf-topbar {
    padding: 13px 15px !important;
  }
}

/* .pf-foot = same responsive behavior as .pf-footer */
@media (max-width: 900px) {
  .pf-foot {
    padding: 18px 15px !important;
    flex-direction: column;
    gap: 13px;
    align-items: flex-start;
  }
}

/* .pf-title = same responsive behavior as .pf-page-title */
@media (max-width: 900px) {
  .pf-title {
    font-size: 19px !important;
  }
}

/* .pf-desk default state (visible on desktop) */
.pf-desk { display: flex; }

/* .pf-scrim default state */
.pf-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(2px);
}

/* Ensure .pf-hide-sm and .pf-hide-mobile default to visible */
.pf-hide-sm { display: revert; }
.pf-hide-mobile { display: revert; }

/* ---------- 900px breakpoint additions for new classes ---------- */
@media (max-width: 900px) {
  /* Sidebar with new class name becomes drawer */
  .pf-side {
    position: fixed !important;
    left: 0;
    top: 0;
    width: 280px !important;
    flex-basis: 280px !important;
    height: 100dvh !important;
    z-index: 90;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    box-shadow: 30px 0 80px -30px rgba(15,23,42,.55);
    overflow-y: auto;
  }

  /* Desktop-only elements hidden */
  .pf-desk {
    display: none !important;
  }

  /* Mobile elements shown */
  .pf-mob {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  /* Burger visible */
  .pf-burger {
    display: flex !important;
  }

  /* Grids collapse */
  .pf-g2,
  .pf-g3,
  .pf-split {
    grid-template-columns: 1fr !important;
  }
  .pf-g4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Sticky → static */
  .pf-stick {
    position: static !important;
    top: auto !important;
  }

  /* Button rows stack */
  .pf-btns {
    flex-direction: column-reverse;
    gap: 10px;
  }
  .pf-btns > button {
    width: 100% !important;
    justify-content: center;
  }

  /* Hero stacks */
  .pf-hero {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
    padding: 22px !important;
  }

  /* Donut horizontal */
  .pf-donut {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 16px;
    width: 100%;
    text-align: left !important;
  }
  .pf-donut > div:last-child {
    margin-top: 0 !important;
  }

  /* PIN card */
  .pf-pincard {
    padding: 20px !important;
  }
  .pf-pininput {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 58px !important;
    border-radius: 14px !important;
    font-size: 23px !important;
  }

  /* Pad */
  .pf-pad {
    padding: 18px !important;
  }

  /* Stat row */
  .pf-statrow {
    width: 100% !important;
    gap: 10px !important;
    margin-top: 8px;
  }
  .pf-statrow .pf-stat {
    flex: 1 1 0 !important;
    padding: 13px 4px !important;
    border-left: none !important;
    background: #F8FAFC !important;
    border: 1px solid #EEF2F6 !important;
    border-radius: 14px !important;
  }

  /* Hide mobile-flagged */
  .pf-hide-mobile {
    display: none !important;
  }

  /* Mobile card list */
  .pf-mob:has(.pf-mcard) {
    gap: 0 !important;
  }
  .pf-mcard {
    display: flex !important;
    align-items: center;
    gap: 14px !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
    padding: 16px 2px !important;
    border-bottom: 1px solid #F1F5F9 !important;
  }
  .pf-mob > .pf-mcard:last-child {
    border-bottom: none !important;
  }
  .pf-mcard:active {
    background: #F8FAFC !important;
    transform: none !important;
  }

  /* Content padding for new class */
  .pf-content {
    padding: 18px 15px 40px !important;
  }
}

/* ---------- 560px breakpoint ---------- */
@media (max-width: 560px) {
  .pf-hide-sm {
    display: none !important;
  }
}

/* ============================================
   MOBILE RESPONSIVE FIXES — 2026-06-28
   Target inline-style heavy templates at ≤900px and ≤560px
   ============================================ */

/* ---- Step Guide + Split Layout (Deposit, SendMoney) ---- */
@media (max-width: 900px) {
    .pf-split {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .pf-split > ul,
    .pf-split > nav,
    .pf-split > div:first-child {
        display: none !important;
    }
}

/* ---- Dashboard Mobile Fixes ---- */
@media (max-width: 900px) {
    /* Dashboard hero: stack vertically */
    .pf-content > div > div[style*="display:flex;align-items:center;gap:22px;padding:28px"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 20px 16px !important;
    }
    /* Dashboard hero avatar smaller */
    .pf-content > div > div[style*="display:flex;align-items:center;gap:22px"] > div[style*="width:78px"] {
        width: 60px !important;
        height: 60px !important;
        font-size: 22px !important;
    }
    /* Dashboard hero name smaller */
    .pf-content > div > div[style*="display:flex;align-items:center;gap:22px"] h2 {
        font-size: 18px !important;
    }
    /* Dashboard hero badge pills wrap */
    .pf-content > div > div[style*="display:flex;align-items:center;gap:22px"] div[style*="display:flex;gap:10px;flex-wrap:wrap"] {
        gap: 6px !important;
    }
    .pf-content > div > div[style*="display:flex;align-items:center;gap:22px"] div[style*="display:flex;gap:10px;flex-wrap:wrap"] > span {
        font-size: 11px !important;
        padding: 6px 10px !important;
    }
    /* Dashboard hero UUID pill: don't truncate */
    .pf-content > div > div[style*="display:flex;align-items:center;gap:22px"] div[style*="display:flex;gap:10px;flex-wrap:wrap"] > span:last-child {
        white-space: normal !important;
        word-break: break-all !important;
        max-width: 100% !important;
    }

    /* Dashboard stat cards: 1 column, tighter padding */
    .pf-content > div > div[style*="grid-template-columns:repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .pf-content > div > div[style*="grid-template-columns:repeat(3,1fr)"] > div {
        padding: 16px !important;
    }
    /* Stat card label: prevent truncation */
    .pf-content > div > div[style*="grid-template-columns:repeat(3,1fr)"] > div div[style*="font:700 12px"] {
        font-size: 10px !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    /* Stat card value: smaller */
    .pf-content > div > div[style*="grid-template-columns:repeat(3,1fr)"] > div div[style*="font:800 28px"] {
        font-size: 22px !important;
    }

    /* Dashboard two-column → single column */
    .pf-content > div > div[style*="grid-template-columns:1.4fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* Dashboard wallet card balance font smaller */
    .pf-content div[style*="font:800 52px"] {
        font-size: 36px !important;
    }

    /* Dashboard QR section: stack vertically */
    .pf-content div[style*="display:flex;gap:26px;align-items:center"] {
        flex-direction: column !important;
        gap: 16px !important;
        text-align: center !important;
    }
    .pf-content div[style*="display:flex;gap:26px;align-items:center"] > div[style*="flex:0 0 160px"] {
        flex: 0 0 130px !important;
        width: 130px !important;
        height: 130px !important;
    }
    .pf-content div[style*="display:flex;gap:26px;align-items:center"] > div[style*="flex:1"] {
        width: 100% !important;
    }

    /* Dashboard quick actions: 2x2 grid */
    .pf-content div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Dashboard upgrade card: stack stats */
    .pf-content div[style*="display:flex;gap:30px;margin-bottom:20px"] {
        gap: 16px !important;
        flex-wrap: wrap !important;
    }

    /* Dashboard recent activity: reduce padding */
    .pf-content div[style*="padding:26px;border-radius:20px;background:#fff"] {
        padding: 16px !important;
    }
}

/* ---- Dashboard ≤560px extra tightening ---- */
@media (max-width: 560px) {
    .pf-content > div > div[style*="display:flex;align-items:center;gap:22px"] h2 {
        font-size: 16px !important;
    }
    .pf-content div[style*="font:800 52px"] {
        font-size: 30px !important;
    }
    .pf-content > div > div[style*="grid-template-columns:repeat(3,1fr)"] > div div[style*="font:800 28px"] {
        font-size: 20px !important;
    }
    .pf-content > div > div[style*="grid-template-columns:repeat(3,1fr)"] > div div[style*="font:700 12px"] {
        font-size: 9px !important;
    }
}

/* ---- Transactions Page Mobile Fixes ---- */
@media (max-width: 900px) {
    /* Transaction profile header: stack */
    div > div[style*="padding:26px;border-radius:20px;background:#fff;border:1px solid #EEF2F6"] > div[style*="display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }

    /* Transaction header avatar+name section */
    div[style*="display:flex;align-items:center;gap:16px"] {
        gap: 12px !important;
    }

    /* Stat row in transaction header: make it wrap */
    .pf-statrow,
    div[style*="display:flex;gap:14px"] div[style*="text-align:center;padding:0 14px"] {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    div[style*="display:flex;gap:14px"] {
        gap: 8px !important;
        justify-content: center !important;
        width: 100% !important;
    }
    div[style*="display:flex;gap:14px"] > div[style*="text-align:center;padding:0 14px"] {
        padding: 8px 6px !important;
    }
    div[style*="display:flex;gap:14px"] > div[style*="text-align:center;padding:0 14px"] > div:first-child {
        font-size: 18px !important;
    }
    div[style*="display:flex;gap:14px"] > div[style*="text-align:center;padding:0 14px"] > div:last-child {
        font-size: 10px !important;
        white-space: normal !important;
    }

    /* Transaction toolbar: stack search, tabs, and export */
    div[style*="display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    /* Search input: full width */
    div[style*="display:flex;align-items:center;gap:10px;flex:1;min-width:240px;max-width:420px"] {
        max-width: 100% !important;
        min-width: 0 !important;
    }
    /* Tab switcher: center */
    div[style*="display:flex;gap:8px;padding:4px;background:#F1F5F9;border-radius:12px"] {
        justify-content: center !important;
    }
    /* Export buttons: full width row */
    div[style*="display:flex;gap:8px"]:not([style*="padding:4px"]) {
        justify-content: center !important;
    }

    /* Date range filter: stack */
    div[style*="display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding-bottom:20px"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    div[style*="display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding-bottom:20px"] > form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        width: 100% !important;
    }
    div[style*="display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding-bottom:20px"] > form > div[style*="display:flex;align-items:center;gap:9px"] {
        width: 100% !important;
    }
    div[style*="display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px;padding-bottom:20px"] > form input[type="date"] {
        width: 100% !important;
    }
    /* Transaction count text: center */
    span[style*="margin-left:auto;font:600 13px"] {
        margin-left: 0 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }

    /* Transaction filter panel grid */
    #filterPanel div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] {
        grid-template-columns: 1fr !important;
    }
    #filterPanel div[style*="display:flex;gap:10px;margin-top:16px"] {
        flex-direction: column !important;
    }

    /* Desktop transaction rows: hidden on mobile (already has .pf-desk class) */
    /* Mobile cards: shown (already has .pf-mcard class) */
    .pf-desk {
        display: none !important;
    }
    .pf-mcard {
        display: flex !important;
    }

    /* Transaction drawer width: full screen */
    div[id^="pf-txn-drawer-"] > div:last-child {
        width: 100% !important;
        max-width: 100vw !important;
    }
    /* Transaction drawer details grid: keeps 2 columns */
}

/* ---- Transactions ≤560px ---- */
@media (max-width: 560px) {
    /* Mobile transaction card: tighter */
    .pf-mcard {
        padding: 12px !important;
        gap: 10px !important;
    }
    .pf-mcard > div:nth-child(2) > div:first-child {
        font-size: 13px !important;
    }
    .pf-mcard > div:nth-child(2) > div:last-child {
        font-size: 11px !important;
    }
    .pf-mcard > div:last-child > div:first-child {
        font-size: 14px !important;
    }
}

/* ---- Profile Page Mobile Fixes ---- */
@media (max-width: 900px) {
    /* Profile hero: stack vertically */
    div[style*="display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
        padding: 20px 16px !important;
    }
    div[style*="display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px"] > div[style*="flex:0 0 74px"] {
        flex: 0 0 60px !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 22px !important;
    }
    div[style*="display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px"] > div[style*="flex:1"] {
        width: 100% !important;
    }
    /* Profile hero name + badge */
    div[style*="display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px"] h2 {
        font-size: 18px !important;
    }
    /* Profile hero pills wrap */
    div[style*="display:flex;gap:9px;flex-wrap:wrap"] {
        justify-content: center !important;
    }
    /* Profile completion ring: keep to right */
    div[style*="display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px"] > div[style*="flex:0 0 82px"] {
        flex: 0 0 70px !important;
    }
    div[style*="display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px"] > div[style*="flex:0 0 82px"] > div:first-child {
        width: 70px !important;
        height: 70px !important;
    }
    div[style*="display:flex;align-items:center;gap:22px;padding:26px 28px;border-radius:22px"] > div[style*="flex:0 0 82px"] > div:first-child > div {
        width: 54px !important;
        height: 54px !important;
        font-size: 16px !important;
    }

    /* Profile details card: reduce padding */
    div[style*="padding:28px;border-radius:20px;background:#fff;border:1px solid #EEF2F6"] {
        padding: 16px !important;
    }

    /* Profile form grid: single column (pf-g2 already handled, but inline too) */
    .pf-g2 {
        grid-template-columns: 1fr !important;
    }

    /* Profile avatar upload: center */
    div[style*="display:flex;align-items:center;gap:18px;margin-bottom:26px"] {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    /* Profile form button: full width */
    form button[type="submit"][style*="height:48px;padding:0 28px"] {
        width: 100% !important;
    }

    /* PIN card: stack */
    a[style*="display:flex;align-items:center;gap:16px;width:100%"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    a[style*="display:flex;align-items:center;gap:16px;width:100%"] > div[style*="flex:0 0 50px"] {
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
    }
}

/* ---- Profile Info Header (shared) Mobile Fixes ---- */
@media (max-width: 900px) {
    .pf-profile-info .pf-card-body {
        padding: 16px !important;
    }
    .pf-profile-top {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 16px !important;
    }
    .pf-profile-avatar-wrap {
        margin: 0 auto !important;
    }
    .pf-profile-details {
        width: 100% !important;
    }
    .pf-profile-name {
        font-size: 18px !important;
    }
    .pf-profile-meta {
        flex-direction: column !important;
        gap: 4px !important;
        align-items: center !important;
    }
    .pf-profile-meta-item {
        font-size: 12px !important;
        word-break: break-all !important;
        white-space: normal !important;
    }

    /* Profile stats: wrap into grid */
    .pf-profile-stats {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 12px !important;
    }
    .pf-profile-stat {
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        min-width: 0 !important;
        padding: 10px 8px !important;
        text-align: center !important;
    }
    .pf-profile-stat-value {
        font-size: 18px !important;
    }
    .pf-profile-stat-label {
        font-size: 10px !important;
        white-space: normal !important;
    }

    /* Profile completion: full width */
    .pf-profile-completion {
        width: 100% !important;
        margin-top: 8px !important;
    }

    /* Profile nav: scrollable */
    .pf-profile-nav {
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .pf-profile-nav-item {
        white-space: nowrap !important;
        padding: 10px 14px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 560px) {
    .pf-profile-stats {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 6px !important;
    }
    .pf-profile-stat {
        padding: 8px 4px !important;
    }
    .pf-profile-stat-value {
        font-size: 16px !important;
    }
    .pf-profile-stat-label {
        font-size: 9px !important;
    }
}

/* ---- Deposit/SendMoney Step Pages Mobile Fixes ---- */
@media (max-width: 900px) {
    /* Split layout already handled by .pf-split above */
    /* Form cards: reduce padding */
    .pf-split + div[style*="padding:28px"],
    .pf-split div[style*="padding:28px"] {
        padding: 16px !important;
    }

    /* PF- prefix input: prevent overflow */
    div[style*="display:flex;align-items:center;border:1px solid #E2E8F0;border-radius:14px;overflow:hidden"] {
        flex-wrap: wrap !important;
    }

    /* Form submit buttons: full width */
    form button[type="submit"][style*="height:50px"],
    form button[type="submit"][style*="height:48px"] {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Summary box: reduce padding */
    .pf-summary,
    div[style*="background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:24px"] {
        padding: 16px !important;
    }
}

/* ---- Disputes Page Mobile Fixes ---- */
@media (max-width: 900px) {
    /* Disputes stat cards: 1 column */
    div[style*="grid-template-columns:repeat(3,1fr)"] > div[style*="padding:22px;border-radius:20px;background:#fff;border:1px solid #EEF2F6"] {
        padding: 14px !important;
    }

    /* Disputes header: stack */
    div[style*="display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    /* Dispute drawer details: single column */
    /* removed global grid override */
}

/* ---- General Form Fixes for All Pages ---- */
@media (max-width: 900px) {
    /* All inline-styled grids with 2+ columns: collapse */
    div[style*="grid-template-columns:repeat(2,"],
    /* removed global grid override */

    /* All cards: reduce border radius slightly */
    div[style*="border-radius:22px"] {
        border-radius: 16px !important;
    }
    div[style*="border-radius:20px"] {
        border-radius: 14px !important;
    }

    /* All sections with padding:26px+: tighten */
    div[style*="padding:26px"] {
        padding: 16px !important;
    }
    div[style*="padding:28px"] {
        padding: 16px !important;
    }
    div[style*="padding:30px"] {
        padding: 16px !important;
    }

    /* Inputs with inline font-size: prevent zoom */
    input[style*="font-size"],
    select[style*="font-size"],
    textarea[style*="font-size"] {
        font-size: 16px !important;
    }

    /* Pills/badges with inline style: allow wrap */
    span[style*="white-space:nowrap"] {
        white-space: normal !important;
    }

    /* Transaction amount text: prevent truncation */
    div[style*="flex:0 0 110px;text-align:right"] {
        flex: 0 0 90px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 560px) {
    /* Transaction amount: even tighter */
    div[style*="flex:0 0 110px;text-align:right"] {
        flex: 0 0 80px !important;
        font-size: 12px !important;
    }

    /* Any remaining 3-col grids: single */
    div[style*="grid-template-columns:repeat(3,"] {
        grid-template-columns: 1fr !important;
    }

    /* Quick actions: 2 cols max */
    div[style*="grid-template-columns:repeat(4,1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ---- Send Money / Deposit Form Specific ---- */
@media (max-width: 900px) {
    /* Amount input row: stack if needed */
    div[style*="display:flex;align-items:center;border:1px solid #E2E8F0;border-radius:14px;overflow:hidden;margin-bottom:18px"] {
        flex-wrap: nowrap !important;
    }

    /* User card in send money: prevent overflow */
    .user-card {
        max-width: 100% !important;
    }

    /* Step guide: hidden (already handled by .pf-split) */
    .pf-steps {
        display: none !important;
    }
}

/* ---- OTP Pages ---- */
@media (max-width: 560px) {
    .otp-field input {
        height: 56px !important;
        font-size: 20px !important;
    }
    .otp-field {
        gap: 6px !important;
    }
}

/* ---- Print: fix drawer grid ---- */
@media (max-width: 900px) {
    /* span-2 cards stay span 2 */
}

/* ---- Header PF-ID contrast fix ---- */
/* The "PF-58 · Level 1" text on transactions page had poor contrast */
@media (max-width: 900px) {
    div[style*="font:500 13px"][style*="color:#94A3B8"] {
        color: #64748B !important;
    }
}

/* ============================================
   MOBILE OVERFLOW FIX — Critical
   Prevents horizontal scroll on all pages
   ============================================ */
@media (max-width: 900px) {
  html, body {
    max-width: 100vw !important;
  }
  .pf-app {
    max-width: 100vw !important;
  }
  .pf-main {
    max-width: 100vw !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .pf-header, .pf-topbar {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100% !important;
  }
  .pf-content {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .pf-content > div, .pf-content > div > div {
    max-width: 100% !important;
    overflow-x: hidden !important;
    min-width: 0 !important;
  }
  .pf-foot, footer {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  /* Inline-styled flex containers: prevent child expansion */
  div[style*="display:flex"] {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  /* Grid containers */
  div[style*="grid-template-columns"] {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
}

/* ============================================
   TRANSACTION DRAWER — Mobile
   ============================================ */
@media (max-width: 900px) {
  /* Full-width drawer */
  div[id^="pf-txn-drawer-"] > div:last-child {
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  /* Reduce header padding */
  div[id^="pf-txn-drawer-"] > div:last-child > div:first-child {
    padding: 20px 16px 22px !important;
  }
  
  /* Smaller icon box */
  div[id^="pf-txn-drawer-"] > div:last-child > div:first-child > div:nth-child(2) > div:first-child > div:first-child {
    width: 42px !important;
    height: 42px !important;
  }
  
  /* Responsive amount */
  div[id^="pf-txn-drawer-"] > div:last-child > div:first-child div[style*="font:800 30px"] {
    font-size: clamp(18px, 6vw, 30px) !important;
  }
  
  /* Smaller close button */
  div[id^="pf-txn-drawer-"] button[style*="width:38px;height:38px"] {
    width: 32px !important;
    height: 32px !important;
  }
  
  /* Body padding */
  div[id^="pf-txn-drawer-"] .pf-dbody {
    padding: 18px 16px !important;
  }
  
  /* Footer stacked */
  div[id^="pf-txn-drawer-"] > div:last-child > div:last-child {
    padding: 14px 16px !important;
  }
}

/* ============================================
   TRANSACTION DRAWER — Mobile
   ============================================ */
@media (max-width: 900px) {
  /* Full-width drawer panel (2nd child of outer container) */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) {
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  /* Reduce header padding */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) > div:first-child {
    padding: 20px 16px 22px !important;
  }
  
  /* Smaller icon box */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) > div:first-child > div:nth-child(2) > div:first-child > div:first-child {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
  
  /* Smaller close button in header */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) div[style*="width:38px;height:38px"] {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  
  /* Responsive amount font */
  div[id^="pf-txn-drawer-"] div[style*="font:800 30px"] {
    font-size: clamp(18px, 6vw, 30px) !important;
  }
  
  /* Body padding */
  div[id^="pf-txn-drawer-"] .pf-dbody {
    padding: 18px 16px !important;
  }
  
  /* Footer — adjacent sibling of .pf-dbody (hit ONLY the footer) */
  div[id^="pf-txn-drawer-"] .pf-dbody + div {
    padding: 14px 16px !important;
  }
  
  /* Footer buttons */
  div[id^="pf-txn-drawer-"] .pf-dbody + div > button,
  div[id^="pf-txn-drawer-"] .pf-dbody + div > a {
    height: 44px !important;
    font-size: 13px !important;
  }
}


/* ============================================
   TRANSACTION DRAWER — Mobile Grid
   ============================================ */
@media (max-width: 900px) {
  /* Drawer panel full-width */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) {
    width: 100% !important;
    max-width: 100vw !important;
  }
  
  /* Header padding */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) > div:first-child {
    padding: 20px 16px 22px !important;
  }
  
  /* Icon box */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) > div:first-child > div:nth-child(2) > div:first-child > div:first-child {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }
  
  /* Close button */
  div[id^="pf-txn-drawer-"] > div:nth-child(2) div[style*="width:38px;height:38px"] {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  
  /* Amount font responsive */
  div[id^="pf-txn-drawer-"] div[style*="font:800 30px"] {
    font-size: clamp(18px, 6vw, 30px) !important;
  }
  
  /* Body padding */
  div[id^="pf-txn-drawer-"] .pf-dbody {
    padding: 18px 16px !important;
  }
  
  /* Footer — adjacent to pf-dbody only */
  div[id^="pf-txn-drawer-"] .pf-dbody + div {
    padding: 14px 16px !important;
  }
  
  /* Footer buttons */
  div[id^="pf-txn-drawer-"] .pf-dbody + div > button,
  div[id^="pf-txn-drawer-"] .pf-dbody + div > a {
    height: 44px !important;
    font-size: 13px !important;
  }
  
  /* TOTAL card — keeps span 2 per Sheldon layout */
  
  /* Detail grid cards — smaller padding */
  div[id^="pf-txn-drawer-"] .pf-dbody > div[style*="display:grid"] > div {
    padding: 12px !important;
  }
  
  /* Card value text smaller */
  div[id^="pf-txn-drawer-"] .pf-dbody > div[style*="display:grid"] div[style*="font:700 15px"] {
    font-size: 13px !important;
  }
  
  /* Card label smaller */
  div[id^="pf-txn-drawer-"] .pf-dbody > div[style*="display:grid"] div[style*="font:700 11px"] {
    font-size: 10px !important;
  }
}

/* === Step Guide Visibility Fix === */
.pf-progress-card.sg-card {
  display: block !important;
}

/* === Dropdown visibility fix — prevent clipping === */
.pf-user-dropdown.open .pf-dropdown-menu {
  z-index: 99999 !important;
}
@media (max-width: 900px) {
  .pf-user-dropdown.open .pf-dropdown-menu {
    position: fixed !important;
    top: 60px !important;
    left: 8px !important;
    right: 8px !important;
    z-index: 99999 !important;
  }
}

/* === Dropdown z-index stacking context fix === */
@media (max-width: 900px) {
  .pf-app, .pf-main, .pf-content, .pf-content > div {
    overflow: visible !important;
    isolation: auto !important;
  }
  .pf-user-dropdown.open .pf-dropdown-menu {
    position: fixed !important;
    top: 60px !important;
    left: 8px !important;
    right: 8px !important;
    z-index: 99999 !important;
    display: block !important;
    background: #fff !important;
    border: 1px solid #E6EBF2 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 40px rgba(0,0,0,.18) !important;
  }
}

/* === Step sidebar visibility fix === */
.pf-stick { display: block !important; }
@media (max-width: 900px) {
  .pf-stick {
    display: block !important;
    position: static !important;
    margin-bottom: 16px !important;
    border-radius: 16px !important;
  }
}

/* === User menu portal — desktop compact, mobile full-width === */
.pf-user-menu-portal {
  left: 8px !important;
  right: 8px !important;
}
@media (min-width: 901px) {
  .pf-user-menu-portal {
    left: auto !important;
    right: 32px !important;
    width: 300px !important;
    top: 64px !important;
  }
}
/* === OTP input styles === */
.pf-otp-input::-webkit-outer-spin-button,
.pf-otp-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.pf-otp-input:focus {
    border-color: #00E556;
    box-shadow: 0 0 0 3px rgba(0,229,86,.12);
}


/* Bootstrap pagination → PayFyre style override */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 16px 0;
  list-style: none;
  margin: 0;
}
.page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #fff;
  font: 600 13px "Geist","Plus Jakarta Sans",sans-serif;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}
.page-item.active .page-link {
  background: #00E556;
  color: #04210F;
  border-color: #00E556;
  font-weight: 700;
}
.page-item.disabled .page-link {
  color: #CBD5E1;
  pointer-events: none;
}
.page-item:not(.active):not(.disabled) .page-link:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
}

/* Pagination override — PayFyre style */
.pagination{display:flex;gap:4px;justify-content:center;padding:24px 0 4px;list-style:none;margin:0}
.pagination .page-link{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 12px;border-radius:12px;border:none;background:transparent;font:600 13.5px 'Geist','Plus Jakarta Sans',sans-serif;color:#64748B;text-decoration:none;transition:all .18s}
.pagination .page-link:hover{background:#F1F5F9;color:#0F172A}
.pagination .active .page-link{background:#00E556;color:#04210F;font-weight:700;box-shadow:0 2px 8px rgba(0,229,86,.25)}
.pagination .disabled .page-link{color:#CBD5E1;pointer-events:none;opacity:.5}
