/* ===== Layout Global ===== */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ===== Butoane Verde ===== */
.btn-green {
  background-color: #00b67a;
  color: white;
  border: none;
}

.btn-green:hover {
  background-color: #00a86b;
}

/* ===== Progress Bar clasic (dacă se folosește) ===== */
.progress {
  background-color: #e0e0e0;
}

.progress-bar {
  transition: width 0.4s ease;
  border-radius: 20px;
}

/* ===== Etichete formular ===== */
.form-label {
  font-weight: 700;
}

/* ===== Etape formular ===== */
.form-step {
  display: none;
  position: relative; /* adăugat pentru back icon */
}

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

/* ===== Buton Next ===== */
.btn-next {
  width: 220px;
  height: 50px;
  font-size: 1.8rem;
  border-radius: 12px;
  background-color: #00b67a;
  color: white;
  border: none;
  transition: background-color 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

button:disabled {
  background-color: #ddd; /* Gray background */
  border-color: #ccc;     /* Lighter border */
  color: #aaa;            /* Lighter text */
  cursor: not-allowed;    /* Makes cursor look like it's not clickable */
}

.btn-next:hover {
  background-color: #00a86b;
}

/* ===== Input Personalizat ===== */
.input-custom {
  width: 80%;
  max-width: 500px;
  height: 45px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000000;
  margin: 0 auto;
  display: block;
}

/* ===== Întrebări ===== */
.form-question {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* ===== Imagine Buton Back ===== */
.back-icon {
  width: 97px;
  height: 62px;
  position: absolute;
  top: -47px;
  left: -10px;
  cursor: pointer;
}

/* ===== Indicator Pași (Buline) ===== */
#step-indicator {
  max-width: 800px;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
}

.step-dot.active {
  background-color: #00b67a;
}

.step-dot.completed {
  background-color: #00b67a;
}

/* ===== Text progres opțional ===== */
.progress-text {
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  margin-bottom: 10px;
}
.section-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background-color 0.3s ease;
}

.section-dot.active {
  background-color: #00b67a;
}


.logo-img {
  max-height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}


.progress-container {
  max-width: 300px;           /* 🔸 controlează lățimea totală */
  margin: 0 auto 20px auto;   /* 🔸 centru + spațiu jos */
}

.progress {
  height: 6px;                /* 🔸 înălțime mai mică */
  background-color: #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  transition: width 0.4s ease;
  border-radius: 20px;
}

.form-question.with-spacing {
  margin-top: 80px;
}

.licence-btn.active {
  background-color: #00b67a;
  color: white;
  border-color: #00b67a;
}
.licence-btn {
  width: 300px;
  height: 55px;
  font-weight: 700;
  color: #000;
  background-color: white;
  border: 2px solid #ccc;
  transition: all 0.2s ease;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.licence-btn:hover {
  border-color: #00b67a;
  background-color: #f0fdf8;
}

.licence-btn.active {
  background-color: #00b67a;
  border-color: #00b67a;
}

.checkmark-icon {
  font-size: 1.2rem;
  color: #00b67a;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.licence-btn.active .checkmark-icon::after {
  content: '✓';
  opacity: 1;
}

.vehicle-btn.active {
  background-color: #00b67a;
  color: white;
  border-color: #00b67a;
}
.vehicle-btn {
  height: 55px;
  font-weight: 600; /* puțin mai gros */
  font-size: 1.1rem;
  color: #000;
  background-color: white;
  border: 2px solid #ccc;
  transition: all 0.2s ease;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

.vehicle-btn:hover {
  border-color: #00b67a;
  background-color: #f0fdf8;
}

.vehicle-btn.active {
  background-color: #00b67a;
  border-color: #00b67a;
}

.checkmark-icon {
  font-size: 1.2rem;
  color: #00b67a;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vehicle-btn.active .checkmark-icon::after {
  content: '✓';
  opacity: 1;
}

/* Stil general pentru dropdown-uri */
.form-select {
  border-radius: 8px;
  padding: 10px;
  font-size: 16px;
}

/* Label elegant deasupra dropdown-ului */
.form-label {
  font-weight: 500;
  margin-bottom: 5px;
}

/* Responsive fix: spațiu mai mic între ele pe mobil */
@media (max-width: 576px) {
  .form-select {
    font-size: 15px;
    padding: 8px;
  }
}


/* Dropdown container */
#addressDropdown {
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
  z-index: 1000;
  display: none; /* Initially hidden */
  box-sizing: border-box; /* Ensure padding/borders are inside the width */
  text-align: center; /* Center the text in each result */
  margin-top: 8px; /* Adds space between input and dropdown */
}

/* Individual result items */
#addressDropdown div {
  padding: 8px;
  cursor: pointer; 
  text-align: center; /* Center the text horizontally */
}

#addressDropdown div:hover {
  background-color: #f0f0f0;
}

#addressDropdown::-webkit-scrollbar {
  width: 12px; /* width of the scrollbar */
}

#addressDropdown::-webkit-scrollbar-track {
  background: #f0f0f0; /* background of the scrollbar track */
  border-radius: 8px;
}

#addressDropdown::-webkit-scrollbar-thumb {
  background-color: #888; /* color of the scrollbar thumb */
  border-radius: 8px;
  border: 3px solid #f0f0f0; /* optional: creates padding around thumb */
}

#addressDropdown::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* color on hover */
}

.simplebar-scrollbar::before {
  background-color: #888;
}

.simplebar-scrollbar:hover::before {
  background-color: #555;
}

.simplebar-track.simplebar-vertical {
  width: 12px;
}

.scroll-message {
  bottom: 10px;
text-align: center;
  color: green;
  padding: 5px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
  opacity: 0;
  animation: fadeInOut 1s infinite;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Dropdown container */
#addressDropdownForOwner {
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
  z-index: 1000;
  display: none; /* Initially hidden */
  box-sizing: border-box; /* Ensure padding/borders are inside the width */
  text-align: center; /* Center the text in each result */
  margin-top: 8px; /* Adds space between input and dropdown */
}

/* Individual result items */
#addressDropdownForOwner div {
  padding: 8px;
  cursor: pointer;
  text-align: center; /* Center the text horizontally */
}

#addressDropdownForOwner div:hover {
  background-color: #f0f0f0;
}

#addressDropdownForOwner::-webkit-scrollbar {
  width: 12px; /* width of the scrollbar */
}

#addressDropdownForOwner::-webkit-scrollbar-track {
  background: #f0f0f0; /* background of the scrollbar track */
  border-radius: 8px;
}

#addressDropdownForOwner::-webkit-scrollbar-thumb {
  background-color: #888; /* color of the scrollbar thumb */
  border-radius: 8px;
  border: 3px solid #f0f0f0; /* optional: creates padding around thumb */
}

#addressDropdownForOwner::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* color on hover */
}