/* CSS Variables & Theme Setup */

@font-face {
  font-family: 'roobert-bold';
  src: url('../fonts/RoobertTRIAL-Bold-BF67243fd540abb.otf') format('opentype');
}

@font-face {
  font-family: 'roobert-semibold';
  src: url('../fonts/RoobertTRIAL-SemiBold-BF67243fd54213d.otf') format('opentype');
}

@font-face {
  font-family: 'roobert-heavy';
  src: url('../fonts/RoobertTRIAL-Heavy-BF67243fdd2bb27.otf') format('opentype');
}

@font-face {
  font-family: 'roobert-light';
  src: url('../fonts/RoobertTRIAL-Light-BF67243fdb756e2.otf') format('opentype');
}

@font-face {
  font-family: 'roobert-medium';
  src: url('../fonts/RoobertTRIAL-Medium-BF67243fd53e059.otf') format('opentype');
}

@font-face {
  font-family: 'roobert-regular';
  src: url('../fonts/RoobertTRIAL-Regular-BF67243fd53fdf2.otf') format('opentype');
}

@font-face {
  font-family: '42dotsans-medium';
  src: url('../fonts/42dotsans-medium.ttf') format('opentype');
}

@font-face {
  font-family: '42dotsans-regular';
  src: url('../fonts/42dotsans-regular.ttf') format('opentype');
}

:root {
  --primary-blue: #0080FF;
  --success-green: #00C853;
  --text-dark: #111111;
  --text-muted: #666666;
  --bg-light: #F8F9FA;
  --bg-card: #F4F5F7;
  --border-color: #E2E8F0;
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'roobert-regular', sans-serif;
  background-color: #FFFFFF;
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
}

/* Main Container Wrapper - simulating mobile layout but looks great on desktop */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: #FFFFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.03);
  padding: 24px 20px 0 20px;
  margin: 0 auto;
}

/* Header & Logo styling */
.app-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 46px;
  position: relative;
}

.logo-img {
  height: 44px;
  object-fit: contain;
}

/* Back navigation arrow */
.back-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-speed);
}

.back-btn:hover {
  transform: translateY(-50%) translateX(-3px);
}

.back-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-dark);
}

/* Header Navigation Wrapper (aligns back arrow and progress bar on one line) */
.header-nav-wrapper {
  display: flex;
  align-items: center;
  width: 333px;
  gap: 21px;
}

.header-nav-wrapper .back-btn {
  position: static;
  transform: none;
  padding: 0;
  flex-shrink: 0;
}

.header-nav-wrapper .back-btn:hover {
  transform: translateX(-3px);
}

.header-nav-wrapper .progress-container {
  margin-bottom: 0;
  flex-grow: 1;
}

/* Progress bar container styling */
.progress-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  width: 100%;
}

