html,
body {
  overflow-y: scroll;           /* allow vertical scrolling */
  touch-action: pan-y;          /* allow vertical scroll, but block zoom/pinch */
}

/* === PROGRESS BAR === */
.step {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
}

.line {
  height: 2px;
  flex-grow: 1;
  background-color: #e5e7eb;
  transition: background-color 0.3s ease;
}

.line-active {
  background-color: #16a34a;
}

/* === LOGO === */
.logo-container {
  text-align: center;
  margin-bottom: 10px;
}

.logo-img {
  width: 103px;
  height: auto;
  background: transparent;
  object-fit: contain;
  display: inline-block;
}

.logo-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #052943;
  text-align: center;
  margin-top: 0.75rem;
  letter-spacing: 0.3px;
}

.logo-subtext {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
  margin-top: 0.25rem;
}

/* === NUMBER PLATE === */
.number-plate {
  height: 2.3rem;  /* Înălțime totală a plăcuței */
  width: 9rem;     /* Lungime totală */
  font-size: 1rem; /* Mărimea textului de înmatriculare */
}

/* === BUTTON WRAPPER === */
.custom-button-wrapper {
  margin-top: 40px;
  /* sau 32px pentru mai mult spațiu */
}

/* === POPUP USER NOT FOUND === */
#userNotFound-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#userNotFound-box {
  background: #00ffcc;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 30px #00ffcc88;
  color: #003333;
  font-size: 24px;
  max-width: 80%;
}

#userNotFound-box button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 20px;
  background: #003333;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#userNotFound-box button:hover {
  background: #001f1f;
}

/* === POPUP BAD CODE === */
#badCode-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 255, 204, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#badCode-box {
  background: #00ffcc;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 30px #00ffcc88;
  color: #003333;
  font-size: 24px;
  max-width: 80%;
}

#badCode-box button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 20px;
  background: #003333;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#badCode-box button:hover {
  background: #001f1f;
}

/* === LOADING OVERLAY + SPINNER === */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* dark transparent background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: white;
  font-size: 24px;
}

#spinner {
  border: 10px solid #f3f3f3;   /* Light grey */
  border-top: 10px solid #00ffcc; /* Blue/green */
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
