/* Step indicators */
.flow-accordion-step {
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: 2px solid #dee2e6;
}

.step-position {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-name {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Card styles for activities */
.card--maintenance {
  display: block;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
  margin-bottom: 10px;
}

.card--maintenance:hover {
  background: #f8f9fa;
  border-color: #1e7e34;
}

.card--maintenance--checked {
  border-color: #1e7e34;
  background: #f0fff0;
}

/* Date picker legend */
.datepicker-legend {
  padding-left: 25px;
  position: relative;
  margin-bottom: 5px;
}

.datepicker-legend::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.datepicker-legend__available::before {
  background: #28a745;
}
.datepicker-legend__partially-available::before {
  background: #ffc107;
}
.datepicker-legend__unavailable::before {
  background: #dc3545;
}

/* Date picker days */
.react-datepicker__day {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  margin: 2px;
}

.react-datepicker__day--available {
  background: #28a745;
  color: #fff;
  cursor: pointer;
}

.react-datepicker__day--available:hover {
  background: #1e7e34;
}

.react-datepicker__day--disabled {
  color: #ccc;
  cursor: not-allowed;
}

.react-datepicker__day--selected {
  background: #007bff;
  color: #fff;
}

/* Time badges */
.garage-planner__badge {
  margin-right: 8px;
  margin-bottom: 8px;
  display: inline-block;
}

.garage-planner__badge input {
  display: none;
}

.garage-planner__badge label {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  transition: all 0.2s;
}

.garage-planner__badge label.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
    border-color: #ddd;
}

.garage-planner__badge p {
  margin: 0px;
}

.garage-planner__badge input:checked + label {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Form labels */
.form-label-group {
  position: relative;
  margin-bottom: 1rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
}

#garage-planner-remarks {
  min-height: 100px;
}
