@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --accent: #22C55E;
  --accent-hover: #16A34A;
  --bg-white: #FFFFFF;
  --bg-section: #F8FAFC;
  --border: #E5E7EB;
  --text-main: #111827;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans Bengali', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #D1D5DB; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #9CA3AF; }

/* ===== SELECTION ===== */
::selection {
  background-color: var(--primary);
  color: #FFFFFF;
}

/* ===== LINKS ===== */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

/* ===== CARD ===== */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
}

/* Legacy support */
.glass-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}

/* ===== INPUT ===== */
.input-field {
  background-color: var(--bg-white);
  border: 1.5px solid var(--border);
  color: var(--text-main);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 16px;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.input-field::placeholder {
  color: var(--text-light);
}

.input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--bg-white);
  color: var(--text-main);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-section);
  border-color: #D1D5DB;
  transform: translateY(-1px);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  animation: fadeIn 0.4s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Legacy */
.hover-scale {
  transition: transform 0.2s ease;
}
.hover-scale:hover {
  transform: translateY(-1px);
}

/* ===== LOADER ===== */
.loader {
  border: 3px solid var(--border);
  border-left-color: var(--primary);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: box-shadow 0.2s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.navbar-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
  font-size: 20px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-menu a:hover {
  background-color: var(--bg-section);
  color: var(--primary);
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-actions {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
}

/* ===== HERO ===== */
.hero {
  padding: 120px 20px 80px;
  text-align: center;
  background: var(--bg-white);
}

.hero-title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== SECTION ===== */
.section {
  padding: 80px 20px;
}

.section-alt {
  background: var(--bg-section);
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 8px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 480px;
  margin: 0 auto 48px;
}

.section-container {
  max-width: 1120px;
  margin: 0 auto;
}

/* ===== FEATURE CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== STEPS ===== */
.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 300px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin: 0 auto 16px;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  color: var(--border);
  font-size: 20px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .step-arrow { transform: rotate(90deg); }
  .steps-row { flex-direction: column; align-items: center; }
}

/* ===== CTA ===== */
.cta-box {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-box h2 {
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 24px;
}

.cta-box .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta-box .btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* ===== FOOTER ===== */
.footer {
  padding: 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-white);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-main);
}

.footer-logo .logo-icon-sm {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg-section);
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
}

.auth-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.auth-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
}

.auth-form-card .form-group {
  margin-bottom: 20px;
}

.auth-form-card label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.auth-form-card .form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.auth-form-card .form-footer a {
  color: var(--primary);
  font-weight: 600;
}

.auth-form-card .form-footer a:hover {
  text-decoration: underline;
}

/* ===== PAYMENT PAGE ===== */
.pay-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg-section);
}

.pay-container {
  width: 100%;
  max-width: 460px;
}

.pay-header {
  text-align: center;
  margin-bottom: 20px;
}

.pay-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.pay-card-top-bar {
  height: 4px;
  background: var(--primary);
}

.pay-card-body {
  padding: 28px 24px;
}

.amount-display {
  text-align: center;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}

.amount-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.amount-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -1px;
}

.amount-currency {
  font-size: 20px;
  color: var(--text-light);
  font-weight: 600;
  margin-right: 4px;
}

/* Payment methods grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.method-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 4px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--bg-white);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
  font-family: inherit;
}

.method-btn:hover {
  border-color: #D1D5DB;
  background: var(--bg-section);
}

.method-btn.active {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.method-btn .method-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.method-btn .method-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.method-btn.active .method-label {
  color: var(--primary);
}

/* Instructions */
.pay-instruction {
  background: #EFF6FF;
  border: 1px solid #DBEAFE;
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 14px;
  color: #1E40AF;
  line-height: 1.6;
}

.pay-instruction .merchant-num {
  display: block;
  font-family: 'Inter', monospace;
  font-size: 17px;
  font-weight: 700;
  background: var(--bg-white);
  border: 1px solid #BFDBFE;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  letter-spacing: 1px;
  color: var(--text-main);
}

.pay-card-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  padding: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* ===== DASHBOARD ===== */
.dash-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-section);
}

/* Sidebar */
.dash-sidebar {
  width: 240px;
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 40;
  transition: transform 0.25s ease;
}

