body.page-template-elementor_canvas:has(#pamu-login-signup),
body.page-template-elementor_canvas:has(#pamu-reset-password) {
  background: linear-gradient(
    to right bottom,
    rgb(249, 250, 251),
    rgb(230, 239, 245)
  );
  height: 100vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pamu-form-container {
  width: 500px;
  margin: 0 auto;
  padding: 40px;
  border: none;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 8px
      rgba(var(--v-shadow-key-umbra-color), var(--v-shadow-md-opacity)),
    0 0 transparent, 0 0 transparent;
  color: #262626;
  /* margin: auto 15px; */
}

.pamu-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
  flex-direction: column;
}

.pamu-tabs li {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  font-family: Inter, sans-serif;
}

.pamu-tabs li h4,
#otp-verification-form h3,
#pamu-reset-password h3 {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.2;
  font-family: Inter, sans-serif;
  color: #262626;
}

#otp-verification-form h3,
#pamu-reset-password h3 {
  margin-bottom: 15px;
}

.pamu-tabs li a {
  text-decoration: none;
  transition: all 0.3s;
  margin: 0px 0px 0px 6px;
  font-weight: 400;
  font-size: 0.8125rem;
  font-family: Inter, sans-serif;
  line-height: 1.57;
  text-decoration: none;
  color: #f37237;
  cursor: pointer;
  transition: color 0.55s;
}

.pamu-tabs li a:hover {
  color: #858789;
}

.pamu-tabs li a.active,
.pamu-tabs li:has(a.active) {
  display: none;
}

.pamu-tab-content {
  display: none;
}

.pamu-tab-content.active {
  display: block;
}

.pamu-form-container label {
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.4375em;
  font-family: Inter, sans-serif;
  padding: 0px 0px 4.8px;
  display: block;
  transform-origin: left top 0px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(133% - 32px);
  left: 0px;
  top: 0px;
  transition: color 200ms cubic-bezier(0, 0, 0.2, 1),
    transform 200ms cubic-bezier(0, 0, 0.2, 1),
    max-width 200ms cubic-bezier(0, 0, 0.2, 1);
  z-index: 1;
  pointer-events: auto;
  user-select: none;
  position: relative;
  color: #262626;
  transform: translate(0px);
  text-align: left;
}

.pamu-form-container input[type="text"],
.pamu-form-container input[type="email"],
.pamu-form-container input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #f5f5f5;
  border-radius: 5px;
  box-sizing: border-box;

  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.4375em;
  font-family: Inter, sans-serif;
  color: #262626;
  box-sizing: border-box;
  cursor: text;
  display: inline-flex;
  -moz-box-align: center;
  align-items: center;
  width: 100%;
  position: relative;
  border-radius: 4px;
  filter: none;
}

.pamu-form-container input:focus {
  border-color: #f0f0f0 !important;
}

.pamu-form-container input:focus-visible {
  outline: none;
}

.pamu-form-container .password-container {
  position: relative;
}

.pamu-form-container .password-container input {
  padding-right: 50px;
}

.pamu-form-container .password-container .toggle-password {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #f37237;
  cursor: pointer;
  display: inline;
  width: auto;
  padding: 0;
  margin: 0;
  margin-top: -7px;
  height: 40px;
  width: 40px;
  font-size: 15px;
}

.pamu-form-container button {
  width: 100%;
  padding: 8px 24px;
  border: none;
  border-radius: 5px;
  background: #000;
  border: 1px solid #000;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 500;
  text-transform: capitalize;
  font-family: Inter, sans-serif;
  font-size: 1rem;
  /* line-height: 1.8; */
}

.pamu-form-container button:hover,
.pamu-form-container button:active,
.pamu-form-container button:focus {
  background: #fff;
  color: #262626;
}

.pamu-form-container .forgot-password-link,
#pamu-reset-password ._back-to-login {
  display: block;
  margin-bottom: 17px;
  text-align: center;
  text-decoration: none;
  color: #f37237;
  text-align: right;
}

#pamu-login-signup:has(#forgot-password-tab.pamu-tab-content.active)
  .pamu-tabs {
  display: none;
}

.pamu-form-container .back-to-login {
  display: block;
  margin-top: 10px;
  text-align: center;
  text-decoration: none;
  color: #f37237;
  text-align: center;
}

#resend-otp {
  /* margin-top: 10px; */
}

#pamu-login-signup:has(#otp-verification-form) .pamu-tabs {
  display: none;
}

.form-btn-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

@media (max-width: 767px) {
  .pamu-form-container {
    padding: 25px;
    width: 100% !important;
  }
}

/* input[name="user_type"] {
  opacity: 0;
  z-index: 3;
  position: absolute;
}

label:has(input[name="user_type"]) {
  border: 1px solid #f6f6f6;
  padding: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;

  span {
    text-wrap: wrap;
  }
}

.user-type div.user-type-check:has(input[checked]) {
  border: 2px solid rebeccapurple !important;
}

.user-type {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
} */

input[name="user_type"] {
  opacity: 0;
  z-index: 3;
  position: absolute;
}

label:has(input[name="user_type"]) {
  border: 1px solid #f6f6f6;
  padding: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  cursor: pointer;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border: 2px solid #0000 !important;
}

label:has(input[name="user_type"]:checked) {
  border: 2px solid #f37237 !important;
  background-color: #f3723701;
  transform: scale(1.02);
  transition: all 0.2s ease;
}

label span {
  text-wrap: wrap;
}

.user-type {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.user-type-check {
  flex: 1;
}
