/* ===== RESET & VARIABLES ===== */
:root {
  --c-blue: #005eb8;
  --c-navy: #001633;
  --c-coral: #eb5e43;
  --text-dark: #111827;
  --text-light: #6b7280;
  --bg-offset: #f8f9fa;
  --white: #ffffff;
  --font-main: "Inter", system-ui, -apple-system, sans-serif;

  /* Dashboard & Brand Variables (Refined) */
  --primary: #0052cc;
  --accent: #00a3ff;
  --foreground: #111827;
  --dash-bg: #f5f8ff;
  --sidebar-bg: #eff4fb;
  --white: #ffffff;
  --success: #22c55e;
  --danger: #ef4444;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  line-height: 1.5;
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.text-blue {
  color: var(--c-blue);
}

.text-green {
  color: #10b981;
}

.bg-light {
  background-color: var(--bg-offset);
}

.py-large {
  padding-top: 80px;
  padding-bottom: 80px;
}

.pb-large {
  padding-bottom: 80px;
}

.mb-large {
  margin-bottom: 60px;
}

.mt-sm {
  margin-top: 20px;
}

.mt-md {
  margin-top: 40px;
}

.pl-md {
  padding-left: 60px;
}

.pr-md {
  padding-right: 60px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.btn-white:hover {
  background: #f0f0f0;
}

.btn-outline {
  background: var(--white);
  color: var(--c-blue);
  border: 1.5px solid var(--c-blue);
}

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

.btn-nav-signup {
  background: var(--c-blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 500;
}

.btn-nav-signup:hover {
  background: #004a94;
}

/* Base Octagon Logo */
.chase-octagon {
  width: 24px;
  height: 24px;
  background:
    linear-gradient(var(--white), var(--white)) center / 2.5px 100% no-repeat,
    linear-gradient(var(--white), var(--white)) center / 100% 2.5px no-repeat,
    var(--c-blue);
  clip-path: polygon(
    30% 0%,
    70% 0%,
    100% 30%,
    100% 70%,
    70% 100%,
    30% 100%,
    0% 70%,
    0% 30%
  );
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}

.chase-octagon.sm {
  width: 16px;
  height: 16px;
  background-size:
    1.5px 100%,
    100% 1.5px;
  margin-left: 0;
  margin-right: 6px;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  /* color: var(--white); */
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.logo:hover {
  opacity: 0.9;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #111827;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: url("assets/hero.jpeg") center 100% / cover no-repeat;
}
/* https://images.unsplash.com/photo-1556740738-b6a63e27c4df?auto=format&fit=crop&q=80&w=2000 */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 22, 51, 0.95) 0%,
    rgba(0, 22, 51, 0.4) 60%,
    transparent 100%
  );
}

.hero-container {
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  color: var(--white);
  padding-top: 60px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ===== TRUST SECTION ===== */
.trust-section {
  padding-top: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eaeaea;
}

.trust-text {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
}

.text-link {
  color: var(--c-blue);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.badge-text {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== FEATURE SPLITS & POPUPS ===== */
.feature-split {
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.feature-image-box {
  flex: 1;
  position: relative;
}

.feature-text-box {
  flex: 1;
}

.feature-text-box h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 400;
  color: var(--c-navy);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.feature-text-box p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.rounded-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.mock-img {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  display: block;
  border-radius: 24px;
}

.floating-popup {
  position: absolute;
  background: var(--white);
  padding: 16px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 5;
  white-space: nowrap;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-popup:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.floating-popup.bottom-right {
  bottom: -20px;
  right: -20px;
}

.floating-popup.top-left {
  top: 40px;
  left: -20px;
}

.popup-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.popup-icon.blue-bg {
  background: var(--c-blue);
  color: var(--white);
}

.popup-icon.no-bg {
  background: rgba(0, 94, 184, 0.1);
}

.popup-details strong {
  display: block;
  font-size: 1rem;
  color: var(--c-navy);
  margin-bottom: 4px;
}

.popup-details span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.popup-amount {
  font-weight: 700;
  color: var(--c-navy);
  font-size: 1.2rem;
  margin-left: 10px;
}

/* ===== EARN UI MOCKUP ===== */
.ui-presentation {
  background: #f0f4f8;
  border-radius: 32px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.css-phone-ui {
  background: var(--white);
  width: 100%;
  max-width: 340px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  padding: 24px;
}

.ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  font-weight: 600;
}

.profile-pic {
  width: 40px;
  height: 40px;
  background: #e2e8f0;
  border-radius: 50%;
}

.ui-total strong {
  display: block;
  font-size: 2rem;
  color: var(--c-navy);
}

.ui-total span {
  font-size: 0.9rem;
  color: var(--text-light);
}

.ui-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  transition: all 0.2s;
}

.ui-card.active {
  border-color: var(--c-blue);
  box-shadow: 0 8px 20px rgba(0, 94, 184, 0.1);
}

.ui-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.navy {
  background: var(--c-navy);
}

.dot.blue {
  background: var(--c-blue);
}

.ui-card-left span {
  display: block;
  font-weight: 600;
  color: var(--c-navy);
}

.ui-card-left small {
  color: var(--text-light);
  font-size: 0.85rem;
}

.ui-card-right {
  font-weight: 600;
  color: var(--c-navy);
}

/* ===== GLANCE CARDS ===== */
.section-title {
  font-size: 2.2rem;
  color: var(--c-navy);
}

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

.glance-card {
  border-radius: 24px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: 32px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

.glance-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.glance-card.bg-navy {
  background: var(--c-navy);
}

.glance-card.bg-blue {
  background: var(--c-blue);
}

.photo-card-1 {
  background: url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&q=80&w=600")
    center/cover no-repeat;
}

.photo-card-2 {
  background: url("https://images.unsplash.com/photo-1527525443983-6e60c75fff46?auto=format&fit=crop&q=80&w=600")
    center/cover no-repeat;
}

.photo-card-1::before,
.photo-card-2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0, 0, 0, 0.85) 100%
  );
  z-index: 1;
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  font-size: 1.1rem;
}

.glance-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.glance-card p {
  font-size: 0.95rem;
  opacity: 0.9;
}

.checkmark-list {
  margin: 32px 0;
}

.checkmark-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--c-navy);
}

.checkmark-list i {
  margin-top: 4px;
}

.apply-list li {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 16px;
  gap: 12px;
}

.apply-list i {
  font-size: 1.1rem;
}

.apply-img {
  max-width: 400px;
  /* Specific constraint for this mockup */
}

/* ===== CSS PHONE MOCKUP ===== */
.css-phone {
  width: 280px;
  height: 560px;
  background: var(--white);
  border: 14px solid #111827;
  border-radius: 44px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
  overflow: hidden;
}

.css-phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #111827;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}

.css-phone-card {
  position: absolute;
  top: 120px;
  left: 24px;
  right: 24px;
  height: 170px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1f2937, #374151);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Option for the bottom banner */
.blue-card {
  background: linear-gradient(135deg, var(--c-blue), #004282);
}

.half-visible {
  height: 400px;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: -200px;
}

/* ===== RANKING CHART ===== */
.ranking-chart {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.chart-header {
  margin-bottom: 32px;
}

.chart-header h4 {
  font-size: 1.2rem;
  color: var(--c-navy);
  margin-bottom: 8px;
}

.chart-header p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.chart-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.rank-num {
  width: 20px;
  font-weight: 700;
  color: var(--text-light);
}

.bank-name {
  width: 110px;
  font-weight: 500;
  font-size: 0.95rem;
}

.bar-container {
  flex: 1;
  background: #f3f4f6;
  height: 28px;
  border-radius: 14px;
  overflow: hidden;
}

.bar {
  height: 100%;
  border-radius: 14px;
}

.bg-coral {
  background: var(--c-coral);
}

.outline-blue {
  background: transparent;
  border: 2px solid var(--c-blue);
  box-sizing: border-box;
}

.percent {
  width: 45px;
  text-align: right;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 12px;
}

.chart-row.highlight .rank-num {
  color: var(--c-blue);
}

.chart-row.highlight .bank-name {
  color: var(--c-blue);
  font-weight: 700;
  display: flex;
  align-items: center;
}

.chart-row.highlight .percent {
  color: var(--c-blue);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

/* ===== BOTTOM BANNER ===== */
.bottom-banner {
  background: var(--c-navy);
  border-radius: 32px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 80px;
  overflow: hidden;
  position: relative;
}

.banner-content {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.banner-content h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1.1;
}

.banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.banner-mockup {
  position: absolute;
  right: 80px;
  bottom: 0;
  z-index: 1;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f1f3f8;
  /* Slightly darker than bg-offset */
  padding: 80px 0 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #4b5563;
  /* Gray color for headers */
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  color: #374151;
  /* Dark gray for links */
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--c-blue);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.footer-social a {
  font-size: 1.4rem;
  color: #4b5563;
  transition: color 0.2s;
  background: none;
  /* Ensure no background circle from previous styles */
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: var(--c-blue);
}

.app-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-badges {
  display: flex;
  gap: 24px;
  align-items: center;
}

.app-buttons {
  display: flex;
  gap: 16px;
}

.app-btn {
  background: var(--c-navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.app-btn:hover {
  background: var(--c-blue);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--c-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--c-blue);
  color: var(--white);
}

.footer-bottom {
  color: #4b5563;
  font-size: 0.75rem;
  /* Smaller legal text */
  line-height: 1.6;
}

.footer-bottom p {
  margin-bottom: 16px;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .feature-split {
    flex-direction: column;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .feature-split.reverse-on-mobile {
    flex-direction: column-reverse;
  }

  .feature-text-box,
  .feature-image-box {
    width: 100%;
    padding: 0;
  }

  .feature-text-box {
    margin-top: 40px;
    text-align: center;
  }

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

  .bottom-banner {
    flex-direction: column;
    text-align: center;
    padding: 60px 40px 0;
  }

  .banner-content {
    margin-bottom: 60px;
  }

  .banner-mockup {
    position: relative;
    right: 0;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Hide on mobile for simplicity, show hamburger */
  }

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

  .logo {
    color: var(--c-navy);
    /* Dark logo if background is light */
  }

  .navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  .hero {
    align-items: flex-end;
    padding-bottom: 60px;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto;
  }

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

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

  .floating-popup {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .floating-popup.bottom-right {
    right: 10px;
    bottom: 10px;
  }

  .trust-badges {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .chart-row {
    flex-wrap: wrap;
  }

  .bar-container {
    min-width: 100%;
    order: 3;
    margin-top: 10px;
  }

  .percent {
    order: 2;
  }
}

/* ===== DASHBOARD ===== */

.dashboard-wrapper {
  display: flex;
  height: 100vh;
  background-color: var(--dash-bg);
}

@media (max-width: 768px) {
  .dashboard-wrapper {
    height: auto;
    min-height: 100vh;
  }
}

.dashboard-sidebar {
  width: 260px;
  height: 100%;
  background-color: var(--sidebar-bg);
  border-right: 1px solid rgba(0, 82, 204, 0.05);
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.sidebar-logo .logo-box {
  width: 38px;
  height: 38px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 82, 204, 0.2);
}

.sidebar-logo span {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--foreground);
  letter-spacing: -0.5px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--foreground);
  opacity: 0.6;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-item i {
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.nav-item:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.6);
}

.nav-item.active {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  opacity: 1;
  box-shadow: 0 8px 16px rgba(0, 82, 204, 0.2);
}

.sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 82, 204, 0.05);
}

.logout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: none;
  background: none;
  color: var(--foreground);
  opacity: 0.6;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.logout-btn:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05);
}

.dashboard-content {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (max-width: 768px) {
  .dashboard-content {
    margin-left: 0;
  }
}

.dashboard-header {
  height: 72px;
  border-bottom: 1px solid rgba(0, 163, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 90;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-bar {
  position: relative;
  width: 300px;
}

@media (max-width: 640px) {
  .search-bar {
    display: none;
  }
}

.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--foreground);
  opacity: 0.4;
}

.search-bar input {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.8rem;
  border: 1px solid rgba(0, 163, 255, 0.2);
  border-radius: 100px;
  background-color: var(--bg-offset);
  outline: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.search-bar input:focus {
  border-color: var(--accent);
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 163, 255, 0.1);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.notification-bell {
  position: relative;
  cursor: pointer;
  color: var(--foreground);
  opacity: 0.7;
  font-size: 1.2rem;
  transition: opacity 0.2s;
}

.notification-bell i {
  animation: bell-ring 2s infinite linear;
}

@keyframes bell-ring {
  0%,
  100% {
    transform: rotate(0);
  }

  10%,
  20% {
    transform: rotate(15deg);
  }

  30% {
    transform: rotate(-15deg);
  }

  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(5deg);
  }

  70% {
    transform: rotate(-5deg);
  }

  80% {
    transform: rotate(0);
  }
}

.notification-bell .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 8px;
  height: 8px;
  background-color: #dc2626;
  border: 2px solid var(--white);
  border-radius: 50%;
}

.user-profile-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(0, 163, 255, 0.1);
}

.user-info {
  text-align: right;
}

.user-info .name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--foreground);
}

