/* Lendora - Design System & Stylesheet */

/* ==========================================================================
   1. Design Tokens & Variables
   ========================================================================== */
:root {
  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors */
  --clr-bg: hsl(222, 47%, 9%);
  --clr-bg-card: rgba(15, 23, 42, 0.55);
  --clr-bg-card-hover: rgba(30, 41, 59, 0.7);
  --clr-border: rgba(255, 255, 255, 0.08);
  --clr-border-focus: hsla(185, 90%, 50%, 0.4);
  
  --clr-primary: hsl(260, 85%, 62%);
  --clr-primary-glow: hsla(260, 85%, 62%, 0.35);
  
  --clr-secondary: hsl(185, 90%, 50%);
  --clr-secondary-glow: hsla(185, 90%, 50%, 0.3);
  
  --clr-accent: hsl(320, 85%, 60%);
  
  --clr-text-main: hsl(0, 0%, 100%);
  --clr-text-muted: hsl(215, 20%, 75%);
  --clr-text-dark: hsl(222, 47%, 12%);

  /* Functional Status Colors */
  --clr-success: hsl(142, 70%, 45%);
  --clr-success-bg: hsla(142, 70%, 45%, 0.15);
  --clr-warning: hsl(40, 95%, 55%);
  --clr-error: hsl(0, 85%, 60%);
  --clr-error-bg: hsla(0, 85%, 60%, 0.1);

  /* Layout & Animations */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;
  --shadow-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --shadow-neon-cyan: 0 0 15px hsla(185, 90%, 50%, 0.4);
  --shadow-neon-violet: 0 0 15px hsla(260, 85%, 62%, 0.4);
  --header-height: 80px;
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  background-color: var(--clr-bg);
  color: var(--clr-text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Hide elements with utility class */
.hidden {
  display: none !important;
}

.hide-initially {
  display: none !important;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--clr-text-main);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--clr-bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-pill);
  border: 2px solid var(--clr-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   3. Glowing Animated Background
   ========================================================================== */
.glow-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: var(--border-radius-pill);
  filter: blur(140px);
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: float-blob 25s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--clr-primary) 0%, transparent 70%);
}

.blob-2 {
  bottom: -15%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--clr-secondary) 0%, transparent 70%);
  animation-delay: -5s;
  animation-duration: 30s;
}

.blob-3 {
  top: 40%;
  left: 45%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--clr-accent) 0%, transparent 70%);
  animation-delay: -10s;
  animation-duration: 20s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(5vw, 10vh) scale(1.15);
  }
  100% {
    transform: translate(-5vw, -5vh) scale(0.9);
  }
}

/* ==========================================================================
   4. Glassmorphism Card Style
   ========================================================================== */
.glass-card {
  background: var(--clr-bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--shadow-glow);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   5. Buttons & Controls
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--border-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-text-main);
  box-shadow: var(--shadow-neon-violet);
}

.btn-primary:hover {
  background: hsl(260, 85%, 68%);
  transform: translateY(-2px);
}

.btn-gradient {
  background: linear-gradient(135deg, var(--clr-primary) 0%, hsl(280, 85%, 55%) 50%, var(--clr-secondary) 100%);
  background-size: 200% auto;
  color: var(--clr-text-main);
  box-shadow: var(--shadow-neon-violet);
}

.btn-gradient:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-cyan);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--clr-border);
  color: var(--clr-text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--clr-primary);
  color: var(--clr-text-main);
}

.btn-outline:hover {
  background: var(--clr-primary-glow);
  transform: translateY(-2px);
}

.btn-cyan {
  background: var(--clr-secondary);
  color: var(--clr-text-dark);
  box-shadow: var(--shadow-neon-cyan);
}

.btn-cyan:hover {
  background: hsl(185, 90%, 58%);
  transform: translateY(-2px);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 8px 18px;
}

.btn-xs {
  font-size: 0.75rem;
  padding: 6px 12px;
}

.btn-icon-only {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.margin-right-sm { margin-right: 8px; }
.margin-left-sm { margin-left: 8px; }

/* ==========================================================================
   6. Global Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: background var(--transition-fast);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--clr-text-main);
  background: linear-gradient(135deg, var(--clr-text-main) 0%, var(--clr-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
  -webkit-text-fill-color: initial;
  color: var(--clr-text-main);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  border-radius: var(--border-radius-pill);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  width: 24px;
}

.mobile-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--clr-text-main);
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
}

/* ==========================================================================
   7. Main Layout Structure
   ========================================================================== */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--header-height) + 40px) 24px 80px 24px;
  min-height: calc(100vh - var(--header-height));
}

