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

body {
  font-family: "Arial", sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

p:not(.subtitle) {
  margin-bottom: 0 !important;
}

.title {
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  text-align: center;
  margin: 30px 0;
}

.subtitle {
  font-weight: 400;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  color: #494949;
  margin: 20px 0 40px 0;
}

.form-wizard {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.form-progress-wrapper {
  display: none;
}

.form-progress {
  position: relative;
  height: 4px;
  background-color: #e9ecef;
  border-radius: 4px;
  margin: 0 auto 60px;
}

.form-progress-bar {
  position: absolute;
  height: 100%;
  background-color: #0d6efd;
  width: 25%;
  transition: width 0.3s ease;
  border-radius: 4px;
}

.form-progress-steps {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  top: -14px;
}

.form-progress-step {
  width: 32px;
  height: 32px;
  background-color: white;
  border: 2px solid #e9ecef;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
}

.form-progress-step.active {
  border-color: #0d6efd;
  color: #0d6efd;
}

.form-progress-step.completed {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

.form-step {
  display: none;
}
textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 5px;
}
.form-step.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.choice-card {
  border: 2px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 100%;
}

.choice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #0d6efd;
}

.choice-card.selected {
  border-color: #0d6efd;
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.15);
  pointer-events: none;
}

.choice-image {
  overflow: hidden;
}

.choice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.choice-card:hover .choice-image img {
  transform: scale(1.05);
}

.choice-text {
  padding: 1.5rem;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  padding: 10px 24px;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  border-color: #0b5ed7;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
  padding: 10px 24px;
  font-weight: 500;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-outline-secondary:hover:not(:disabled) {
  background-color: #6c757d;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.floor-selection {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  border: 1px solid #dee2e6;
}

.form-section-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #212529;
}

.range-slider {
  width: 100%;
}

.range-value {
  font-size: 18px;
  font-weight: 500;
  color: #6c757d;
}

.form-range {
  height: 6px;
}

.form-range::-webkit-slider-runnable-track {
  background: linear-gradient(
    to right,
    #0d6efd 0%,
    #0d6efd var(--value, 50%),
    #e9ecef var(--value, 50%),
    #e9ecef 100%
  );
  border-radius: 10px;
  height: 6px;
}

.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #0d6efd;
  cursor: pointer;
  margin-top: -6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.form-range::-moz-range-track {
  background: #e9ecef;
  border-radius: 10px;
  height: 6px;
}

.form-range::-moz-range-progress {
  background: #0d6efd;
  border-radius: 10px;
  height: 6px;
}

.form-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #0d6efd;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .title {
    font-size: 32px;
  }

  .subtitle {
    font-size: 18px;
  }

  .form-wizard {
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: auto;
  }

  .choice-image {
    height: 180px;
  }

  .choice-text {
    padding: 1rem;
    font-size: 16px;
  }

  .price-info-box {
    margin-bottom: 40px;
  }
}

.price-info-box {
  background-color: #0b5ed7;
  color: white;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  margin-top: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.price-info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.price-info-title {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 15px;
}

.price-range {
  font-size: 28px;
  font-weight: 600;
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 1px;
}

.price-range .separator {
  margin: 0 10px;
  font-size: 24px;
  opacity: 0.8;
}

.price-info-note {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 15px;
  font-style: italic;
}

.nav-tabs {
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
}

.nav-tabs .nav-link {
  margin-bottom: -1px;
  border: 1px solid transparent;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
  position: relative;
  background-color: transparent;
}

.nav-tabs .nav-link:hover {
  color: #0d6efd;
  border-color: #e9ecef #e9ecef #dee2e6;
}

.nav-tabs .nav-link.active {
  color: #0d6efd;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
  font-weight: 600;
}

.nav-tabs .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0d6efd;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.tab-content {
  padding: 25px 0;
}

.tab-content .tab-pane {
  animation: fadeIn 0.5s ease;
}

.personal-info-form {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-question {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 25px;
  color: #333;
  text-align: center;
}

.form-selection-btn {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.form-selection-btn:hover {
  background-color: #e9ecef;
}

.form-selection-btn.selected {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #495057;
}

.form-control {
  padding: 12px;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  outline: none;
}

@media (max-width: 576px) {
  .nav-tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .nav-tabs .nav-link {
    margin-bottom: 10px;
    border-radius: 8px;
    text-align: center;
  }

  .nav-tabs .nav-link.active {
    border-color: #0d6efd;
  }

  .nav-tabs .nav-link.active::after {
    display: none;
  }

  .form-question {
    margin-bottom: 30px !important;
  }
}