.user-info .role {
  display: block;
  font-size: 0.75rem;
  color: var(--foreground);
  opacity: 0.6;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.1);
}

.dashboard-main-area {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
}

/* Dashboard Cards */
.dash-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.dash-page-header h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.dash-page-header p {
  color: var(--foreground);
  opacity: 0.6;
}

.dash-card {
  background-color: var(--white);
  border: none;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dash-card:hover {
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.08);
}

.stat-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

.stat-trend {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.stat-trend.up {
  color: var(--success);
}

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

/* High-Fidelity Premium Debit Card */
.dashboard-main-area .payment-card {
  background: linear-gradient(135deg, #0052cc 0%, #0073e6 50%, #009dff 100%);
  border-radius: 24px;
  padding: 2.25rem;
  color: #ffffff !important;
  aspect-ratio: 1.586 / 1;
  /* Standard ID-1 card ratio */
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 50px -12px rgba(0, 22, 51, 0.5);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
}

.dashboard-main-area .payment-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -25%;
  width: 100%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
  transform: rotate(25deg);
  pointer-events: none;
}

/* Holographic Reflection Overlay */
.dashboard-main-area .payment-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 45%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.03) 55%,
    transparent 60%
  );
  z-index: 1;
  pointer-events: none;
}

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

.card-chip {
  width: 52px;
  height: 40px;
  background: linear-gradient(135deg, #e3c477 0%, #d4af37 50%, #b8860b 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 10px rgba(0, 0, 0, 0.3),
    0 2px 5px rgba(0, 0, 0, 0.4);
}

.card-chip::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    rgba(0, 0, 0, 0.05) 5px
  );
}

