:root {
  --color-primary-dark: #002830;
  --color-primary: #003a3d;
  --color-secondary: #00b59c;
  --color-secondary-hover: #009681;
  --color-accent: #c0d731;
  --color-text-light: #ffffff;
  --color-text-dark: #333333;
  --color-bg-light: #f5f5f5;
  --color-bg-white: #ffffff;
  --font-main: 'Montserrat', sans-serif;
  --transition-speed: 0.3s;
}

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

html {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

footer, .footer {
  margin-top: auto;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.mt-4 {
  margin-top: 1rem;
}

.small-text {
  font-size: 0.8rem;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--transition-speed), transform 0.2s;
  border: none;
}

.btn-large {
  padding: 12px 24px;
  font-size: 1rem;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
}

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

.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  border-radius: 20px;
  font-weight: 700;
  transition: all var(--transition-speed);
  margin-top: 15px;
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
}

.btn-store {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-secondary);
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  text-align: left;
  line-height: 1.2;
}

.btn-store i {
  font-size: 1.5rem;
}

.btn-store span {
  font-size: 0.7rem;
  font-weight: 400;
  display: block;
}

.btn-store strong {
  font-size: 0.9rem;
  display: block;
}

/* Topbar */
.topbar {
  background-color: var(--color-secondary);
  color: var(--color-text-light);
  font-size: 0.75rem;
}

.topbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
}

.topbar-nav a {
  padding: 8px 15px;
  font-weight: 600;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-nav a:last-child {
  border-right: none;
}

.topbar-nav a.active {
  background-color: rgba(0, 0, 0, 0.1);
}

.topbar-account {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.1);
  /* Slightly darker area for account */
}

/* Header */
.header {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -1px;
}

.logo-icon {
  color: var(--color-accent);
}

