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

:root {
  --primary: #6C5CE7;
  --primary-dark: #5A4BD1;
  --primary-light: #A29BFE;
  --success: #00B894;
  --success-light: #E8F8F5;
  --danger: #E17055;
  --danger-light: #FDE8E4;
  --warning: #FDCB6E;
  --warning-light: #FEF9E7;
  --dark: #2D3436;
  --gray-900: #1a1a2e;
  --gray-800: #2d2d44;
  --gray-700: #4a4a5a;
  --gray-600: #636e72;
  --gray-500: #8395a7;
  --gray-400: #b2bec3;
  --gray-300: #dfe6e9;
  --gray-200: #f0f2f5;
  --gray-100: #f8f9fa;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--gray-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover {
  background: #d35400;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* ─── NAVBAR ─── */
.navbar {
  background: white;
  border-bottom: 1px solid var(--gray-300);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 20px;
  height: 20px;
}

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

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
  text-decoration: none;
}

.nav-link:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dark);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.user-name {
  font-weight: 500;
  font-size: 14px;
}

.logout-link {
  color: var(--gray-500) !important;
  font-size: 13px !important;
}

/* ─── MAIN CONTENT ─── */
.main-content {
  padding: 32px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ─── LANDING PAGE ─── */
.landing-page {
  background: var(--gray-900);
  min-height: 100vh;
}

.landing-nav {
  padding: 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.landing-nav .nav-container {
  height: 72px;
}

.landing-nav .nav-logo {
  color: white;
}

.landing-nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

.landing-nav-right .btn-ghost {
  color: rgba(255,255,255,0.7);
}

.landing-nav-right .btn-ghost:hover {
  color: white;
  background: rgba(255,255,255,0.1);
}

.hero {
  padding: 80px 24px 100px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.card-preview {
  perspective: 1000px;
}

.preview-card {
  width: 360px;
  height: 220px;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  box-shadow: 0 20px 60px rgba(108, 92, 231, 0.3);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.3s;
}

.preview-card:hover {
  transform: rotateY(0) rotateX(0);
}

.preview-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
}

.preview-card-type {
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.preview-card-number {
  font-size: 20px;
  letter-spacing: 3px;
  font-weight: 500;
}

.preview-card-bottom {
  display: flex;
  justify-content: space-between;
}

.preview-card-label {
  font-size: 9px;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-bottom: 4px;
}

.preview-card-value {
  font-size: 13px;
  font-weight: 500;
}

.features {
  background: var(--gray-800);
  padding: 80px 24px;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: white;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.send-icon { background: rgba(108, 92, 231, 0.2); color: var(--primary-light); }
.receive-icon { background: rgba(0, 184, 148, 0.2); color: var(--success); }
.card-icon { background: rgba(253, 203, 110, 0.2); color: var(--warning); }
.shield-icon { background: rgba(225, 112, 85, 0.2); color: var(--danger); }

.feature-card h3 {
  color: white;
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-card p {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  line-height: 1.6;
}

.landing-footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px;
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
}

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

.auth-container {
  width: 100%;
  max-width: 440px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

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

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
}

.auth-header h1 {
  font-size: 24px;
  margin-bottom: 4px;
}

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

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-300);
  font-size: 14px;
  color: var(--gray-600);
}

/* ─── FORMS ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row > .form-group {
  min-width: 0;
}

.form-row > .form-group input {
  width: 100%;
}

.form-hint {
  font-size: 12px;
  color: var(--gray-500);
}

.optional {
  color: var(--gray-400);
  font-weight: 400;
}

.amount-input-wrapper {
  position: relative;
}

.currency-symbol {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-weight: 600;
  font-size: 16px;
}

.amount-input-wrapper input {
  padding-left: 36px;
  font-size: 24px;
  font-weight: 600;
}

.form-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 540px;
}

.transfer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── ALERTS ─── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.alert-error {
  background: var(--danger-light);
  color: #c0392b;
  border: 1px solid rgba(225, 112, 85, 0.2);
}

.alert-success {
  background: var(--success-light);
  color: #00856f;
  border: 1px solid rgba(0, 184, 148, 0.2);
}

/* ─── DASHBOARD ─── */
.dashboard {
  max-width: 1100px;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 24px;
}

.dashboard-header h1 {
  font-size: 28px;
  font-weight: 700;
}

.text-muted {
  color: var(--gray-500);
  font-size: 14px;
}

.notifications-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.notification {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: all 0.3s;
}

.notification-success {
  background: var(--success-light);
  color: #00856f;
  border: 1px solid rgba(0, 184, 148, 0.15);
}

.notification-warning {
  background: var(--warning-light);
  color: #856404;
  border: 1px solid rgba(253, 203, 110, 0.3);
}

.notification-info {
  background: #EBF5FB;
  color: #1a5276;
  border: 1px solid rgba(52, 152, 219, 0.15);
}

.notification-dismiss {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.5;
  padding: 0 4px;
}

.notification-dismiss:hover {
  opacity: 1;
}

/* ─── BALANCE SECTION ─── */
.balance-section {
  margin-bottom: 32px;
}

.main-balance {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

.balance-label {
  font-size: 14px;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: 4px;
}

.balance-amount {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -1px;
}

.balance-currency {
  font-size: 14px;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.balance-actions {
  display: flex;
  gap: 12px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.sent { background: rgba(225, 112, 85, 0.1); color: var(--danger); }
.stat-icon.received { background: rgba(0, 184, 148, 0.1); color: var(--success); }
.stat-icon.cards-stat { background: rgba(108, 92, 231, 0.1); color: var(--primary); }

.stat-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
}

/* ─── SECTIONS ─── */
.section {
  margin-bottom: 32px;
}

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

.section-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-header .section-heading {
  margin-bottom: 0;
}

.link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

/* ─── REQUESTS ─── */
.requests-list {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.request-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.request-item:last-child {
  border-bottom: none;
}

.request-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.request-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.request-name {
  font-weight: 600;
  font-size: 14px;
}

.request-note {
  font-size: 13px;
  color: var(--gray-500);
}

.request-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.request-amount {
  font-weight: 700;
  font-size: 16px;
  margin-right: 8px;
}

/* ─── TRANSACTIONS ─── */
.transaction-list {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.transaction-item:last-child {
  border-bottom: none;
}

.transaction-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.transaction-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tx-sent {
  background: rgba(225, 112, 85, 0.1);
  color: var(--danger);
}

.tx-received {
  background: rgba(0, 184, 148, 0.1);
  color: var(--success);
}

.transaction-name {
  font-weight: 500;
  font-size: 14px;
}

.transaction-date {
  font-size: 12px;
  color: var(--gray-500);
}

.transaction-amount {
  font-weight: 700;
  font-size: 16px;
}

.amount-sent { color: var(--danger); }
.amount-received { color: var(--success); }

.empty-state {
  text-align: center;
  padding: 48px 24px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.empty-state p {
  color: var(--gray-500);
  margin-top: 12px;
}

.empty-state-card {
  text-align: center;
  padding: 64px 24px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.empty-state-card h3 {
  margin-top: 16px;
  font-size: 18px;
}

.empty-state-card p {
  color: var(--gray-500);
  margin: 8px 0 24px;
}

/* ─── TRANSACTION HISTORY TABLE ─── */
.transactions-table {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.transactions-table table {
  width: 100%;
  border-collapse: collapse;
}

.transactions-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-300);
}

.transactions-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}

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

.tx-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.tx-badge-sent {
  background: rgba(225, 112, 85, 0.1);
  color: var(--danger);
}

.tx-badge-received {
  background: rgba(0, 184, 148, 0.1);
  color: var(--success);
}

.tx-detail strong {
  display: block;
  font-size: 14px;
}

.tx-note {
  font-size: 12px;
  color: var(--gray-500);
}

.tx-ref {
  font-size: 12px;
  background: var(--gray-100);
  padding: 3px 8px;
  border-radius: 4px;
  color: var(--gray-600);
}

/* ─── VIRTUAL CARDS ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.virtual-card-wrapper {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.virtual-card {
  width: 100%;
  height: 200px;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  position: relative;
  overflow: hidden;
}

.virtual-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.card-frozen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 4px;
  backdrop-filter: blur(2px);
  z-index: 1;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-brand-name {
  font-weight: 700;
  font-size: 16px;
}

.card-type-badge {
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.7;
  font-weight: 500;
}

.card-number-display {
  font-size: 18px;
  letter-spacing: 3px;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.card-bottom {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.card-detail-label {
  font-size: 8px;
  letter-spacing: 1px;
  opacity: 0.6;
  margin-bottom: 2px;
}

.card-detail-value {
  font-size: 12px;
  font-weight: 500;
}

.cvv-hidden {
  cursor: pointer;
}

.card-info-bar {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 13px;
  border-bottom: 1px solid var(--gray-200);
}

.card-label {
  font-weight: 600;
}

.card-limit {
  color: var(--gray-500);
}

.card-actions-row {
  display: flex;
  gap: 8px;
  padding: 12px 20px;
}

.new-card-form {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.new-card-form h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.new-card-form form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.color-picker {
  display: flex;
  gap: 10px;
}

.color-option {
  cursor: pointer;
}

.color-option input {
  display: none;
}

.color-swatch {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: all 0.2s;
}

.color-option input:checked + .color-swatch {
  border-color: var(--dark);
  transform: scale(1.15);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ─── PAGE CONTAINERS ─── */
.page-container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 4px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-500);
  font-size: 14px;
  margin-bottom: 12px;
}

.back-link:hover {
  color: var(--primary);
}

/* ─── SETTINGS ─── */
.settings-info {
  margin-bottom: 24px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.info-label {
  color: var(--gray-500);
  font-size: 14px;
}

.info-value {
  font-weight: 500;
  font-size: 14px;
}

.divider {
  border: none;
  border-top: 1px solid var(--gray-300);
  margin: 24px 0;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    order: -1;
  }

  .preview-card {
    width: 300px;
    height: 185px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .nav-links {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .transactions-table {
    overflow-x: auto;
  }

  .request-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .request-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .paypal-layout {
    grid-template-columns: 1fr !important;
  }

  .paypal-sidebar {
    order: -1;
  }

  .hero-cards {
    grid-template-columns: 1fr !important;
  }

  .wallet-grid, .wallet-add-section {
    grid-template-columns: 1fr !important;
  }

  .kyc-layout .form-card {
    max-width: 100% !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }

  .user-name {
    display: none;
  }

  .amount-input-wrapper input {
    font-size: 18px;
    padding-left: 32px;
  }

  .currency-symbol {
    font-size: 14px;
    left: 12px;
  }

  .form-card {
    padding: 20px;
    max-width: 100%;
  }

  .btn-lg {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ─── LIMITATION BANNER ─── */
.limitation-banner {
  width: 100%;
}

.critical-banner {
  display: block;
  background: #d50102;
  padding: 12px 20px;
  text-decoration: none;
  color: white;
  transition: background 0.2s;
}

.critical-banner:hover {
  background: #9b0021;
  color: white;
}

.banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-icon {
  flex-shrink: 0;
}

.banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.banner-text strong {
  font-size: 15px;
}

.banner-text span {
  font-size: 13px;
  opacity: 0.9;
}

.banner-arrow {
  flex-shrink: 0;
}

/* ─── MOBILE MENU ─── */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--gray-600);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: white;
  border-bottom: 1px solid var(--gray-300);
  padding: 8px 24px 16px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 10px 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  text-decoration: none;
}

.mobile-nav a:last-child {
  border-bottom: none;
  color: var(--danger);
}

/* ─── PAYPAL-STYLE DASHBOARD LAYOUT ─── */
.paypal-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--radius);
  color: white;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  color: white;
}

.hero-card-send {
  background: linear-gradient(135deg, #003087, #0070BA);
}

.hero-card-request {
  background: linear-gradient(135deg, #142C8E, #003087);
}

.hero-card-icon {
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-card p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.hero-card-cta {
  display: inline-block;
  background: white;
  color: #003087;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  align-self: flex-start;
}

/* ─── SIDEBAR ─── */
.paypal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-section {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-section h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--dark);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--dark);
  transition: background 0.2s;
}

.quick-action:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.quick-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.quick-action span {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.account-status-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
}

.status-row span:first-child {
  color: var(--gray-500);
}

.status-value {
  font-weight: 500;
  font-size: 12px;
}

.kyc-badge {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.kyc-verified, .kyc-badge.kyc-verified { background: rgba(0,184,148,0.1); color: var(--success); }
.kyc-none, .kyc-badge.kyc-none { background: var(--gray-200); color: var(--gray-600); }
.kyc-rejected, .kyc-badge.kyc-rejected { background: rgba(225,112,85,0.1); color: var(--danger); }
.kyc-pending_review, .kyc-badge.kyc-pending_review, .kyc-processing, .kyc-badge.kyc-processing { background: rgba(108,92,231,0.1); color: var(--primary); }

.sidebar-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-stat-value {
  font-weight: 700;
  font-size: 16px;
}

.sidebar-stat-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* ─── KYC PAGE ─── */
.kyc-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kyc-layout .form-card {
  max-width: 640px;
}

.kyc-status-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.kyc-status-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.kyc-status-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kyc-icon-verified { background: rgba(0,184,148,0.1); color: var(--success); }
.kyc-icon-rejected { background: rgba(225,112,85,0.1); color: var(--danger); }
.kyc-icon-pending_review, .kyc-icon-processing { background: rgba(108,92,231,0.1); color: var(--primary); }
.kyc-icon-none { background: var(--gray-200); color: var(--gray-600); }

.kyc-status-header h2 {
  font-size: 20px;
  margin-bottom: 4px;
}

.kyc-status-header p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.6;
}

.kyc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doc-type-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.doc-type-option input {
  display: none;
}

.doc-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  color: var(--gray-600);
}

.doc-type-option input:checked + .doc-type-card {
  border-color: var(--primary);
  background: rgba(108,92,231,0.05);
  color: var(--primary);
}

.doc-type-card span {
  font-size: 12px;
  font-weight: 600;
}

.file-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s;
  text-align: center;
}

.file-upload-area:hover {
  border-color: var(--primary);
}

.file-upload-area p {
  font-size: 14px;
  color: var(--gray-600);
}

.file-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

/* ─── WALLET PAGE ─── */
.wallet-balance-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.wallet-balance-label {
  font-size: 13px;
  color: var(--gray-500);
}

.wallet-balance-amount {
  font-size: 28px;
  font-weight: 700;
}

.wallet-actions {
  display: flex;
  gap: 8px;
}

.wallet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.wallet-section {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.linked-accounts-list {
  display: flex;
  flex-direction: column;
}

.linked-account-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}

.linked-account-item:last-child {
  border-bottom: none;
}

.linked-account-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.linked-account-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.la-card { background: rgba(108,92,231,0.1); color: var(--primary); }
.la-bank { background: rgba(0,184,148,0.1); color: var(--success); }

.linked-account-name {
  font-weight: 600;
  font-size: 14px;
}

.linked-account-detail {
  font-size: 12px;
  color: var(--gray-500);
}

.linked-account-actions {
  display: flex;
  gap: 6px;
}

.default-badge {
  font-size: 10px;
  background: var(--success);
  color: white;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 6px;
  font-weight: 600;
}

.wallet-mini-card {
  border-radius: 10px;
  padding: 16px;
  color: white;
  margin-bottom: 12px;
}

.mini-card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.mini-card-brand {
  font-weight: 700;
  font-size: 14px;
}

.mini-card-type {
  font-size: 10px;
  letter-spacing: 1px;
  opacity: 0.7;
}

.mini-card-number {
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.mini-card-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.8;
}

.wallet-add-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.wallet-add-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.wallet-add-card h3 {
  font-size: 16px;
  margin-bottom: 16px;
}

.wallet-add-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