.contactless-icon {
  font-size: 1.8rem;
  opacity: 0.95;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.card-number {
  font-size: 1.8rem;
  letter-spacing: 4px;
  font-weight: 700;
  margin: 1.5rem 0;
  font-family: "OCR A Std", "Courier New", monospace;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  color: #ffffff;
  position: relative;
  z-index: 2;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
  letter-spacing: 2px;
  font-weight: 800;
}

.card-brand-label {
  position: absolute;
  bottom: 2.25rem;
  right: 2.25rem;
  text-align: right;
  z-index: 3;
}

.visa-logo {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-weight: 950;
  font-size: 2.2rem;
  letter-spacing: -2px;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.debit-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 3px;
  display: block;
  margin-top: -3px;
  opacity: 1;
  color: #ffffff;
}

/* Transactions Refined */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background-color: var(--white);
  border-radius: 18px;
  transition: all 0.2s ease;
}

.tx-item:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.tx-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.tx-details {
  flex: 1;
  margin-left: 1.25rem;
}

.tx-name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
  margin-bottom: 2px;
}

.tx-date {
  display: block;
  font-size: 0.85rem;
  color: var(--foreground);
  opacity: 0.5;
}

.tx-amount {
  font-weight: 800;
  font-size: 1.1rem;
}

/* Dashboard Grid */
.dash-grid-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 1200px) {
  .dash-grid-stats {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* Animations */
@keyframes bell-ring {
  0%,
  100% {
    transform: rotate(0);
  }

  10%,
  20% {
    transform: rotate(15deg);
  }

  30% {
    transform: rotate(-15deg);
  }

  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(5deg);
  }

  70% {
    transform: rotate(-5deg);
  }
}
/* Transaction Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 22, 51, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.transaction-modal {
  background: white;
  width: 90%;
  max-width: 450px;
  border-radius: 24px;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.2);
  color: var(--foreground);
}

.modal-overlay.active .transaction-modal {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.25rem;
  color: var(--foreground);
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s;
  background: none;
  border: none;
}

.close-modal:hover {
  opacity: 0.9;
}

.modal-receipt-header {
  text-align: center;
  margin-bottom: 2rem;
}

.receipt-icon {
  width: 64px;
  height: 64px;
  background: #f0f6ff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.25rem;
}

.modal-receipt-body {
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.receipt-row:last-child {
  margin-bottom: 0;
}

.receipt-row span:first-child {
  color: #64748b;
  font-size: 0.9rem;
}

.receipt-row span:last-child {
  font-weight: 600;
  color: var(--foreground);
  text-align: right;
}

.print-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background 0.2s,
    transform 0.1s;
}

.print-btn:hover {
  background: var(--accent);
}
.print-btn:active {
  transform: scale(0.98);
}

/* Print Styles */
@media print {
  .dashboard-sidebar,
  .dashboard-header,
  .mobile-toggle-wrapper {
    display: none !important;
  }

  .dashboard-content > *:not(.modal-overlay):not(.print-area) {
    display: none !important;
  }

  .modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: white !important;
    backdrop-filter: none !important;
    display: flex !important;
    opacity: 1 !important;
  }

  .transaction-modal {
    box-shadow: none !important;
    transform: none !important;
  }

  .close-modal,
  .print-btn,
  .success-actions {
    display: none !important;
  }
}

/* ============================================================
   Toggle Switch (Settings page)
   ============================================================ */
.toggle-switch {
  width: 44px;
  height: 22px;
  background-color: #e2e8f0;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background-color: white;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch.active {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.toggle-switch.active::after {
  left: 24px;
}

/* ============================================================
   Shared Dashboard Layout Utilities
   ============================================================ */

/* Header transparent variant */
.dashboard-header--transparent {
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
}

/* User avatar — primary coloured */
.user-avatar--primary {
  background: var(--primary);
}

.user-avatar--primary i {
  font-size: 1rem;
}

/* Debit card WiFi icon rotated */
.icon-rotate-90 {
  transform: rotate(90deg);
}

/* Card holder / expiry value text */
.card-value {
  font-weight: 600;
  font-size: 1rem;
}

/* Card align-right helper */
.text-right {
  text-align: right;
}