.view-section {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.view-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  margin-bottom: 50px;
}

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

.section-header h1 {
  font-size: 2.75rem;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, hsl(260, 95%, 70%) 0%, var(--clr-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--clr-secondary) !important; }
.text-violet { color: hsl(260, 95%, 70%) !important; }
.text-success { color: var(--clr-success) !important; }
.font-bold { font-weight: 700; }

/* ==========================================================================
   8. Home / Hero Screen
   ========================================================================== */
.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  min-height: 520px;
  margin-bottom: 80px;
}

.badge-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--clr-secondary);
  background: var(--clr-secondary-glow);
  border: 1px solid rgba(185, 90, 50, 0.2);
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  margin-bottom: 35px;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--clr-text-main);
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 30%, var(--clr-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

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

.visual-glass-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-glow);
  border: 1.5px solid var(--clr-border);
  animation: float-img 6s infinite ease-in-out;
}

.floating-card {
  position: absolute;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-glow);
  animation: float-card 6s infinite ease-in-out alternate;
}

.floating-card h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.floating-card p {
  font-size: 0.75rem;
  color: var(--clr-text-muted);
}

.info-card {
  top: 10%;
  left: -15%;
  animation-delay: -1s;
}

.info-card-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--border-radius-sm);
  background: var(--clr-primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.rate-card {
  bottom: 15%;
  right: -10%;
  animation-delay: -3.5s;
}

.rate-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-secondary);
  color: var(--clr-text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes float-img {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float-card {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-8px) scale(1.02);
  }
}

/* Features grid details */
.features-section {
  padding-top: 40px;
  border-top: 1px solid var(--clr-border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--clr-border-focus);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--clr-text-main);
}

.bg-violet { background-color: var(--clr-primary-glow); color: var(--clr-primary); }
.bg-cyan { background-color: var(--clr-secondary-glow); color: var(--clr-secondary); }
.bg-emerald { background-color: hsla(142, 70%, 45%, 0.15); color: var(--clr-success); }
.bg-yellow { background-color: hsla(40, 95%, 55%, 0.15); color: var(--clr-warning); }

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   9. Simulators Screen (Calculator & Compare)
   ========================================================================== */
.tab-container {
  margin-bottom: 40px;
}

.tabs {
  display: inline-flex;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--clr-border);
  padding: 6px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 40px;
  width: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active {
  background: var(--clr-primary);
  color: var(--clr-text-main);
  box-shadow: var(--shadow-neon-violet);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Calculator Tab Layout */
.simulator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-sm);
  color: var(--clr-text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--clr-secondary);
  box-shadow: var(--shadow-neon-cyan);
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  margin-bottom: 8px;
}

.required {
  color: var(--clr-error);
}

/* Range Slider Customization */
.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.slider-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--clr-secondary);
}

.range-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--border-radius-pill);
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background var(--transition-fast);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-neon-cyan);
  transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--clr-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-neon-cyan);
  border: none;
  transition: transform 0.1s ease;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.slider-limits {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 6px;
}

.input-group-readonly {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--clr-border);
  border-radius: var(--border-radius-sm);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.readonly-label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.readonly-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Result breakdown details */
.simulator-results {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.payment-badge {
  background: var(--clr-primary-glow);
  border: 1px solid rgba(260, 85, 62, 0.25);
  border-radius: var(--border-radius-md);
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.payment-currency {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  vertical-align: super;
  color: var(--clr-primary);
  margin-right: 2px;
}

.payment-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--clr-text-main);
  line-height: 1;
}

.payment-period {
  font-size: 1rem;
  color: var(--clr-text-muted);
  margin-left: 2px;
}

.results-breakdown {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}

.breakdown-row strong {
  color: var(--clr-text-main);
}

.total-row {
  border-top: 1px solid var(--clr-border);
  padding-top: 14px;
  font-size: 1.05rem;
}

.results-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Donut Chart visual */
.chart-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 10px 0 30px 0;
  padding: 10px;
}

