.logo-container {
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1rem;
  min-width: 1rem;
}

.step-7 .logo-container {
  display: none !important;
    width: auto;
}

/* Logo image styling */
.logo-image {
  max-height: var(--logo-size, 4rem);
  max-width: 170px;
  object-fit: contain;
  min-height: 1rem;
}

@media (max-width: 767px) {
  .logo-image {
    max-width: 120px;
  }
}

/* Logo text styling - uses CSS variables from landing data */
.logo-text {
  color: var(--landing-primary-color, #ffffff);
  font-size: var(--logo-size, 0.7rem);
  font-weight: 600;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 1rem;
  display: block;
}

/* Legacy logo class for backward compatibility */
.logo {
  color: white;
  font-size: var(--logo-size, 0.7rem);
  max-width: var(--logo-size, 4rem);
}

.loan-info {
  display: flex;
  flex-direction: row;
  font-size: 0.85rem;
  line-height: 1.2;
}

.loan-info-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.loan-info strong {
  color: var(--lead-form-color-primary, #dc3545);
}

.edit-icon {
  display: flex;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 10px;
}

.progress {
  height: 4px !important;
  background-color: #f8d7da;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 15px;
}

.progress-bar {
  background-color: var(--primary-color, #dc3545) !important;
  transition: width 0.3s ease;
}

.step-title {
  display: flex;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .logo-container {
    width: 140px;
    height: 48px;
  }

  .step-7 .logo-container {
    display: flex !important;
    width: auto;
  }

  .logo-image {
    max-width: 160px;
    max-height: var(--logo-size, 4rem);
    width: auto;
    height: auto;
  }
  .loan-info {
    font-size: 1.15rem;
  }
  .edit-icon {
    font-size: 1.5rem;
    margin-left: 18px;
  }
  .progress {
    height: 14px !important;
    border-radius: 8px;
    margin-top: 24px;
  }
  .step-title {
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
}

@media (min-width: 1200px) {
  .logo-container {
    width: 140px;
    height: 48px;
  }
  .logo {
    font-size: var(--logo-size, 1.5rem);
  }
  .step-title {
    font-size: 1.2rem;
  }
}