/* Page header column layout */
.dash-page-header--column {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.dash-page-header--column h1 {
  font-size: 2.2rem;
}
.dash-page-header--column p {
  font-size: 1.1rem;
}

/* Stat card grid with bottom margin */
.dash-grid-stats--mb {
  margin-bottom: 3rem;
}

/* Main content grid 1:1.5 */
.dash-grid-main--cards {
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

/* Section heading row */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.section-header a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Card action buttons row */
.card-actions {
  display: flex;
  gap: 1rem;
}

.card-actions .btn {
  flex: 1;
  border-radius: 12px;
  font-size: 0.9rem;
  padding: 12px;
}

.card-actions .btn-outline {
  background: white;
  border-color: #eee;
}

/* Transaction icon colours */
.tx-icon--debit {
  background: #fff1f1;
  color: #ff5c5c;
  border-radius: 8px;
}
.tx-icon--credit {
  background: #f1fff1;
  color: #22c55e;
  border-radius: 8px;
}

/* Transaction list gap */
.tx-list--gap {
  gap: 0.75rem;
}

/* Transaction item white card */
.tx-item--card {
  background: white;
  border: none;
  padding: 1.25rem;
}

/* Stat trend down colour */
.stat-trend--danger {
  color: var(--danger);
}

/* Stat card data */
.stat-label {
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
}

/* Clickable transaction rows  */
.tx-item--clickable {
  cursor: pointer;
}

/* ============================================================
   Transactions Page Utilities
   ============================================================ */
.tx-filter-bar {
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 2rem;
}

.tx-filter-search {
  padding: 1rem;
  display: flex;
  align-items: center;
}

.tx-filter-search i {
  opacity: 0.3;
  margin-right: 15px;
}

.tx-filter-search input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
}

.tx-stat-card {
  padding: 1rem 1.5rem;
}

.tx-stat-label {
  font-size: 0.75rem;
  opacity: 0.6;
  display: block;
  margin-bottom: 4px;
}

.tx-stat-value--credit {
  font-weight: 700;
  color: #22c55e;
  font-size: 1.25rem;
}
.tx-stat-value--debit {
  font-weight: 700;
  color: #ff5c5c;
  font-size: 1.25rem;
}

/* Filter button */
.btn-filter {
  padding: 0.6rem 1.2rem;
  background: white;
  border-color: #eee;
  border-radius: 12px;
}

.btn-filter i {
  margin-right: 8px;
}

/* ============================================================
   Profile Page Utilities
   ============================================================ */
.profile-hero {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
}

@media (max-width: 768px) {
  .profile-hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
    gap: 1.5rem;
  }
}

.profile-hero-avatar {
  width: 100px;
  height: 100px;
  background: white;
  color: var(--primary);
  font-size: 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .profile-hero-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

.profile-hero-name {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

@media (max-width: 768px) {
  .profile-hero-name {
    font-size: 1.75rem;
  }
}

.profile-badge-row {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .profile-badge-row {
    justify-content: center;
  }
}

.profile-badge {
  padding: 0.3rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

.profile-grid {
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  display: grid;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.profile-field-label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-field-value {
  font-weight: 600;
  font-size: 1rem;
}

.profile-edit-btn {
  margin-top: 2.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
}

/* Security list item */
.tx-item--security {
  padding: 1rem 0;
}

/* ============================================================
   Settings Page Utilities
   ============================================================ */
.settings-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
}

.settings-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.settings-card-header .stat-card-icon {
  margin-bottom: 0;
}
.settings-card-header h3 {
  font-size: 1.25rem;
}

.settings-row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-item-label {
  font-weight: 600;
}
.settings-item-desc {
  font-size: 0.85rem;
  opacity: 0.5;
}

.stat-card-icon--accent {
  background-color: var(--accent);
}
.stat-card-icon--dark {
  background-color: #333;
}

/* ============================================================
   Transaction amount colour helpers
   ============================================================ */
.tx-amount--debit {
  color: #ff5c5c;
  font-weight: 700;
}
.tx-amount--credit {
  color: #22c55e;
  font-weight: 700;
}

/* ============================================================
   Receipt modal extras
   ============================================================ */
.receipt-row--total {
  margin-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.receipt-row--total span:first-child {
  font-size: 1.1rem;
  font-weight: 700;
}

.receipt-total-amount {
  font-size: 1.5rem;
  font-weight: 800;
}

/* ============================================================
   Dashboard header transparent variant
   ============================================================ */
.dashboard-header--transparent {
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
}

/* User avatar primary colour */
.user-avatar--primary {
  background: var(--primary);
}

/* Icon helpers */
.icon-rotate-90 {
  transform: rotate(90deg);
}

/* Card-value text (card holder / expiry) */
.card-value {
  font-weight: 600;
  font-size: 1rem;
}

/* Section header row */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.section-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.section-header a {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Card-actions row */
.card-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}
.card-actions .btn {
  flex: 1;
  border-radius: 12px;
  font-size: 0.9rem;
  padding: 12px;
}
.card-actions--block {
  background: white !important;
  border-color: #eee !important;
}

/* Stat label / value helpers */
.stat-label {
  opacity: 0.6;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}
.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
}
.stat-trend--danger {
  color: var(--danger);
}

/* Page header column variant */
.dash-page-header--column {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.dash-page-header--column h1 {
  font-size: 2.2rem;
}
.dash-page-header--column p {
  font-size: 1.1rem;
}

/* Stats grid margin variant */
.dash-grid-stats--mb {
  margin-bottom: 3rem;
}

/* Cards main grid */
.dash-grid-main--cards {
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

/* tx-list gap variant */
.tx-list--gap {
  gap: 0.75rem;
}

/* tx-item white-card variant */
.tx-item--card {
  background: white;
  border: none;
  padding: 1.25rem;
}

/* tx-item security variant (no bg, less padding) */
.tx-item--security {
  padding: 1rem 0;
}

/* tx-icon colour variants (also used on profile page) */
.tx-icon--debit {
  background: #fff1f1;
  color: #ff5c5c;
  border-radius: 8px;
}
.tx-icon--credit {
  background: #f1fff1;
  color: #22c55e;
  border-radius: 8px;
}

/* ============================================================
   Money Transfer Flow
   ============================================================ */

/* --- Step Progress Bar --- */
.transfer-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2.5rem;
}

.error-message {
    background-color: #f8d7da;   /* soft red background */
    color: #721c24;              /* dark red text */
    border: 1px solid #f5c6cb;   /* border to match background */
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.success-message {
    background-color: #d4edda;   /* soft green background */
    color: #155724;              /* dark green text */
    border: 1px solid #c3e6cb;
    padding: 10px 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
}



.transfer-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.transfer-step span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.3s;
}

.transfer-step.active span,
.transfer-step.done span {
  color: var(--primary);
}

.step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  background: white;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.transfer-step.active .step-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 6px rgba(0, 82, 204, 0.12);
}

.transfer-step.done .step-dot {
  border-color: #22c55e;
  background: #22c55e;
  color: white;
}

.step-connector {
  flex: 1;
  height: 2px;
  background: #e2e8f0;
  margin: 0 0.5rem;
  margin-bottom: 24px;
  transition: background 0.3s;
}

.step-connector.done {
  background: #22c55e;
}

/* --- Transfer Panel --- */
.transfer-panel {
  max-width: 700px;
}

.transfer-panel__header {
  margin-bottom: 2rem;
}
.transfer-panel__header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.transfer-panel__header p {
  color: #64748b;
}

.transfer-section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 1rem;
  margin-top: 1.75rem;
}

/* --- Saved Contacts Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card {
  background: white;
  border: 2px solid #f1f5f9;
  border-radius: 16px;
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.contact-card:hover {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.1);
  transform: translateY(-2px);
}

.contact-card.selected {
  border-color: var(--primary);
  background: #f0f6ff;
}

.contact-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.contact-avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}

.contact-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--foreground);
}
.contact-bank {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* --- Recipient Chip (Step 2) --- */
.recipient-chip {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f0f6ff;
  border: 1.5px solid rgba(0, 82, 204, 0.2);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
}

.chip-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--foreground);
}
.chip-bank {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 2px;
}