.donut-chart {
  width: 100px;
  height: 100px;
  transform: rotate(-90deg);
}

.chart-bg {
  fill: none;
  stroke: var(--clr-secondary);
  stroke-width: 10;
}

.chart-fill {
  fill: none;
  stroke: var(--clr-primary);
  stroke-width: 10.1;
  stroke-dasharray: 251.2; /* 2 * PI * r */
  stroke-dashoffset: 251.2;
  transition: stroke-dashoffset 0.8s ease-out;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

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

/* Collapsible Amortization Table */
.amortization-wrapper {
  margin-top: 40px;
  animation: slide-down 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table-card {
  padding: 0 !important;
  overflow: hidden;
}

.table-header {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--clr-border);
}

.info-tag {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
}

.table-scroll {
  max-height: 400px;
  overflow-y: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th {
  background: rgba(15, 23, 42, 0.4);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 16px 30px;
  color: var(--clr-text-muted);
  position: sticky;
  top: 0;
  z-index: 10;
}

.data-table td {
  padding: 16px 30px;
  border-bottom: 1px solid var(--clr-border);
}

.data-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* Compare Loans CSS */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.compare-selector {
  border-top: 4px solid transparent;
}

.compare-selector:nth-child(1) { border-top-color: var(--clr-secondary); }
.compare-selector:nth-child(2) { border-top-color: var(--clr-primary); }

.compare-selector h3 {
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.compare-results-card {
  margin-bottom: 40px;
}

.comparison-summary-verdict {
  background: rgba(142, 70, 45, 0.1);
  border: 1px solid rgba(142, 70, 45, 0.2);
  border-radius: var(--border-radius-sm);
  padding: 16px 24px;
  margin: 16px 0 24px 0;
  color: var(--clr-text-main);
  font-size: 1.05rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  margin-bottom: 30px;
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 16px 20px;
  color: var(--clr-text-muted);
  border-bottom: 2px solid var(--clr-border);
}

.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--clr-border);
}

.comparison-table tr:hover {
  background: rgba(255, 255, 255, 0.01);
}

.comparison-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

/* ==========================================================================
   10. Multi-Step Application Form
   ========================================================================== */
.form-container-card {
  max-width: 800px;
  margin: 0 auto;
}

.steps-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 50px;
  padding: 0 10px;
}

.progress-line-bg {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.progress-line-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  transition: width var(--transition-normal);
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-bg);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  transition: var(--transition-fast);
}

.node-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 8px;
  position: absolute;
  top: 48px;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.step-node.active .node-num {
  border-color: var(--clr-primary);
  color: var(--clr-text-main);
  box-shadow: var(--shadow-neon-violet);
  background: var(--clr-primary);
}

.step-node.active .node-text {
  color: var(--clr-text-main);
  font-weight: 600;
}

.step-node.completed .node-num {
  border-color: var(--clr-secondary);
  color: var(--clr-text-dark);
  background: var(--clr-secondary);
  box-shadow: var(--shadow-neon-cyan);
}

.step-node.completed .node-text {
  color: var(--clr-secondary);
}

.form-step-panel {
  display: none;
  animation: fade-in 0.4s ease;
}

.form-step-panel.active {
  display: block;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel-title {
  font-size: 1.75rem;
  margin-bottom: 6px;
}

.panel-subtitle {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
}

/* Document Drag and Drop styles */
.upload-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drag-drop-zone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  padding: 40px;
  text-align: center;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.drag-drop-zone.dragover {
  border-color: var(--clr-secondary);
  background-color: var(--clr-secondary-glow);
}

.file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 5;
}

.upload-prompt {
  pointer-events: none;
}

.upload-cloud {
  color: var(--clr-text-muted);
  display: inline-block;
  margin-bottom: 16px;
}

.upload-instructions strong {
  color: var(--clr-text-main);
}

.upload-limit {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
  margin-top: 8px;
}

.pointer {
  cursor: pointer;
}

.file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-sm);
  padding: 16px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
}

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

.file-remove-btn {
  background: transparent;
  border: none;
  color: var(--clr-error);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

/* Review step specifics */
.review-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.review-section-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-sm);
  padding: 20px;
}

.review-section-block h4 {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: 8px;
}

.review-section-block p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--clr-text-muted);
}

.review-section-block p strong {
  color: var(--clr-text-main);
  width: 130px;
  display: inline-block;
}