.dash-sidebar-header {
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
}

.dash-sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.nav-link:hover {
  background: var(--bg-section);
  color: var(--text-main);
}

.nav-link.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.nav-link i {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.dash-sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 14px;
}

.user-info .user-details {
  overflow: hidden;
}

.user-info .user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-info .user-email-text {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease;
}

.btn-logout:hover {
  background: #FEE2E2;
}

/* Sidebar mobile */
@media (max-width: 768px) {
  .dash-sidebar {
    transform: translateX(-100%);
  }
  .dash-sidebar.open {
    transform: translateX(0);
  }
}

/* Main content area */
.dash-main {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
}

@media (max-width: 768px) {
  .dash-main {
    margin-left: 0;
    padding-top: 56px;
  }
}

/* Mobile header for dashboard */
.dash-mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .dash-mobile-header {
    display: flex;
  }
}

.dash-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* Stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Payment link card */
.link-card {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 20px;
  color: #fff;
}

.link-card-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.link-card-url {
  background: rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: 'Inter', monospace;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.link-card-url:hover {
  background: rgba(0,0,0,0.25);
}

.link-card-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table thead tr {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}

.data-table th {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
}

.data-table tbody tr:hover {
  background: var(--bg-section);
}

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

/* Status badge */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: #DCFCE7;
  color: #166534;
}

.badge-pending {
  background: #FEF9C3;
  color: #854D0E;
}

.badge-failed {
  background: #FEE2E2;
  color: #991B1B;
}

/* Activity items */
.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.activity-item:hover {
  background: var(--bg-section);
}

.activity-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* Method settings cards */
.method-setting-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.15s ease;
}

.method-setting-card:hover {
  box-shadow: var(--shadow-sm);
}

.method-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.method-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.method-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.method-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 40px;
  height: 22px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #D1D5DB;
  border-radius: 99px;
  transition: background-color 0.2s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(18px);
}

/* Device section */
.device-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

.device-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-section);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin: 0 auto 16px;
  position: relative;
}

.device-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  background: #D1D5DB;
}

.device-status-dot.connected {
  background: var(--accent);
}

.device-id-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin: 16px 0;
}

.device-id-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 4px;
  text-align: left;
}

.device-id-value {
  font-family: 'Inter', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 480px) {
  .hero { padding: 100px 16px 60px; }
  .section { padding: 60px 16px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .pay-card-body { padding: 20px 16px; }
  .auth-form-card { padding: 24px 20px; }
  .dash-content { padding: 20px 16px; }
  .stat-grid { grid-template-columns: 1fr; }
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* ===== Overlay for mobile sidebar ===== */
.dash-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 35;
}

.dash-overlay.open {
  display: block;
}

/* ===== Admin page extras ===== */
.admin-header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
}

.admin-header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===== BRAND LOGOS ===== */
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  font-family: 'Noto Sans Bengali', sans-serif;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.brand-logo-lg {
  width: 40px;
  height: 40px;
  font-size: 14px;
}

.brand-bkash {
  background: #FDF2F8;
  color: #E2136E;
  border: 1.5px solid #FBCFE8;
}

.brand-nagad {
  background: #FFF7ED;
  color: #F6921E;
  border: 1.5px solid #FED7AA;
}

.brand-rocket {
  background: #F5F3FF;
  color: #8C3494;
  border: 1.5px solid #DDD6FE;
}

.brand-upay {
  background: #FFFBEB;
  color: #D97706;
  border: 1.5px solid #FDE68A;
}

/* ===== ENHANCED DEVICE SECTION ===== */
.device-status-dot.connected {
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}

.device-status-dot.disconnected {
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.device-last-active {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  margin-bottom: 16px;
}

.btn-danger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease;
  margin-top: 8px;
}

.btn-danger-outline:hover {
  background: #FEE2E2;
}

/* Connected status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.status-badge.connected {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #BBF7D0;
}

.status-badge.disconnected {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.status-badge .status-dot-sm {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-badge.connected .status-dot-sm {
  background: #22C55E;
  animation: pulseGreen 2s infinite;
}

.status-badge.disconnected .status-dot-sm {
  background: #EF4444;
}