/* --- Transfer Forms --- */
.transfer-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
}

.form-input-wrap {
  display: flex;
  align-items: center;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 1rem;
  gap: 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-input-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.form-input-wrap i {
  color: #94a3b8;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.form-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0.9rem 0;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--foreground);
}

.form-select {
  cursor: pointer;
}

/* --- Amount Entry (Step 2) --- */
.amount-entry {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.amount-currency {
  font-size: 2.5rem;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1;
}

.amount-input {
  flex: 1;
  font-size: 3.5rem;
  font-weight: 800;
  border: none;
  outline: none;
  background: transparent;
  color: var(--foreground);
  font-family: var(--font);
  line-height: 1;
  width: 100%;
}

.amount-input::placeholder {
  color: #e2e8f0;
}

.amount-available {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.quick-amounts {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.quick-amount-btn {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1.5px solid #e2e8f0;
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--foreground);
  transition: all 0.2s;
}

.quick-amount-btn:hover,
.quick-amount-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* --- Confirm Summary Card --- */
.confirm-summary {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.confirm-amount-display {
  background: linear-gradient(135deg, #0052cc, #009dff);
  color: white;
  padding: 2.5rem;
  text-align: center;
}

.confirm-amount-display span {
  font-size: 0.85rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.confirm-amount-display h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0.25rem 0 0;
  color: white;
}

.confirm-details {
  padding: 1.5rem 2rem;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.95rem;
}

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

.confirm-row span:first-child {
  color: #64748b;
}
.confirm-row span:last-child {
  font-weight: 600;
  color: var(--foreground);
}

.confirm-row--fee span:last-child {
  color: #f59e0b;
}

.confirm-row--total {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 2px dashed #e2e8f0 !important;
  border-bottom: none;
}

.confirm-row--total span:first-child {
  font-weight: 700;
  font-size: 1rem;
}
.confirm-row--total span:last-child {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
}

.confirm-disclaimer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.confirm-disclaimer i {
  color: #22c55e;
}

/* --- Transfer Navigation --- */
.transfer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  gap: 1rem;
}

.transfer-next-btn {
  padding: 0.9rem 2rem;
  border-radius: 14px;
  gap: 8px;
}
.transfer-back-btn {
  padding: 0.9rem 1.5rem;
  border-radius: 14px;
  background: white;
  border-color: #eee;
}

/* --- Transfer Error --- */
.transfer-error {
  background: #fff1f1;
  color: #dc2626;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Success Screen --- */
.transfer-success {
  text-align: center;
  padding: 1rem 0;
}

.success-checkmark {
  margin-bottom: 1.5rem;
}

.success-circle {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #16a34a, #4ade80);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2.5rem;
  color: white;
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes pop-in {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
.success-subtitle {
  color: #64748b;
  margin-bottom: 2rem;
}

.success-receipt {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.success-status-badge {
  background: #f0fdf4;
  color: #16a34a;
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.success-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.success-actions .btn {
  padding: 0.9rem 1.75rem;
  border-radius: 14px;
}
.success-actions .btn-outline {
  background: white;
  border-color: #eee;
}

/* Spinner overlay for send button */
.btn--loading {
  pointer-events: none;
  opacity: 0.7;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── Page-specific styles ─── */
/* linear-gradient(135deg, #001f5b 0%, #0052cc 60%, #009dff 100%) */
.page-hero {
  background: url('assets/about.jpeg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  color: white;
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 70% 50%,
    rgba(0, 157, 255, 0.3) 0%,
    transparent 60%
  );
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.page-hero p {
  font-size: 1.2rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

.page-section {
  padding: 80px 0;
}
.page-section:nth-child(even) {
  background: #f8fafc;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #0052cc;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.section-lead {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 580px;
  line-height: 1.75;
}

/* Mission split */
.mission-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.mission-visual {
  background: linear-gradient(135deg, #0052cc 0%, #009dff 100%);
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.value-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #f0f6ff;
  color: #0052cc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.value-card p {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.7;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.stat-block {
  text-align: center;
}
.stat-block .stat-num {
  font-size: 3rem;
  font-weight: 800;
  color: #0052cc;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-block p {
  font-size: 0.9rem;
  color: #64748b;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s;
}
.team-card:hover {
  transform: translateY(-4px);
}
.team-avatar {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: white;
  font-weight: 700;
}
.team-info {
  padding: 1.25rem;
}
.team-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.team-info p {
  font-size: 0.82rem;
  color: #64748b;
}

/* CTA Banner */
.about-cta {
  background: linear-gradient(135deg, #0052cc, #009dff);
  border-radius: 28px;
  padding: 4rem 3rem;
  text-align: center;
  color: white;
  margin: 5rem 0;
}
.about-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}
.about-cta p {
  font-size: 1.05rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}
.about-cta .btn-white {
  background: white;
  color: #0052cc;
  font-weight: 700;
}
.about-cta .btn-white:hover {
  background: #f0f6ff;
}

@media (max-width: 900px) {
  .page-hero h1 {
    font-size: 2.4rem;
  }
  .mission-split {
    grid-template-columns: 1fr;
  }
  .values-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .values-grid,
  .team-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Transfer Type Selector (dashboard_transfer.html)
   ============================================================ */
.transfer-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    max-width: 860px;
    margin-bottom: 2.5rem;
}

@media (max-width: 700px) { .transfer-type-grid { grid-template-columns: 1fr; } }

.transfer-type-card {
    background: white;
    border: 2px solid #f1f5f9;
    border-radius: 24px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    cursor: pointer;
}

.transfer-type-card:hover {
    border-color: #0052cc;
    box-shadow: 0 16px 48px rgba(0, 82, 204, 0.12);
    transform: translateY(-4px);
}

.transfer-type-card--internal:hover { border-color: #7c3aed; box-shadow: 0 16px 48px rgba(124, 58, 237, 0.12); }

.ttc-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 0.6rem;
}

.ttc-icon--sepa     { background: linear-gradient(135deg, #0052cc, #009dff); }
.ttc-icon--internal { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.ttc-badge {
    display: inline-block;
    background: #f0f6ff;
    color: #0052cc;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0.25rem 0.7rem;
    border-radius: 100px;
    width: fit-content;
}

.ttc-badge--internal { background: #f5f3ff; color: #7c3aed; }

.ttc-title { font-size: 1.5rem; font-weight: 800; margin: 0.25rem 0 0; }
.ttc-desc  { font-size: 0.9rem; color: #64748b; line-height: 1.65; }

.ttc-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ttc-features li {
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ttc-features li i { color: #22c55e; font-size: 0.75rem; }

.ttc-arrow {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0052cc;
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.transfer-type-card--internal .ttc-arrow { color: #7c3aed; }
.transfer-type-card:hover .ttc-arrow { gap: 10px; }

.transfer-info-strip {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1.25rem 2rem;
    background: #f8fafc;
    border-radius: 16px;
    max-width: 860px;
    font-size: 0.85rem;
    color: #64748b;
}

.transfer-info-strip div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transfer-info-strip i { color: #0052cc; }

/* ============================================================
   Transfer Form Pages (SEPA + Internal)
   ============================================================ */

/* Breadcrumb */
.tf-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    margin-bottom: 1.75rem;
    color: #94a3b8;
}

.tf-breadcrumb a {
    color: #0052cc;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
}

.tf-breadcrumb a:hover { opacity: 0.75; }

/* Two-column layout */
.tf-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 1024px) { .tf-layout { grid-template-columns: 1fr; } }

/* Main form card */
.tf-form-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}

/* Coloured top header band */
.tf-card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2.5rem;
    color: white;
}

.tf-card-header--sepa     { background: linear-gradient(135deg, #0052cc 0%, #009dff 100%); }
.tf-card-header--internal { background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 60%, #a78bfa 100%); }

.tf-header-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.tf-card-title    { font-size: 1.6rem; font-weight: 800; margin: 0 0 4px; color: white; }
.tf-card-subtitle { font-size: 0.88rem; opacity: 0.85; margin: 0; }

/* Form body */
.tf-form-body { padding: 2.5rem; display: flex; flex-direction: column; gap: 0; }

.tf-field-group { margin-bottom: 1.75rem; }

.tf-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #475569;
    margin-bottom: 0.6rem;
}

.tf-required { color: #ef4444; }
.tf-optional  { font-weight: 400; text-transform: none; letter-spacing: 0; color: #94a3b8; font-size: 0.78rem; }

/* Amount row */
.tf-amount-wrap {
    display: flex;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tf-amount-wrap:focus-within {
    border-color: #0052cc;
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.tf-currency-select {
    border: none;
    outline: none;
    background: #f8fafc;
    padding: 0 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    color: #1e293b;
    cursor: pointer;
    border-right: 1.5px solid #e2e8f0;
    min-width: 95px;
}

.tf-amount-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 1rem 1.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: inherit;
    color: #1e293b;
    width: 100%;
}

.tf-amount-input::placeholder { color: #cbd5e1; }

/* Standard input row */
.tf-input-wrap {
    display: flex;
    align-items: center;
    background: white;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 0 1.15rem;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tf-input-wrap:focus-within {
    border-color: #0052cc;
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
}

.tf-input-wrap i { color: #94a3b8; font-size: 0.9rem; flex-shrink: 0; width: 16px; text-align: center; }

.tf-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 1rem 0;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
}

.tf-iban-input { letter-spacing: 1.5px; text-transform: uppercase; font-family: 'Courier New', monospace; font-size: 0.9rem; }

.tf-hint {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 0.4rem;
    line-height: 1.5;
}

.tf-char-count { text-align: right; }
.tf-char-count.tf-near-limit { color: #f59e0b; }
.tf-char-count.tf-at-limit   { color: #ef4444; }

/* Divider */
.tf-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0 1.5rem;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.tf-divider::before,
.tf-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f1f5f9;
}

/* Actions */
.tf-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid #f1f5f9;
}

.tf-back-btn    { padding: 0.9rem 1.5rem; border-radius: 14px; border-color: #e2e8f0; background: white; text-decoration: none; }
.tf-submit-btn  { padding: 0.9rem 2rem; border-radius: 14px; }

/* SEPA submit - keep blue */

/* Internal submit - purple */
.tf-submit-btn--internal {
    background: linear-gradient(135deg, #7c3aed, #a78bfa) !important;
}
.tf-submit-btn--internal:hover { background: linear-gradient(135deg, #5b21b6, #7c3aed) !important; }

/* Input invalid state */
.tf-input-wrap.tf-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }
.tf-amount-wrap.tf-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }

/* ─ Success Screen ─ */
.tf-success { padding: 3rem 2.5rem; text-align: center; }

.success-circle--internal { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

/* ─ Side Info Panel ─ */
.tf-info-panel { display: flex; flex-direction: column; gap: 1rem; }

.tf-info-card {
    background: white;
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.tf-info-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
}

.tf-info-card h4 i { color: #0052cc; }

.tf-info-card p { font-size: 0.85rem; color: #64748b; line-height: 1.65; margin: 0; }

.tf-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.84rem;
    color: #64748b;
}

.tf-info-list li::before { content: '•'; color: #0052cc; margin-right: 6px; }

.tf-info-card--security {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 1px solid #bbf7d0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tf-info-card--security i { color: #16a34a; font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.tf-info-card--security p { font-size: 0.82rem; color: #15803d; }


/* --- Mobile Toggles --- */
.mobile-toggle-wrapper { display: none; gap: 1rem; align-items: center; }
.mobile-toggle { background: transparent; border: none; font-size: 1.5rem; color: var(--foreground); cursor: pointer; padding: 0.25rem 0.5rem; }
.sidebar-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 95; display: none; opacity: 0; transition: opacity 0.3s ease; }
.sidebar-overlay.open { display: block; opacity: 1; }

@media (max-width: 768px) {
    .mobile-toggle-wrapper { display: flex; }
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 4px 0 24px rgba(0,0,0,0.1);
    }
    .dashboard-sidebar.sidebar-open {
        transform: translateX(0);
    }
    .header-right {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: var(--sidebar-bg, #ffffff);
        flex-direction: column;
        padding: 2.5rem 1.75rem;
        border-right: 1px solid rgba(0,0,0,0.05);
        box-shadow: 4px 0 24px rgba(0,0,0,0.1);
        display: flex !important;
        align-items: stretch;
        gap: 1.5rem;
        z-index: 100;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .header-right.navbar-open {
        transform: translateX(0);
    }
    .header-right .user-profile-summary { justify-content: flex-start; }
    
    /* home.html */
    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 280px;
        background: #ffffff;
        padding: 2.5rem 1.75rem;
        border-right: 1px solid #ccc;
        z-index: 1000;
        box-shadow: 4px 0 24px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .nav-links.nav-open { 
        transform: translateX(0);
    }
}

/* --- Dashboard Responsiveness Fixes --- */
@media (max-width: 900px) {
    .dash-grid-main--cards {
        grid-template-columns: 1fr;
    }
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .settings-layout {
        grid-template-columns: 1fr;
    }
    .tx-filter-bar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .tx-filter-bar {
        grid-template-columns: 1fr;
    }
    .tx-row {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .tx-amount {
        margin-left: auto;
    }
    .dash-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .dash-page-header h1 {
        font-size: 1.5rem;
    }
}

/* --- Chase Account Container (e.g. Credit Cards summary) --- */
.chase-account-header {
    background-color: #0b4a8e;
    color: white;
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chase-account-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.chase-account-title {
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 500;
}

.chase-account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.chase-card-img {
    width: 86px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.chase-account-balance {
    text-align: right;
}

.chase-account-balance h2 {
    font-size: 1.7rem;
    margin: 0 0 0.2rem 0;
    font-weight: 400;
    color: #111;
    letter-spacing: -0.5px;
}

.chase-account-balance p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.chase-account-notice {
    font-size: 0.85rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.chase-account-footer {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
    cursor: pointer;
    margin-top: auto;
}



/* --- FROM login_style.css --- */
:root {
    --primary: #004a99;
    --accent: #117aca;
    --background: #ffffff;
    --foreground: #111827;
    --secondary: #f3f4f6;
    --white: #ffffff;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--foreground);
    line-height: 1.5;
    background-color: var(--white);
    overflow-x: hidden;
}

.login-main {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background) 0%, #eff6ff 50%, var(--background) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
}

/* Animated background */
.animated-bg {
    position: absolute;
    inset: 0;
    z-index: -10;
    animation: bg-shift 10s infinite;
}

@keyframes bg-shift {
    0% {
        background: radial-gradient(circle at 20% 50%, rgba(0, 82, 204, 0.1) 0%, transparent 50%);
    }

    33% {
        background: radial-gradient(circle at 80% 80%, rgba(0, 163, 255, 0.1) 0%, transparent 50%);
    }

    66% {
        background: radial-gradient(circle at 40% 40%, rgba(0, 136, 255, 0.1) 0%, transparent 50%);
    }

    100% {
        background: radial-gradient(circle at 20% 50%, rgba(0, 82, 204, 0.1) 0%, transparent 50%);
    }
}

.login-container {
    width: 100%;
    max-width: 1000px;
    display: grid;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 163, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border-radius: 2rem;
    overflow: hidden;
    gap: 0;
}

@media (min-width: 768px) {
    .login-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.branding {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: linear-gradient(rgba(0, 22, 51, 0.7), rgba(0, 22, 51, 0.7)), url('assets/w-1200.avif');
    background-size: cover;
    background-position: center;
    padding: 3rem;
    color: var(--white);
}

@media (min-width: 768px) {
    .branding {
        display: flex;
    }
}

.branding-logo {
    margin-bottom: 2rem;
    animation: bounce 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.logo-icon {
    width: 5rem;
    height: 5rem;
    background: var(--white);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.logo-icon span {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
}

.branding h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    z-index: 2;
}

.branding-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2rem;
    z-index: 2;
}

.branding-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slide-right 2s ease-out;
    z-index: 2;
}

@keyframes slide-right {
    from {
        transform: translateX(-5px);
    }

    to {
        transform: translateX(0);
    }
}

.branding-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background-color: var(--accent);
}

.branding-item span {
    color: rgba(255, 255, 255, 0.9);
}

/* Right side - Login Form */
.login-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-card {
    padding: 2rem;
    background-color: transparent;
}

@media (min-width: 768px) {
    .login-form-card {
        padding: 3rem;
    }
}

.login-form-card h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.login-subtitle {
    color: rgba(17, 24, 39, 0.6);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.5rem;
}

.input-wrapper {
    position: relative;
}

.login-input {
    width: 100%;
    background-color: rgba(243, 244, 246, 0.5);
    border: 1px solid rgba(0, 163, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.login-input:focus {
    border-color: var(--accent);
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(17, 24, 39, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
}

.password-toggle:hover {
    color: var(--foreground);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input {
    border-radius: 0.25rem;
    border: 1px solid rgba(0, 163, 255, 0.3);
}

.forgot-password {
    color: var(--accent);
    transition: color 0.2s;
}

.forgot-password:hover {
    color: var(--primary);
}

.login-btn {
    width: 100%;
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 0;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-bottom: 1.5rem;
}

.login-btn:hover {
    opacity: 0.9;
}

.signup-text {
    text-align: center;
    color: rgba(17, 24, 39, 0.6);
}

.signup-link {
    color: var(--accent);
    font-weight: 500;
    transition: color 0.2s;
}

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

.legal-text {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(17, 24, 39, 0.4);
    margin-top: 1.5rem;
}
/* --- Inline styles from dashboard_transfer_failed.html --- */

        .error-circle {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #ef4444, #f87171);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2.5rem;
            margin: 0 auto 1.5rem;
            box-shadow: 0 8px 24px rgba(239, 68, 68, 0.25);
        }
        .error-status-badge {
            background: #fee2e2;
            color: #ef4444;
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
    

/* --- Inline styles from about.html --- */

     
    

/* --- Inline styles from support.html --- */

        /* ─── Page-specific styles ─── */
        .page-hero {
            background: linear-gradient(135deg, #001f5b 0%, #0052cc 60%, #009dff 100%);
            color: white;
            padding: 100px 0 80px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .page-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(ellipse at 30% 50%, rgba(0,157,255,0.25) 0%, transparent 60%);
        }
        .page-hero .container { position: relative; z-index: 1; }
        .page-hero h1 { font-size: 3.5rem; font-weight: 800; margin-bottom: 1rem; line-height: 1.1; }
        .page-hero p  { font-size: 1.15rem; opacity: 0.85; max-width: 580px; margin: 0 auto 2rem; }

        /* Search */
        .support-search {
            display: flex;
            max-width: 560px;
            margin: 0 auto;
            background: white;
            border-radius: 100px;
            overflow: hidden;
            box-shadow: 0 12px 40px rgba(0,0,0,0.2);
        }
        .support-search input {
            flex: 1;
            border: none;
            outline: none;
            padding: 1.1rem 1.5rem;
            font-size: 1rem;
            font-family: inherit;
            color: #1e293b;
            background: transparent;
        }
        .support-search button {
            background: #0052cc;
            color: white;
            border: none;
            padding: 0 1.75rem;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.2s;
        }
        .support-search button:hover { background: #003d99; }

        .page-section { padding: 80px 0; }
        .page-section:nth-child(even) { background: #f8fafc; }

        .section-eyebrow {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 3px;
            color: #0052cc;
            margin-bottom: 1rem;
        }
        .section-title {
            font-size: 2.2rem;
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 0.75rem;
        }

        /* Contact cards */
        .contact-methods {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 3rem;
        }
        .contact-method-card {
            background: white;
            border-radius: 20px;
            padding: 2.5rem 2rem;
            text-align: center;
            box-shadow: 0 4px 24px rgba(0,0,0,0.06);
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .contact-method-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 36px rgba(0,0,0,0.1);
        }
        .contact-icon {
            width: 72px;
            height: 72px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.75rem;
            margin: 0 auto 1.25rem;
            color: white;
        }
        .contact-method-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
        .contact-method-card p  { font-size: 0.9rem; color: #64748b; line-height: 1.6; margin-bottom: 1.5rem; }
        .contact-badge {
            display: inline-block;
            background: #f0fdf4;
            color: #16a34a;
            font-size: 0.78rem;
            font-weight: 700;
            padding: 0.3rem 0.75rem;
            border-radius: 100px;
            margin-bottom: 1.25rem;
        }
        .contact-badge.busy { background: #fff8f1; color: #d97706; }
        .contact-method-card .btn {
            display: block;
            text-align: center;
            padding: 0.8rem 1.5rem;
            border-radius: 12px;
            font-weight: 600;
            font-size: 0.95rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        /* Topic cards */
        .topic-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
            margin-top: 3rem;
        }
        .topic-card {
            background: white;
            border: 1.5px solid #f1f5f9;
            border-radius: 16px;
            padding: 1.75rem;
            display: flex;
            gap: 1rem;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            color: inherit;
        }
        .topic-card:hover {
            border-color: #0052cc;
            box-shadow: 0 6px 20px rgba(0,82,204,0.1);
            transform: translateY(-2px);
        }
        .topic-card-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: #f0f6ff;
            color: #0052cc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
        }
        .topic-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
        .topic-card p  { font-size: 0.82rem; color: #94a3b8; }

        /* FAQ */
        .faq-list {
            max-width: 720px;
            margin: 3rem auto 0;
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        .faq-item {
            border-bottom: 1px solid #f1f5f9;
        }
        .faq-question {
            width: 100%;
            background: none;
            border: none;
            padding: 1.4rem 0;
            text-align: left;
            font-size: 1rem;
            font-weight: 600;
            font-family: inherit;
            color: #1e293b;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }
        .faq-question i {
            color: #0052cc;
            font-size: 0.85rem;
            transition: transform 0.3s;
            flex-shrink: 0;
        }
        .faq-question.open i { transform: rotate(180deg); }
        .faq-answer {
            font-size: 0.95rem;
            color: #64748b;
            line-height: 1.75;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s ease, padding 0.35s;
            padding-bottom: 0;
        }
        .faq-answer.open {
            max-height: 500px;
            padding-bottom: 1.4rem;
        }

        /* Status Banner */
        .status-banner {
            background: #f0fdf4;
            border: 1.5px solid #bbf7d0;
            border-radius: 16px;
            padding: 1.25rem 1.75rem;
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 3rem;
        }
        .status-banner i { color: #16a34a; font-size: 1.2rem; }
        .status-banner span { font-weight: 700; color: #15803d; }
        .status-banner small { color: #64748b; font-size: 0.85rem; margin-left: auto; }

        /* Contact Form */
        .contact-form-wrap {
            background: white;
            border-radius: 24px;
            padding: 3rem;
            max-width: 680px;
            margin: 3rem auto 0;
            box-shadow: 0 4px 24px rgba(0,0,0,0.06);
        }
        .form-group-b { margin-bottom: 1.4rem; }
        .form-label-b {
            display: block;
            font-size: 0.82rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #64748b;
            margin-bottom: 0.5rem;
        }
        .form-control-b {
            width: 100%;
            border: 1.5px solid #e2e8f0;
            border-radius: 12px;
            padding: 0.9rem 1rem;
            font-size: 0.95rem;
            font-family: inherit;
            color: #1e293b;
            background: white;
            outline: none;
            box-sizing: border-box;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .form-control-b:focus {
            border-color: #0052cc;
            box-shadow: 0 0 0 4px rgba(0,82,204,0.1);
        }
        textarea.form-control-b { resize: vertical; min-height: 130px; }
        .form-submit-btn { width: 100%; padding: 1rem; border-radius: 14px; font-size: 1rem; }

        @media (max-width: 900px) {
            .page-hero h1 { font-size: 2.4rem; }
            .contact-methods, .topic-grid { grid-template-columns: 1fr; }
        }
        @media (max-width: 600px) {
            .topic-grid { grid-template-columns: 1fr; }
        }
    