.header-desktop-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.location-selector {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.location-selector span {
  color: var(--color-secondary);
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav a {
  font-weight: 700;
  font-size: 0.9rem;
}

.header-nav a:hover {
  color: var(--color-secondary);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.2rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 5px 10px;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  display: flex;
  background-color: #0b1a26;
  color: white;
}

.hero-content {
  display: flex;
  width: 100%;
}

.hero-text-area {
  flex: 1;
  padding: 40px 20px;
  background-image: linear-gradient(135deg, #0b1a26 0%, #173245 100%);
  position: relative;
}

.hero-text-area h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text-area .highlight {
  color: var(--color-accent);
}

.hero-text-area p {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 30px;
}

.hero-logos {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  font-weight: 700;
  font-size: 1.2rem;
}

.hero-side-banner {
  background-color: var(--color-secondary);
  width: 30%;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
}

.side-banner-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.side-banner-logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

/* App Download Section */
.app-section {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

.app-section h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.app-section h2 strong {
  font-weight: 800;
}

.app-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Solutions Section */
.solutions-section {
  padding: 50px 0;
  text-align: center;
}

.solutions-header h2 {
  color: var(--color-secondary);
  font-size: 2rem;
  margin-bottom: 15px;
  padding: 0 20px;
}

.solutions-header p {
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  padding: 0 20px;
  margin-bottom: 30px;
}

.cards-slider {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-left: 20px;
}

.cards-track {
  display: flex;
  gap: 15px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
}

.solution-card {
  min-width: 280px;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.card-img {
  height: 200px;
  width: 100%;
}

.card-content {
  padding: 20px;
  flex: 1;
}

.card-content h3 {
  color: var(--color-secondary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card-content p {
  color: #555;
  font-size: 0.9rem;
}

.slider-arrow {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 10;
  cursor: pointer;
}

/* Features Section */
.features-section {
  padding: 40px 20px;
  text-align: center;
}

.feature-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-box {
  background-color: var(--color-secondary);
  color: white;
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 350px;
  text-align: left;
  position: relative;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 30px;
}

.feature-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.feature-nav {
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #333;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 40px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

.dot.active {
  background-color: var(--color-secondary);
}

.feature-text h2 {
  color: var(--color-secondary);
  font-size: 2rem;
  margin-bottom: 15px;
}

.feature-text p {
  color: #444;
  font-size: 1rem;
}

.step-by-step {
  padding: 40px 0;
}

.step-by-step h2 {
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Bottom Banner */
.bottom-banner-section {
  padding: 20px 20px 60px;
}

.bottom-banner {
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background-color: #f9f9f9;
}

.bottom-banner-img {
  height: 200px;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-banner-content {
  padding: 30px 20px;
  position: relative;
  text-align: left;
}

.bottom-banner-content h2 {
  color: var(--color-primary-dark);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 15px;
}

.bottom-banner-content p {
  color: #333;
}

.stamp {
  position: absolute;
  bottom: 20px;
  right: 10px;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 800;
  padding: 10px;
  border-radius: 4px;
  transform: rotate(-10deg);
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.1;
}

.account-footer-card {
  background-color: white;
  border: 1px solid var(--color-secondary);
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--color-primary-dark);
  font-weight: 600;
}

.account-footer-card i {
  color: var(--color-secondary);
  font-size: 1.5rem;
}

/* Pre Footer */
.pre-footer {
  background-color: var(--color-secondary);
  color: white;
  padding: 0;
}

.pre-footer-layout {
  display: flex;
}

.pre-footer-left {
  flex: 1;
  background-color: var(--color-primary-dark);
  padding: 40px 20px;
}

.pre-footer-right {
  flex: 1;
  padding: 40px 20px;
}

/* Footer */
.footer {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 40px 20px;
}

.footer-layout {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social-icons a {
  background: white;
  color: var(--color-primary-dark);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .topbar-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-nav {
    width: 100%;
    background-color: var(--color-secondary);
  }

  .topbar-nav a {
    flex: 1;
    text-align: center;
    font-size: 0.7rem;
    padding: 10px 5px;
  }

  .topbar-account {
    width: 100%;
    justify-content: flex-end;
    background-color: var(--color-primary-dark);
    padding: 10px 20px;
  }

  .header-desktop-group {
    display: none;
  }

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

  .hero {
    flex-direction: column;
  }

  .hero-side-banner {
    width: 100%;
    clip-path: none;
    padding: 30px 20px;
  }

  .app-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .app-buttons .btn-store {
    justify-content: center;
  }

  .pre-footer-layout {
    flex-direction: column;
  }

  .footer-social {
    text-align: left;
  }
}

/* Fixed Button Style */
.btn-fixed {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.btn-fixed.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* Form Card Container */
.form-card {
  background-color: var(--color-bg-white);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  border: 1px solid #eaeaea;
}

/* Badge style (Etapa 1 de 3) */
.form-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.form-badge-icon {
  background-color: #e6f6f4;
  color: var(--color-secondary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-step {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

/* Form Header */
.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  color: var(--color-primary-dark);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.form-header p {
  color: #666;
  font-size: 1rem;
}

/* Input Styles */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 25px;
  text-align: left;
}

.input-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.input-group input {
  padding: 16px 20px;
  border: 2px solid #e1e6eb;
  border-radius: 12px;
  font-size: 1.2rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.3s;
  color: var(--color-text-dark);
}

.input-group input:focus {
  border-color: var(--color-secondary);
}

/* Continue Button */
.btn-continue {
  width: 100%;
  padding: 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  background-color: #e1e6eb;
  color: #a0aab5;
  cursor: not-allowed;
  transition: all 0.3s;
  margin-bottom: 30px;
}

.btn-continue.active {
  background-color: var(--color-secondary);
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 181, 156, 0.3);
}

.btn-continue.active:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
}

/* Guarantees list */
.form-guarantees {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-top: 1px solid #eaeaea;
  padding-top: 25px;
  text-align: left;
}

.guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.check-icon {
  color: var(--color-secondary);
  font-size: 1rem;
  margin-top: 3px;
}

/* State management & loading animations */
.state-loading-1,
.state-loading-2,
.state-results {
  display: none;
  text-align: center;
  width: 100%;
}

.spinner-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #e1e6eb;
  border-top-color: var(--color-secondary);
  animation: spin 1s infinite linear;
  margin: 0 auto 30px;
}

.check-badge-large {
  background-color: #e6f6f4;
  color: var(--color-secondary);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 30px;
  animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

  100% {
    transform: rotate(360deg);
  }
}

@keyframes scaleUp {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Process Bars */
.process-box {
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 20px;
  margin: 30px 0;
  text-align: left;
}

.process-row {
  margin-bottom: 20px;
}

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

.process-row-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.process-row-header span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.status-badge.verificado {
  background-color: #e6f6f4;
  color: var(--color-secondary);
}

.status-badge.processando {
  background-color: #f0f4f8;
  color: #0076a8;
}

.process-bar {
  background-color: #e1e6eb;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.process-bar-fill {
  background-color: var(--color-secondary);
  height: 100%;
  width: 0%;
  transition: width 1.5s linear;
}

.process-bar-fill.blue {
  background-color: #0096d2;
}

.secure-connection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f5f7fa;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.secure-connection .dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 50%;
}

/* Results State */
.results-header h2 {
  font-size: 2rem;
  color: var(--color-primary-dark);
  font-weight: 800;
  margin-bottom: 10px;
}

.results-header p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
}

.info-cards-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.info-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d4f0eb;
  background-color: #fafdfd;
  border-radius: 16px;
  padding: 16px;
  text-align: left;
}

.info-card-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-card-icon {
  background-color: #d4f0eb;
  color: var(--color-secondary);
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.info-card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-secondary);
  text-transform: uppercase;
}

.info-card-value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: 2px;
}

.info-card-item .check-icon {
  color: var(--color-secondary);
  font-size: 1.2rem;
}

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

.input-icon-wrapper input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid #e1e6eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.3s;
}

.input-icon-wrapper input:focus {
  border-color: var(--color-secondary);
}

.input-icon-wrapper i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aab5;
  font-size: 1.1rem;
}

/* Simulation Step System */
.sim-step-container {
  display: none;
}

.sim-step-container.active {
  display: block;
}

/* Progress bar styles */
.simulation-progress {
  margin-bottom: 30px;
  text-align: center;
}

.sim-progress-text {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sim-progress-bar {
  background-color: #e1e6eb;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.sim-progress-fill {
  background-color: #0096d2;
  /* blue progress as in screenshots */
  height: 100%;
  width: 25%;
  transition: width 0.3s ease;
}

/* Step 1 Grid Options */
.sim-grid-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.sim-grid-card {
  border: 1px solid #e1e6eb;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--color-primary-dark);
  text-align: center;
}

.sim-grid-card i {
  font-size: 1.5rem;
  color: #a0aab5;
  transition: color 0.3s;
}

.sim-grid-card span {
  font-size: 0.9rem;
  font-weight: 700;
}

.sim-grid-card:hover {
  border-color: #0096d2;
  background-color: #fcfdfe;
}

.sim-grid-card.active {
  border-color: #0096d2;
  background-color: #f0f8fc;
  box-shadow: 0 0 0 1px #0096d2;
}

.sim-grid-card.active i {
  color: #0096d2;
}

/* Step 2 List Options */
.sim-list-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-list-item {
  border: 1px solid #e1e6eb;
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s;
  color: var(--color-primary-dark);
}

.sim-list-item .list-item-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sim-list-item i {
  font-size: 1.1rem;
  color: #a0aab5;
  transition: color 0.3s;
}

.sim-list-item span {
  font-weight: 700;
  font-size: 0.95rem;
}

.sim-list-item:hover {
  border-color: #0096d2;
  background-color: #fcfdfe;
}

.sim-list-item.active {
  border-color: #0096d2;
  background-color: #f0f8fc;
  box-shadow: 0 0 0 1px #0096d2;
}

.sim-list-item.active i {
  color: #0096d2;
}

/* Range Slider */
.range-container {
  margin-bottom: 25px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.range-labels span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.range-min-max {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  color: #888;
  font-weight: 600;
}

/* Custom range slider styling */
.custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e1e6eb;
  outline: none;
}

.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0096d2;
  border: 4px solid white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.1s;
}

.custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* Installment Badges */
.installments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.installment-badge {
  border: 1px solid #e1e6eb;
  background: white;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: all 0.3s;
}

.installment-badge:hover {
  border-color: #0096d2;
}

.installment-badge.active {
  border-color: #0096d2;
  background-color: #f0f8fc;
  color: #0096d2;
  box-shadow: 0 0 0 1px #0096d2;
}

/* Summary green box */
.summary-green-box {
  background-color: #f5fbf9;
  border: 1px solid #d4f0eb;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
}

.summary-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.summary-line span {
  font-size: 0.9rem;
  color: #666;
}

.summary-line strong {
  font-size: 1.15rem;
  color: var(--color-secondary);
  font-weight: 800;
}

.summary-footer {
  border-top: 1px dashed #d4f0eb;
  padding-top: 12px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
}

.simulation-actions button {
  padding: 14px 20px;
}
/* Simulation Loading Screen */
.step-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 10px;
}
.step-loading.active {
    display: flex;
}
.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f0f8fc;
    border-top: 6px solid #0096d2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-progress-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}
.loading-status-msg {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}
.loading-rows {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.loading-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #a0aab5;
    font-size: 0.9rem;
    font-weight: 600;
}
.loading-row-item.done {
    color: var(--color-secondary);
}
.loading-row-item.done i {
    color: var(--color-secondary);
}
.loading-row-item i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Simulation Step System */
.sim-step-container {
    display: none;
    animation: fadeIn 0.3s ease;
}
.sim-step-container.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Grid Options (Step 1) */
.sim-grid-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.sim-grid-card {
    border: 2px solid #e1e6eb;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
}
.sim-grid-card i {
    font-size: 2rem;
    color: #a0aab5;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}
.sim-grid-card span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
}
.sim-grid-card:hover {
    border-color: #c0c8d1;
    background-color: #f8fafc;
}
.sim-grid-card.selected {
    border-color: var(--color-secondary);
    background-color: #f5fbf9; /* Will replace for Bradesco */
}
.sim-grid-card.selected i {
    color: var(--color-secondary);
}

/* List Options (Step 2) */
.sim-list-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sim-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 2px solid #e1e6eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
}
.list-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}
.list-item-left i {
    font-size: 1.4rem;
    color: #a0aab5;
    width: 25px;
    text-align: center;
}
.list-item-left span {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
}
.sim-list-item:hover {
    border-color: #c0c8d1;
    background-color: #f8fafc;
}
.sim-list-item.selected {
    border-color: var(--color-secondary);
    background-color: #f5fbf9; /* Will replace for Bradesco */
}
.sim-list-item.selected .list-item-left i {
    color: var(--color-secondary);
}

/* Slider (Step 4) */
.range-container {
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e1e6eb;
}
.range-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}
.range-labels span {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}
.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e0e0e0;
    outline: none;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.custom-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    border: 4px solid white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Installments Grid */
.installments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.installment-badge {
    padding: 12px 5px;
    text-align: center;
    border: 2px solid #e1e6eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
}
.installment-badge:hover {
    border-color: #c0c8d1;
    background-color: #f8fafc;
}
.installment-badge.selected {
    background-color: var(--color-secondary);
    color: white;
    border-color: var(--color-secondary);
}

/* Disabled Button Style */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    
    
    
}

.btn-primary {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}
.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