/* Signature block */
.signature-section {
  border-top: 1px solid var(--clr-border);
  padding-top: 30px;
  margin-top: 30px;
}

.signature-font {
  font-family: 'Outfit', cursive, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  font-style: italic;
}

.consent-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--clr-text-muted);
}

.consent-checkbox input {
  margin-top: 4px;
}

.form-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 40px;
  border-top: 1px solid var(--clr-border);
  padding-top: 30px;
}

/* Input validation error styling */
.input-group.invalid .form-control {
  border-color: var(--clr-error);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}

.input-group .error-msg {
  display: none;
  font-size: 0.8rem;
  color: var(--clr-error);
  margin-top: 6px;
}

.input-group.invalid .error-msg {
  display: block;
}

/* ==========================================================================
   11. User Dashboard Screen
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
}

.status-card {
  display: flex;
  flex-direction: column;
}

.status-tracker {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.status-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--clr-warning);
  box-shadow: 0 0 10px var(--clr-warning);
  animation: pulse 2s infinite;
}

.status-indicator.approved .status-pulse {
  background-color: var(--clr-success);
  box-shadow: 0 0 10px var(--clr-success);
}

.status-indicator.disbursed .status-pulse {
  background-color: var(--clr-secondary);
  box-shadow: 0 0 10px var(--clr-secondary);
}

.status-time {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.card-divider {
  border: 0;
  height: 1px;
  background: var(--clr-border);
  margin: 16px 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 10px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 18px;
  width: 2px;
  height: calc(100% + 14px);
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 4px;
  z-index: 2;
  border: 2px solid var(--clr-bg);
}

.timeline-item.active .timeline-dot {
  background: var(--clr-primary);
  box-shadow: var(--shadow-neon-violet);
}

.timeline-item.completed .timeline-dot {
  background: var(--clr-secondary);
  box-shadow: var(--shadow-neon-cyan);
}

.timeline-item.completed::after {
  background: var(--clr-secondary);
}

.timeline-content h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.timeline-content p {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* Active Balance Widget */
.balance-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.active-loan-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-block .label {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.detail-block h2 {
  font-size: 2.25rem;
  margin-top: 4px;
  color: var(--clr-text-main);
}

.detail-block h4 {
  font-size: 1.5rem;
  margin-top: 8px;
  color: var(--clr-text-muted);
}

.repayment-progress-wrapper {
  margin-bottom: 30px;
}

.repayment-progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 8px;
}

.progress-bar-bg {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-pill);
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
  transition: width var(--transition-slow);
}

.repayment-progress-nums {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--clr-text-muted);
}

.repayment-actions-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-next-due .label {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

.payment-next-due strong {
  display: block;
  font-size: 1.25rem;
  color: var(--clr-secondary);
}

.margin-top-lg {
  margin-top: 40px;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 14px var(--clr-warning); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* ==========================================================================
   12. FAQ accordion section
   ========================================================================== */
.faq-accordion-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0 !important;
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--clr-text-main);
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  color: var(--clr-text-muted);
  transition: transform var(--transition-normal);
  display: inline-flex;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) cubic-bezier(0, 1, 0, 1), padding var(--transition-normal);
  padding: 0 30px;
}

.faq-panel p {
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  padding-bottom: 24px;
  line-height: 1.7;
}

/* Active FAQ Item state */
.faq-item.active {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--clr-secondary);
}

.faq-item.active .faq-panel {
  max-height: 500px; /* arbitrary height to slide open */
  transition: max-height var(--transition-normal) cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   13. Global Footer Section
   ========================================================================== */
.site-footer {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--clr-border);
  padding: 80px 24px 30px 24px;
  color: var(--clr-text-muted);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  max-width: 260px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4,
.footer-newsletter h4 {
  font-size: 1rem;
  color: var(--clr-text-main);
  margin-bottom: 6px;
}

.footer-col a:hover {
  color: var(--clr-secondary);
}

.footer-newsletter p {
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form .form-control {
  border-radius: var(--border-radius-pill);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--clr-border);
  padding-top: 30px;
  text-align: center;
  font-size: 0.78rem;
}

/* ==========================================================================
   14. Floating Chat Widget
   ========================================================================== */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--clr-primary);
  border: none;
  color: var(--clr-text-main);
  box-shadow: var(--shadow-neon-violet);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  position: relative;
}

