@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
  /* background: #eff5f1; */
  font-family: "Poppins", sans-serif;
}

/* Primary color (#586548) for main elements */
.btn-primary {
  background-color: #586548;
  border-color: #586548;
}

.btn-primary:hover {
  background-color: #47543a;
}

/* Secondary color (#2c3e2f) for secondary elements */
.btn-secondary {
  background-color: #2c3e2f;
  border-color: #2c3e2f;
  color: white;
}

.btn-secondary:hover {
  background-color: #1e2b20;
}

/* Progress bar with primary color */
.progress-bar {
  background-color: #586548;
}

/* Active steps styling */
.active-step .step-icon,
.active-step .step-label {
  color: #fff;
  /* font-weight: bold; */
}

/* Form focus states */
.form-control:focus,
.form-select:focus {
  border-color: #586548;
  box-shadow: 0 0 0 0.15rem rgba(88, 101, 72, 0.25);
}

/* Checkbox styling */
.form-check-input:checked {
  background-color: #586548;
  border-color: #586548;
}

/* Header styling */
.card h2 {
  color: #2c3e2f;
}

.step h5 {
  color: #2c3e2f;
}

.card {
  border: none;
  border-radius: 16px;
}

.card h2 {
  font-weight: 700;
  font-size: 1.8rem;
  color: #183153;
}

.step h5 {
  font-weight: 600;
  color: #32547a;
}

.form-control,
.form-select {
  border-radius: 12px;
  border-color: #dee2e6;
  box-shadow: none;
  padding: 13px;
}

.form-control:focus,
.form-select:focus {
  border-color: #4d8aff;
  box-shadow: 0 0 0 0.15rem rgba(77, 138, 255, 0.25);
}

.btn {
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  border-radius: 10px;
}

.btn-primary {
  background-color: #4d8aff;
  border-color: #4d8aff;
}

.btn-primary:hover {
  background-color: #3874db;
}

.btn-success {
  background-color: #2ecc71;
  border-color: #2ecc71;
}

.btn-success:hover {
  background-color: #27ae60;
}

.btn-secondary {
  background-color: #ced4da;
  border-color: #ced4da;
  color: #495057;
}

.btn-secondary:hover {
  background-color: #adb5bd;
}

.form-check-input:checked {
  background-color: #4d8aff;
  border-color: #4d8aff;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.form-label {
  font-weight: 600;
  margin-top: 20px;
  padding: 0;
  font-size: 20px;
}

.form-check-label {
  font-weight: 400;
  color: #34495e;
}

.step {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header Styles */
/* .assessment-header {
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
} */

.header-top {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.step-item {
  padding: 1rem;
  background-color: #efefef;
  position: relative;
  border-radius: 10px;
}

.step-item:not(:last-child):after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 30px;
  background-color: #ddd;
}

.step-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.step-label {
  font-size: 0.8rem;
  color: #666;
}

.progress {
  height: 1rem;
  background-color: #f0f0f0;
  border-radius: 30px;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  background-color: #586548;
}

/* Validation styles */
.is-invalid {
  border-color: #dc3545 !important;
}

.invalid-feedback {
  display: block;
  font-size: 0.875em;
}

/* Step indicator improvements */
.step-item {
  transition: all 0.3s ease;
}

.step-item.active-step,
.step-label.active-step {
  /* transform: scale(1.05); */
  background-color: #586548;
  color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .step-icon {
    font-size: 1.2rem;
  }

  .step-label {
    font-size: 0.7rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

header {
  background-color: #586548;
  height: 140px;
}

.next {
  background-color: #586548;
  color: #fff;
}

.row {
  width: 100%;
}

#form-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#form-loader-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
}
.pointer-events-none {
  pointer-events: none;
}
.opacity-50 {
  opacity: 0.5;
}
