/* ============================================
   MODERN APPLE-INSPIRED DESIGN SYSTEM
   ============================================ */

:root {
  --primary-color: #0071e3;
  --primary-dark: #0051ba;
  --secondary-color: #34c759;
  --accent-color: #ff9500;
  --dark-bg: #f5f5f7;
  --card-bg: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --border-color: #e5e5e7;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: -0.3px;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

nav h1 {
  font-size: 1.2rem;
  font-weight: 700;
  background: black;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--primary-color);
}

nav a:hover::after {
  width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
  background: linear-gradient(135deg, #1d1d1d 0%, #3b3b3b 100%);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-section > * {
  position: relative;
  z-index: 2;
}

.hero-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .hero-section h2 {
    font-size: 1.8rem;
  }
}

.hero-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
  background: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background: #31ba56;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(52, 199, 89, 0.3);
}

.hero-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-bottom p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.hero-bottom a {
  color: #a2d5ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.hero-bottom a:hover {
  color: #fff;
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-section {
  padding: 4rem 1.5rem;
  background: white;
  text-align: center;
}

.why-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  padding: 2rem;
  background: var(--dark-bg);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: white;
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   GIFT CARDS SECTION
   ============================================ */

.cards-section {
  padding: 4rem 1.5rem;
  background: var(--dark-bg);
}

.cards-section h3 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.card-item {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.card-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.card-image {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, #f5f5f7 0%, #e5e5e7 100%);
  padding: 1rem;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 80px;
  height: 120px;
  object-fit: contain;
}

.card-item:hover .card-image {
  transform: scale(1.05);
}

.card-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.card-btn {
  margin-top: auto;
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.card-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */

.how-section {
  padding: 4rem 1.5rem;
  background: white;
  text-align: center;
}

.how-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

.step {
  padding: 2rem;
  background: var(--dark-bg);
  border-radius: 0.75rem;
  position: relative;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.step:hover {
  background: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.videos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.video-wrapper {
  display: flex;
  justify-content: center;
}

.video-wrapper iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.video-wrapper iframe:hover {
  transform: scale(1.02);
}

.warning-note {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 2rem 0;
  color: #856404;
  font-weight: 600;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
  padding: 4rem 1.5rem;
  background: var(--dark-bg);
  text-align: center;
}

.testimonials-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
}

.testimonial {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  color: var(--primary-color);
  font-weight: 600;
}

.trust-badge {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ac8fa 100%);
  color: white;
  border-radius: 0.5rem;
  font-weight: 700;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 4rem 1.5rem;
  background: white;
  text-align: center;
}

.contact-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-method {
  flex: 1;
  min-width: 250px;
  padding: 1.5rem;
  background: var(--dark-bg);
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: white;
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-method p {
  margin: 0.5rem 0;
}

.contact-method a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-method a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: #1d1d1f;
  color: var(--text-secondary);
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border-color);
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  margin: 0 1rem;
}

footer a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-links {
  margin-top: 1rem;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
  transition: all 0.3s ease;
  z-index: 50;
  text-decoration: none;
  animation: float 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
  background: #31ba56;
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(52, 199, 89, 0.6);
  animation: none;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--text-primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 49;
}

.scroll-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.4);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 1rem;
  }

  .hero-section h2 {
    font-size: 1.6rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .card-info {
    padding: 1rem;
  }

  .card-name {
    font-size: 0.9rem;
  }

  .card-price {
    font-size: 1.2rem;
  }

  .features-grid,
  .steps,
  .testimonials-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .videos-container {
    gap: 1rem;
  }

  .videos-container iframe {
    max-width: 100%;
    height: 300px;
  }

  .whatsapp-btn,
  .scroll-to-top {
    bottom: 1rem;
    left: 1rem;
    width: 48px;
    height: 48px;
  }

  .scroll-to-top {
    left: auto;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section h2 {
    font-size: 1.4rem;
  }

  .why-section h3,
  .cards-section h3,
  .how-section h3,
  .testimonials-section h3,
  .contact-section h3 {
    font-size: 1.5rem;
  }

  .card-image {
    height: 120px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.slide-in-up {
  animation: slideInUp 0.6s ease forwards;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-bold {
  font-weight: 700;
}

.text-blue-600 {
  color: var(--primary-color);
}

/* ============================================
   DASHBOARD LAYOUT
   ============================================ */

.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: var(--dark-bg);
}

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 100vh;
  background: white;
  border-right: 1px solid var(--border-color);
  padding: 2rem 0;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar-logo {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: block;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin: 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  background: var(--dark-bg);
  color: var(--primary-color);
}

.sidebar-nav a.active {
  background: var(--dark-bg);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.main-content {
  margin-left: 240px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.top-bar {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 99;
}

.top-bar-greeting {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.top-bar-balance {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.balance-display {
  text-align: right;
}

.balance-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.balance-amount {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
}

.page-content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

/* ============================================
   WALLET CARD
   ============================================ */

.wallet-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, #5ac8fa 100%);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.2);
}

.wallet-card h3 {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.wallet-balance {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.wallet-conversion {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ============================================
   QUICK ACTION BUTTONS
   ============================================ */

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.action-btn {
  padding: 1.2rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.action-btn:hover {
  background: var(--dark-bg);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.action-icon {
  font-size: 1.8rem;
}

/* ============================================
   TRANSACTION LIST
   ============================================ */

.transaction-section {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
}

.transaction-section h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.transaction-table thead {
  background: var(--dark-bg);
  border-bottom: 1px solid var(--border-color);
}

.transaction-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
}

.transaction-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.transaction-table tbody tr:hover {
  background: var(--dark-bg);
}

.transaction-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transaction-type-icon {
  font-size: 1.1rem;
}

.transaction-amount {
  font-weight: 600;
  color: var(--text-primary);
}

.transaction-amount.positive {
  color: var(--secondary-color);
}

.transaction-amount.negative {
  color: #c41e3a;
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-pending {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

.status-failed {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-submit {
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.2);
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 113, 227, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-secondary {
  padding: 0.8rem 1.5rem;
  background: var(--text-secondary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--text-primary);
}

.btn-danger {
  padding: 0.8rem 1.5rem;
  background: #c41e3a;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: #992430;
}

/* ============================================
   CARDS AND CONTAINERS
   ============================================ */

.card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.card-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

/* ============================================
   RESPONSIVE DASHBOARD
   ============================================ */

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 240px;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .page-content {
    padding: 1rem;
  }

  .top-bar {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }

  .wallet-card {
    padding: 1.5rem;
  }

  .wallet-balance {
    font-size: 1.8rem;
  }

  .transaction-table {
    font-size: 0.85rem;
  }

  .transaction-table th,
  .transaction-table td {
    padding: 0.75rem;
  }

  .modal-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .quick-actions {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .transaction-table {
    font-size: 0.8rem;
  }

  .status-badge {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
}
