.otp-login-wrapper,
.otp-login-wrapper * {
  font-family: 'Inter', sans-serif !important;
}

#otp-message .success { color: green; margin: 10px 0; }
#otp-message .error { color: red; margin: 10px 0; }
.custom-flag-dropdown {
  position: relative;
  width: 120px;
  cursor: pointer;
}

.custom-flag-dropdown .selected-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  border-radius: 5px;
}

.custom-flag-dropdown img {
  width: 20px;
  height: 14px;
  object-fit: cover;
}

.custom-flag-dropdown .options-container {
  position: absolute;
  width: max-content;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  z-index: 9999;
  border-radius: 5px;
  display: none;
}

.custom-flag-dropdown .options-container.show {
  display: block;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  cursor: pointer;
}

.country-option:hover {
  background-color: #f5f5f5;
}


/* --- Form Input Style --- */
#loginSection input[type="text"],
#loginSection input[type="email"],
#loginSection input[type="password"],
#loginSection input[type="number"],
#loginSection input[type="tel"],
#registerSection input[type="text"],
#registerSection input[type="email"],
#registerSection input[type="password"],
#registerSection input[type="number"],
#registerSection input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 3px;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.3s;
}

#loginSection input:focus,
#registerSection input:focus {
  border-color: #333;
  outline: none;
}

/* --- Buttons --- */
#loginSection .btn-primary,
#registerSection .btn-primary {
	font-family: "Barlow", Sans-serif;
  background-color: #111;
	color:#fff;
  border: none;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 12px;
  font-size: 1em;
	line-height: 1;
}

#loginSection .btn-primary:hover,
#registerSection .btn-primary:hover {
  background-color: #000;
}

/* --- OTP Button Success --- */
#loginSection .btn-success {
  background-color: #198754;
  font-weight: 600;
  letter-spacing: 0.6px;
  padding: 12px;
  text-transform: uppercase;
}

/* --- Checkbox alignment --- */
.form-check-label {
  margin-left: 4px;
  font-size: 14px;
}

/* --- Tab nav styling (optional, cleaner) --- */
.nav-tabs .nav-link {
  font-weight: 500;
  padding: 8px 16px;
  font-size: 14px;
}

.nav-tabs .nav-link.active {
  background-color: #eee;
  border-color: #ccc #ccc #fff;
}

/* --- Custom flag dropdown consistency --- */
.custom-flag-dropdown .selected-option {
  padding: 8px 10px;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 3px;
}

.custom-flag-dropdown .options-container {
  border-radius: 3px;
  border: 1px solid #ccc;
}

#email-tab{
color: #000000;
}

#otp-tab{
color: #000000;
}
#otp-tab:hover:not(.active),
#email-tab:hover:not(.active) {
  background-color: transparent;
  color: #000000;
}


.toggle-password {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 16px;
  color: #aaa;
  z-index: 10;
}

.toggle-password:hover {
  color: #333;
}

.btn-google {
  width: 100%;
  padding: 10px 16px;
  background-color: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* space between icon and text */
  transition: background-color 0.2s ease-in-out;
}

.btn-google:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}
.switcher-tabs {
  display: flex;
  justify-content: space-between;
  background-color: #efefef;
  border-radius: 50px;
  padding: 4px;
  width: max-content;
  margin: 0 auto;
  position: relative;
  border: none !important;
  overflow: hidden;
}

/* Dynamic animated background that fits exactly under the active button */
.switcher-indicator {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  background-color: #fff;
  border-radius: 50px;
  transition: all 0.3s ease;
  z-index: 1;
  width: 0; /* Set by JS dynamically */
   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Tab buttons */
.switcher-tabs .nav-link {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  border: none !important;
  background: transparent;
  color: #000000;
  font-weight: 500;
  padding: 10px 25px;
  border-radius: 50px !important;
  transition: color 0.3s ease;
  white-space: nowrap;
}

/* Active tab style */
.switcher-tabs .nav-link.active {
  color: #000000;
}

/* Optional: hover effect */
.switcher-tabs .nav-link:hover {
  color: #000000;
}

#otp-tab.active,
#email-tab.active {
  background-color: transparent;
  color: #000000;
 
}

#otp-boxes .otp-digit {
  width: 45px;
  height: 65px;
  font-size: 24px !important;
  border: 1px solid #ccc;
  border-radius: 8px;
}

#reg-otp-boxes .reg-otp-digit {
  width: 45px;
  height: 65px;
  font-size: 24px !important;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.password-validation-text{
  color: #b1b0ae;
  font-size: smaller;
}
