body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f5f5f5;
}

.sidebar {
  min-height: 88vh;
  background-color: #fff;
  border-right: 1px solid #dee2e6;
  transition: transform 0.3s ease;
}

.sidebar a {
  text-decoration: none;
  display: block;
  padding: 0.75rem 1rem;
  color: #212529;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #d1e7dd;
  color: #0f5132;
  font-weight: bold;
}

.header {
  background-color: #fff;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  height: 12vh;
}

.btn-primary {
  background-color: #08793c;
  border-color: #08793c;
  color: white;
}

.btn-primary:hover {
  background-color: white;
  border-color: #066330;
  color: black;
}

.dashboard-highlight {
  border-left: 5px solid #08793c;
  background-color: #e6f5ec;
}

.toggle-sidebar-btn {
  /* display: none;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 1050; */
  background-color: #08793c;
  border: none;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
}

.step {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: 2px solid black;
  color: black;
  font-weight: bold;
  font-size: 18px;
  background-color: transparent;
}

.step.completed {
  background-color: #08793c;
  color: white;
  border: 2px solid #08793c;
}

.step-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.step-container .step {
  margin: 0 10px;
}

.step-content {
  display: none;
}

.step-content.active {
  display: block;
}

.step-circle {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #333;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #ccc;
}

.step-circle.active {
  background-color: #198754;
  /* Bootstrap's green */
  color: white;
  border-color: #198754;
}

@media (max-width: 991.98px) {
  .toggle-sidebar-btn {
    display: block;
  }


  .sidebar {
    min-height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    transform: translateX(-100%);
    z-index: 11111;
  }

  .sidebar.show {
    transform: translateX(0);
  }
}

 /* Step Progress Bar Styles */
 .step-progress {
  position: relative;
  padding: 24px 0;
  margin-bottom: 30px;
}

.step-progress-bar {
  width: 100%;
  height: 3px;
  background-color: #e9ecef;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.step-progress-bar-fill {
  height: 100%;
  background-color: #28a745;
  transition: width 0.3s ease;
  width: 0%;
}

.step-progress-circles {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.step-circle.active {
  border-color: #28a745;
  background-color: #28a745;
  color: #fff;
}

.step-circle.completed {
  border-color: #28a745;
  background-color: #28a745;
  color: #fff;
}

/* Step Form Styles */
.step-form {
  display: none;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.step-form.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

/* Enhanced Checkbox Styles */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-option {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background-color: #fff;
  border: 1px solid #bbb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0;
  user-select: none;
  min-width: 160px;
  position: relative;
}

@media screen and (max-width: 768px) {
  .checkbox-group {
      display: flex;
      flex-wrap: wrap;
      gap: 4px;
  }

  .checkbox-option {
      padding: 4px 8px;
      min-width: 40px;
  }
}

.checkbox-option:hover {
  background-color: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-option input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  display: none;
}

.checkbox-option.selected {
  background-color: #28a745;
  border-color: #28a745;
  color: #fff;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

/* Make the entire area clickable */
.checkbox-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
}

/* Form Control Enhancements */
.form-control:focus,
.form-select:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Button Enhancements */
.btn {
  padding: 8px 20px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}


.is-invalid {
  border-color: #dc3545 !important;
}

input.is-invalid, select.is-invalid, textarea.is-invalid {
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.checkbox-option.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}