body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form {
    display: flex;
    flex-direction: column;
    width: 300px;
}

.form input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form .input-password {
  width: 258px;
}

/* Password Container 👁️ */
.password-container {
  position: relative;
}
.password-container input {
  width: calc(100% - 30px);
  padding-right: 30px;
}
.toggle-password {
  position: absolute;
  right: 18px;
  top: 40%;
  transform: translateY(-50%);
  cursor: pointer;
}
/* Don't have an account? login and register here */
#login-form .p, #register-form .p{
  align-self: center;
  background-color: #fff;
  background-image: none;
  background-position: 0 90%;
  background-repeat: repeat no-repeat;
  background-size: 4px 3px;
  border-radius: 15px 225px 255px 15px 15px 255px 225px 15px;
  border-style: solid;
  border-width: 2px;
  box-shadow: rgba(0, 0, 0, .2) 15px 28px 25px -18px;
  box-sizing: border-box;
  color: #41403e;
  cursor: pointer;
  display: inline-block;
  font-family: Neucha, sans-serif;
  font-size: 1rem;
  line-height: 3px;
  outline: none;
  padding: .65rem;
  text-decoration: none;
  transition: all 235ms ease-in-out;
  border-bottom-left-radius: 15px 255px;
  border-bottom-right-radius: 225px 15px;
  border-top-left-radius: 255px 15px;
  border-top-right-radius: 15px 225px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#login-form .p:hover, #register-form .p:hover{
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 8px -5px;
  transform: translate3d(0, 2px, 0);
}

#login-form .p:focus, #register-form .p:focus{
  box-shadow: rgba(0, 0, 0, .3) 2px 8px 4px -6px;
}

/* Center Verifying Message */
#verifying-message,
#otp-message {
  text-align: center;
  margin-top: 10px;
}

/* Login Button Styling */ /* Login Button Styling */ /* Login Button Styling */
.button-login {
  align-items: center;
  appearance: none;
  background-clip: padding-box;
  background-color: initial;
  background-image: none;
  border-style: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  flex-direction: row;
  flex-shrink: 0;
  font-family: Eina01, sans-serif;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  line-height: 24px;
  margin: 0;
  min-height: 64px;
  outline: none;
  overflow: visible;
  padding: 19px 26px;
  pointer-events: auto;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  width: auto;
  word-break: keep-all;
  z-index: 0;
}

@media (min-width: 768px) {
  .button-login {
    padding: 19px 32px;
  }
}

.button-login:before,
.button-login:after {
  border-radius: 80px;
}

.button-login:before {
  background-image: linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
  content: "";
  display: block;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -2;
}

.button-login:after {
  background-color: initial;
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  content: "";
  display: block;
  left: 4px;
  overflow: hidden;
  position: absolute;
  right: 4px;
  top: 4px;
  transition: all 100ms ease-out;
  z-index: -1;
}

.button-login:hover:not(:disabled):before {
  background: linear-gradient(92.83deg, rgb(255, 116, 38) 0%, rgb(249, 58, 19) 100%);
}

.button-login:hover:not(:disabled):after {
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  transition-timing-function: ease-in;
  opacity: 0;
}

.button-login:active:not(:disabled) {
  color: #ccc;
}

.button-login:active:not(:disabled):before {
  background-image: linear-gradient(0deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .2)), linear-gradient(92.83deg, #ff7426 0, #f93a13 100%);
}

.button-login:active:not(:disabled):after {
  background-image: linear-gradient(#541a0f 0, #0c0d0d 100%);
  bottom: 4px;
  left: 4px;
  right: 4px;
  top: 4px;
}

.button-login:disabled {
  cursor: default;
  opacity: .24;
}

/* Send OTP Button */ /* Send OTP Button */ /* Send OTP Button */
.send-otp-button {
    display: flex;
    align-items: center;
    font-family: inherit;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 12px;
    padding: 0.7em 1.4em 0.7em 1.1em;
    color: white;
    background: #ad5389;
    background: linear-gradient(0deg, rgba(20,167,62,1) 0%, rgba(102,247,113,1) 100%);
    border: none;
    box-shadow: 0 0.7em 1.5em -0.5em #14a73e98;
    letter-spacing: 0.05em;
    border-radius: 20em;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.send-otp-button:hover {
    box-shadow: 0 0.5em 1.5em -0.5em #14a73e98;
}

.send-otp-button:active {
    box-shadow: 0 0.3em 1em -0.5em #14a73e98;
}

/* Error Pop-up Styles */
#error-popup,
#phone-error-popup,
#blank-field-popup,
#otp-confirmation-popup,
#otp-verified-popup,
#password-strength-popup,
#invalid-otp-popup,
#password-mismatch-popup,
#username-exists-popup,
#registration-success-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  animation: fadeInUp 0.3s ease-in-out, fadeOutDown 0.3s 2.7s ease-in-out;
}

.error-img {
  width: 200px;
  height: auto;
  border-radius: 10px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(0);
  }
  to {
    opacity: 10;
    transform: translateY(10);
  }
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0px);
  }
}

.hidden {
  display: none;
}