.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
}

.form-container {
  width: 40%;
  background-color: #fff;
  border-radius: 10px;
  padding: 1.8rem 4rem;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
  font-size: 2.3rem;
  margin: 16px 0;
}

label {
  font-size: 0.9rem;
}
.form-control {
  border: none !important;
  border-bottom: 2px solid #b2b2b2 !important;
  border-radius: 0% !important;
}
.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #021658 !important;
}

.form-control-error {
  border-color: #ca0000 !important;
}

.otp-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.otp-input-group {
  display: flex;
  gap: 0.5rem;
}

.otp-box {
  width: 3rem;
  height: 3rem;
  font-size: 1.5rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.otp-box:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.error-message {
  font-size: 0.9rem;
  color: #ff0000;
}

.otp-timer {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

#resend {
  color: #007bff;
}
#resend:hover {
  text-decoration: underline;
  cursor: pointer;
}

.input-alert {
  font-size: 11px;
  color: #ca0000;
}

.login-btn {
  background-color: #146cda;
  width: 100%;
  display: flex;
  justify-content: center;
}

.link-text {
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}
.link-text a:hover {
  color: #051afc;
}

.google-auth-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.google-auth-button p {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.google-auth-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  font-size: 16px;
  gap: 18px;
  font-weight: 600;
  width: 100%;
  background-color: #d4d4d4;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.google-auth-button a:hover {
  background-color: #e2e0e0;
}

.google-auth-button a:focus {
  outline: none;
}

.google-auth-button a:active {
  background-color: #c0c0c0;
}

.demo-login {
  margin-top: 1.5rem;

  padding: 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background-color: #fafafa;

  display: flex;
  flex-direction: column;
  gap: 0.8rem;

  p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    text-align: center;
  }

  #demo-auth-btn {
    text-decoration: none;
    text-align: center;

    padding: 0.7rem 1rem;
    border-radius: 8px;

    background-color: #111827;
    color: white;

    font-weight: 500;

    transition: background-color 0.2s ease;
  }
}

#demo-auth-btn:hover {
  background-color: #1f2937;
}

/* loader  */
button .loader {
  width: 20px;
  height: 20px;
  display: none;
  vertical-align: middle;
  margin-left: 10px;
}

button.loading .loader {
  display: inline-block; /* Show loader when button has 'loading' class */
}
