:root {
  --primary-color: #5b1425;
  --primary-glass-color: #5b142542;
  --primary-dark-color: #3f0d19;
  --accent-color: #d4af37;
  --primary-light-color: #ffebeb;
}

body {
  /* font-family: 'Inter', sans-serif; */
  background-color: #f4f6f8;
}

/* Custom Colors & Utilities */
.bg-primary-custom {
  background-color: var(--primary-color) !important;
}
.bg-primary-dark {
  background-color: var(--primary-dark-color) !important;
}
.text-primary-custom {
  color: var(--primary-color) !important;
}
.text-accent {
  color: var(--accent-color) !important;
}
.text-primary-light {
  color: var(--primary-light-color) !important;
}
.bg-accent {
  background-color: var(--accent-color) !important;
  color: #000 !important;
}
.bg-light {
  background-color: #ffebeb !important;
}
.themeFont {
  font-family: "Montserrat";
}
/* Custom Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
}
.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background-color: var(--primary-dark-color);
  color: #fff;
}
.btn-outline-primary-custom {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-outline-primary-custom:hover {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.form-control:invalid ~ .btn-outline-primary-custom {
  color: red;
  border-color: red;
}

.form-control:invalid ~ .custom-label {
  color: red;
}
.btn-check:checked ~ .btn-outline-primary-custom {
  background-color: var(--primary-color) !important;
  color: #fff !important;
}

.form-check-label {
  cursor: pointer;
}

.form-check-input ~ .chk-value {
  display: none;
}
.form-check-input:checked ~ .chk-value {
  display: inline-block;
}

#disabilityYes ~ #disabilityTypesContainer {
  display: none;
}
#disabilityYes:checked ~ #disabilityTypesContainer {
  display: block;
}

/* Hero Styling */
.hero-section {
  background:
    linear-gradient(rgba(91, 20, 37, 0.85), rgba(63, 13, 25, 0.85)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

/* Card Custom Accent Border */
.border-top-primary {
  border-top: 4px solid var(--primary-color) !important;
}
.border-left-primary {
  border-left: 4px solid var(--primary-color) !important;
}
/* Stepper Navigation Visuals */
.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
}
.stepper-wrapper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #e0e0e0;
  z-index: 1;
}
.stepper-progress-bar {
  position: absolute;
  top: 20px;
  left: 0;
  height: 3px;
  background-color: var(--primary-color);
  z-index: 1;
  transition: width 0.3s ease;
  width: 0%;
}
.step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}
.step-counter {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #6c757d;
  transition: all 0.3s ease;
}
.step-item.active .step-counter {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(91, 20, 37, 0.2);
}
.step-item.completed .step-counter {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
}
.step-name {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
  color: #6c757d;
  text-align: center;
}
.step-item.active .step-name {
  color: var(--primary-color);
  font-weight: 700;
}

/* Form Wizard Sections */
.wizard-step {
  display: none;
}
.wizard-step.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Interactive Radio Cards */
.option-card-input {
  display: none;
}
.option-card {
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #fff;
  height: 100%;
}
.option-card:hover {
  border-color: #b08d96;
  background-color: var(--accent-color);
  transform: translateY(-2px);
}
.option-card-input:checked + .option-card {
  border-color: var(--primary-color);
  background-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(91, 20, 37, 0.08);
}

/* Side Info Callout Tooltips */
.hint-box {
  background-color: #f8f1f3;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 8px 8px 0;
} /* Minimalist Input Adjustments */

.minimal-input {
  border: none;
  border-bottom: 2px solid #e0e0e0;
  border-radius: 0;
  background-color: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease-in-out;
}

/* Move label to align with borderless text */
.minimal-input ~ label {
  padding-left: 10px;
}

/* Smooth active border animation */
.minimal-input:focus {
  border-bottom-color: #000000;
  background-color: transparent;
}

.minimal-input:focus ~ label {
  font-size: 14px;
  padding: 2%;
  font-weight: bold;
}
input:not(:placeholder-shown) ~ label {
  font-size: 14px;
  padding: 2%;
  font-weight: bold;
}
/* Removes border on medium screens (>= 768px) */
@media (max-width: 768px) {
  .btn-primary-custom {
    border: 1px solid var(--accent-color) !important;
  }
}