.progress-bar-bg {
  flex-grow: 1;
  height: 4px;
  background-color: #CFFFE3;
  /* Light green track to match the green filled bar */
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

.progress-bar-fill {
  height: 100%;
  background-color: #00C853;
  width: 0%;
  transition: width 0.4s ease, background-color 0.4s ease;
  border-radius: 2px;
}

.progress-text {
  font-size: 9px;
  line-height: 18px;
  font-weight: 400;
  font-family: '42dotsans-regular', sans-serif;
  color: #60616A;
  margin-left: 21px;
}

/* Steps Wrapper - hiding inactive steps, showing active */
.step-section {
  display: none;
  animation: fadeIn 0.4s ease forwards;
  flex-direction: column;
  flex-grow: 1;
}

.step-section.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Typography styles */
.hero-title {
  font-size: 30px;
  font-weight: 650;
  font-family: 'robert-samibold', sans-serif;
  line-height: 35px;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 14px;
  color: #000;
  line-height: 19px;
  text-align: center;
  margin-bottom: 34px;
  padding: 0 10px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
}

/* Step 0 Specific Layout: Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 30px;
  width: 307px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background-color: #F6F6F6;
  border: 1px solid #E7E7EA;
  border-radius: 15px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 99px;
  height: 87px;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
}

.feature-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
}

.feature-icon-wrapper img {
  width: 24px;
  height: 24px;
}

.feature-title {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 12px;
}

/* Form controls styling */
.form-group {
  margin-bottom: 20px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.form-label {
  display: block;
  font-size: 13px;
  line-height: 24px;
  font-weight: 500;
  font-family: 'roober-medium', sans-serif;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.phone-input-wrapper {
  display: flex;
  width: 333px;
  height: 48px;
  align-items: center;
  border: 1px solid #DADADA;
  border-radius: 8px;
  padding: 0 16px;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.phone-input-wrapper:focus-within {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

.country-select {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding-right: 12px;
  border-right: 1px solid var(--border-color);
  margin-right: 14px;
}

.flag-emoji {
  font-size: 20px;
  margin-right: 6px;
  line-height: 1;
}

.dropdown-arrow {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: 2px;
}

.phone-field {
  flex-grow: 1;
  border: none;
  outline: none;
  font-size: 14px;
  line-height: 24px;
  font-family: 'roobert-regular', sans-serif;
  color: var(--text-dark);
  width: 100%;
}

.phone-field::placeholder {
  color: #C4C4C4;
}

/* Checkbox & legal text container */
.legal-checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-bottom: 40px;
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

.custom-checkbox-wrapper {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.custom-checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 14px;
  width: 14px;
  background-color: #FFFFFF;
  border: 1.5px solid #4C5564;
  border-radius: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.custom-checkbox-wrapper input[type="checkbox"]:checked~.checkmark {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox-wrapper input[type="checkbox"]:checked~.checkmark:after {
  display: block;
}

.custom-checkbox-wrapper .checkmark:after {
  left: 4px;
  top: 0px;
  width: 2px;
  height: 7px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.legal-text {
  font-size: 8px;
  line-height: 10px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #4C5564;
}

.legal-text a {
  color: #000;
  text-decoration: underline;
}

/* Main action buttons */
.btn-primary {
  background-color: var(--text-dark);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  height: 50px;
  width: 333px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-speed), transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
}

.btn-primary:hover {
  background-color: #222222;
}

.btn-primary:active {
  transform: translateX(-50%) scale(0.98);
}

.btn-primary:disabled {
  background-color: #CBD5E1;
  color: #94A3B8;
  cursor: not-allowed;
  box-shadow: none;
}

/* Footer Section */
.footer-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  line-height: 10px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #4C5564;
  margin-bottom: 34px;
  margin-top: 0;
}

.footer-info strong {
  font-family: 'roobert-medium', sans-serif;
  font-weight: 650;
}

.footer-info-icon {
  width: 12px;
  height: 12px;
}

.security-ribbon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

}

.security-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 19px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #898A8D;
}

.security-icon {
  width: 14px;
  height: 14px;
}

/* Step 1 Specific: OTP verification grid */
.otp-header-title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 650;
  font-family: 'roobert-semibold', sans-serif;
  text-align: center;
  margin-bottom: 16px;
  width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.otp-sub {
  font-size: 14px;
  line-height: 18px;
  color: #60616A;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  text-align: center;
  margin-bottom: 42px;
  width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.otp-input-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 120px;
}

.otp-box {
  width: 58px;
  height: 58px;
  border: 1px solid #DADADA;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  text-align: center;
  background-color: #fff;
  outline: none;
  transition: border-color var(--transition-speed), background-color var(--transition-speed);
}

.otp-box:focus,
.otp-box.active {
  border: 1px solid #60616A;
  background-color: #f7f7f7;
}

.otp-box.error {
  border-color: #FF3B30 !important;
  background-color: #FFF2F2 !important;
}

.resend-container {
  text-align: center;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #60616A;
  margin-bottom: 30px;
}

.resend-link {
  color: #0080FF;
  text-decoration: none;
}

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

/* Custom Numeric Keypad styling */
.keypad-container {
  background-color: #000000BF;
  backdrop-filter: blur(108.73126983642578px);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin: auto -20px -24px -20px;
  padding: 16px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.keypad-header {
  text-align: center;
  margin-bottom: 12px;
}

.keypad-number,
.keypad-label {
  font-size: 12px;
  line-height: 13px;
  color: #fff;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.keypad-btn {
  background-color: #636363;
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  height: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.keypad-btn:active {
  background-color: rgba(255, 255, 255, 0.2);
}

.keypad-val {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.29px;
}

.keypad-sub {
  font-size: 10px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}

.keypad-btn.action-btn {
  background: none;
}

.keypad-btn.action-btn:active {
  background: rgba(255, 255, 255, 0.05);
}

/* Step 2 Specific: Form styling additions */
.gender-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 2px;
}

.gender-btn {
  background-color: #FFFFFF;
  border: 1px solid #D9D9D9;
  border-radius: 25px;
  height: 35px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #4C5564;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.gender-btn.active {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
  color: #FFFFFF;
}

.input-field {
  width: 100%;
  height: 48px;
  border: 1px solid #DADADA;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 14px;
  line-height: 24px;
  color: #000000;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  outline: none;
  background-color: #FFFFFF;
  transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.input-field:focus {
  border-color: var(--text-dark);
}

.input-field::placeholder {
  color: #C4C4C4;
}

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

.input-icon-wrapper .input-field {
  padding-right: 48px;
}

.field-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.input-note {
  font-size: 8px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #B2B0AF;
  margin-top: 5px;
  margin-left: 22px;
  display: block;
}

/* Success status validation border color */
.input-field.validated {
  border-color: var(--success-green);
}

/* Step 3: Dues collapsible style */
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 200px;
  /* Spacer for bottom sheet */
}

.accordion-item {
  background-color: #FFFFFF;
  border: 2px solid #E7E7EA;
  box-shadow: 0px 0px 40px 0px #DADADA;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-speed);
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 19px;
  cursor: pointer;
  background-color: #FFFFFF;
  user-select: none;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.accordion-icon-bg {
  width: 31px;
  height: 31px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-icon-bg.blue {
  background-color: #0080FF33;
}

.accordion-icon-bg.orange {
  background-color: #FF6F0033;
}

.accordion-icon-bg img {
  width: 16px;
  height: 13px;
}

.accordion-header-info {
  display: flex;
  flex-direction: column;
}

.accordion-title {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  color: #000;
  margin-bottom: 4px;
}

.accordion-subtitle {
  font-size: 12px;
  line-height: 11px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #898A8D;
}

.accordion-subtitle strong {
  color: #4A4C53;
  font-weight: 500;
}

.accordion-chevron {
  transition: transform var(--transition-speed);
  width: 20px;
  height: 20px;
}

.accordion-chevron svg {
  width: 100%;
  height: 100%;
  stroke: var(--text-muted);
}

.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

/* Accordion expanded content */
.accordion-content {
  display: none;
  padding: 20px 20px 20px 20px;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #E7E7EA;
  background-color: #fff;
  animation: slideDown-accordion 0.25s ease-out forwards;
}

.accordion-item.active .accordion-content {
  display: flex;
}

@keyframes slideDown-accordion {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card gradients */
.bank-card {
  border-radius: 15px;
  padding: 13px 18px 20px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.bank-card.hdfc {
  background: linear-gradient(90deg,
      #1B3961 5.41%,
      #2B68AA 95.05%);
}

.bank-card.citibank {
  background: linear-gradient(90deg,
      #21212E 5.41%,
      #EF2735 95.05%);
}

.bank-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.bank-card-header {}

.bank-card-name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 5px;
}

.bank-card-balance-lbl,
.bank-card-type {
  font-size: 11px;
  line-height: 13px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #C5D4E9;
  margin-bottom: 0;
}

.bank-card-balance-lbl {
  margin-bottom: 16px;
}

.bank-card-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.bank-card-balance {
  text-align: right;
}

.bank-card-balance-val {
  font-size: 20px;
  font-weight: 650;
  line-height: 18px;
  font-family: 'roobert-semibold', sans-serif;
  color: #fff;
}

/* Floating bottom sheet on Step 3 */
.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background-color: #000000;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  padding: 24px;
  color: #FFFFFF;
  z-index: 100;
}

.bottom-sheet-summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

.outstanding-container {
  display: flex;
  flex-direction: column;
}

.outstanding-lbl {
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  color: #fff;
  margin-bottom: 16px;
}

.outstanding-val {
  font-size: 28px;
  line-height: 18px;
  font-weight: 650;
  font-family: 'roobert-semibold', sans-serif;
  color: #fff;
  margin-bottom: 22px;
}

.accounts-badge {
  background-color: #111111;
  padding: 2px 14px;
  height: 24px;
  border-radius: 15px;
  font-size: 9px;
  line-height: 19px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  border: 1px solid #222222
}

.emi-transition-bar {
  background-color: #111111;
  border: 1px solid #222222;
  border-radius: 15px;
  height: 62px;
  padding: 20px;
  display: flex;
  gap: 35px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

.emi-transition-txt {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  color: #fff;
  margin-bottom: 0;
}

.emi-arrow-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}

.emi-arrow-indicator .arrow {
  color: #60616A;
}

.emi-arrow-indicator .destination {
  color: #00C853;
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  margin-bottom: 0;
}

.bottom-sheet-note {
  font-size: 11px;
  line-height: 13px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #777777;
  margin-bottom: 19px;
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--text-dark);
  border: none;
  border-radius: 8px;
  height: 50px;
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  font-family: 'roobert-medium', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-speed), transform 0.1s ease;
  box-shadow: 0px 0px 40px 0px #006111;
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

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

.btn-secondary:active {
  transform: scale(0.98);
}

/* Step 4 Specific: Loading/evaluating screen styling */
.loader-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding: 40px 0;
  margin-left: auto;
  margin-right: auto;
}

.circular-loader {
  width: 80px;
  height: 80px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 40px;
}

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

.loading-checklist {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.checklist-item.active {
  opacity: 1;
  color: var(--text-dark);
  font-weight: 500;
}

.checklist-item.completed {
  opacity: 1;
  color: var(--success-green);
}

.checklist-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
}

.checklist-item.completed .checklist-checkbox {
  background-color: var(--success-green);
  border-color: var(--success-green);
}

.checklist-checkbox svg {
  width: 10px;
  height: 8px;
  stroke: #FFFFFF;
  display: none;
}

.checklist-item.completed .checklist-checkbox svg {
  display: block;
}

/* Step 5 & 6 Specific: Lender Offers & Success screen */
.good-news-badge-container {
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

.good-news-badge {
  border: 1px solid #97EDA6;
  background-color: #E3FFEE;
  color: #006111;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 9px;
  line-height: 19px;
  font-weight: 500;
  font-family: '42dotsans-medium', sans-serif;
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 20px;
  gap: 4px;
}

.lender-offers-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.lender-card {
  box-shadow: 0px 0px 15px 0px #9E9E9E4D;
  border-radius: 15px;
  padding: 11px 20px 19px;
  transition: all var(--transition-speed);
  width: 333px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}

.lender-card.selected {
  background-color: #EFF4FF;
  box-shadow: 0px 0px 15px 0px #0080FF4D;
  border: 1px solid #0080FF;
}

.lender-logo-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.lender-logo {
  height: 28px;
  max-width: 160px;
  object-fit: contain;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.metric-cell {
  height: 54px;
  background-color: #F6F6F6;
  border-radius: 8px;
  padding: 5px 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.lender-card.selected .metric-cell {
  background-color: #FFFFFF;
}

.metric-lbl {
  font-size: 11px;
  line-height: 17px;
  font-weight: 400;
  font-family: 'roobert-regular', sans-serif;
  color: #60616A;
  margin-bottom: 4px;
}

.metric-val {
  font-size: 13px;
  line-height: 17px;
  font-weight: 650;
  font-family: 'roobert-semibold', sans-serif;
  color: #000;
  margin-bottom: 0;
}

.metric-val.green {
  color: var(--success-green);
}

.lender-disclaimer {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 15px;
}

/* Step 6 Specific: Success screen elements */
.success-circle-container {
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.success-outer-ring {
  width: 100px;
  height: 100px;
  background-color: #E6FFFA;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-inner-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.success-inner-ring svg {
  width: 32px;
  height: 32px;
  stroke: #FFFFFF;
}

.next-step-box {
  border: 1px solid #E6E6E6;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 16px;
  background-color: #FFFFFF;
  width: 333px;
  margin-left: auto;
  margin-right: auto;
}

.next-step-box.centered {
  text-align: center;
  font-size: 12px;
  line-height: 17px;
  font-weight: 400;
  font-family: '42dotsans-regular', sans-serif;
  color: #60616A;
}

.next-step-box .box-title {
  font-size: 14px;
  line-height: 16px;
  font-weight: 600;
  font-family: '42dotsans-semibold', sans-serif;
  color: #000;
  margin-bottom: 16px;
}

.documents-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.documents-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 24px;
  color: #000;
  font-weight: 400;
  font-family: '42dotsans-regular', sans-serif;
}

.check-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-dark);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}