.chat-toggle:hover {
  transform: scale(1.08);
  background-color: hsl(260, 85%, 68%);
}

.chat-toggle-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--clr-accent);
  color: var(--clr-text-main);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--clr-bg);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 480px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-glow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chat-open 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom right;
}

@keyframes chat-open {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

.chat-header {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-avatar {
  font-size: 1.5rem;
}

.chat-header-info h4 {
  font-size: 0.95rem;
  line-height: 1.1;
}

.chat-header-info p {
  font-size: 0.72rem;
  color: var(--clr-text-muted);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--clr-success);
  margin-right: 2px;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--clr-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.chat-close-btn:hover {
  color: var(--clr-text-main);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  display: flex;
  flex-direction: column;
  max-width: 80%;
}

.message.incoming {
  align-self: flex-start;
}

.message.outgoing {
  align-self: flex-end;
}

.message-bubble {
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  font-size: 0.88rem;
  line-height: 1.45;
}

.incoming .message-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
  border-bottom-left-radius: 4px;
}

.outgoing .message-bubble {
  background: var(--clr-primary);
  color: var(--clr-text-main);
  border-bottom-right-radius: 4px;
  box-shadow: var(--shadow-neon-violet);
}

.message-time {
  font-size: 0.68rem;
  color: var(--clr-text-muted);
  margin-top: 4px;
  margin-left: 4px;
}

.outgoing .message-time {
  align-self: flex-end;
  margin-right: 4px;
}

.chat-input-area {
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--clr-border);
  display: flex;
  gap: 8px;
}

.chat-input-area input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
  border-radius: var(--border-radius-pill);
  padding: 8px 16px;
  color: var(--clr-text-main);
  font-size: 0.88rem;
  outline: none;
}

.chat-input-area input:focus {
  border-color: var(--clr-secondary);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--clr-secondary);
  border: none;
  color: var(--clr-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send-btn:hover {
  background: hsl(185, 90%, 58%);
}

/* ==========================================================================
   15. Toast notifications
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid var(--clr-secondary);
  border-radius: var(--border-radius-md);
  padding: 16px 24px;
  box-shadow: var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: slide-in-toast 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-in-toast {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  font-size: 1.25rem;
}

.toast-message {
  font-size: 0.9rem;
  font-weight: 550;
  color: var(--clr-text-main);
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--clr-text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.toast-close:hover {
  color: var(--clr-text-main);
}

/* ==========================================================================
   16. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    min-height: auto;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual-content {
    order: -1;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-newsletter {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }
  
  .main-content {
    padding-top: calc(70px + 30px);
    padding-bottom: 50px;
  }

  .hero-title {
    font-size: 2.75rem;
  }

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

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 60px 40px;
    gap: 40px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .header-actions #header-cta {
    display: none; /* Hide quick apply in mobile header, show in menu or content */
  }

  .simulator-layout {
    grid-template-columns: 1fr;
  }

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

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

  .review-details-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-newsletter {
    grid-column: span 1;
  }

  .chat-window {
    width: calc(100vw - 60px);
    right: 0;
  }
}

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

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .form-buttons {
    flex-direction: column-reverse;
  }

  .form-buttons .btn {
    width: 100%;
  }

  .comparison-actions {
    flex-direction: column;
  }
  
  .comparison-actions .btn {
    width: 100%;
  }

  .chat-window {
    width: calc(100vw - 40px);
    height: 400px;
  }
}

/* ==========================================================================
   17. Google Translate custom styles
   ========================================================================== */
#google_translate_element {
  display: inline-flex;
  align-items: center;
  margin-right: 15px;
  vertical-align: middle;
}

/* Customizing the simple widget style */
.goog-te-gadget-simple {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: var(--border-radius-pill) !important;
  padding: 6px 14px !important;
  font-family: var(--font-heading) !important;
  font-size: 0.82rem !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: background-color var(--transition-fast) !important;
}

.goog-te-gadget-simple:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.goog-te-gadget-simple span {
  color: var(--clr-text-main) !important;
  text-decoration: none !important;
}

/* Hide Google Logo branding */
.goog-te-gadget-simple img,
.goog-te-gadget-icon {
  display: none !important;
}

/* Hide default top frame banner */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0px !important;
}
