.button-check {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0;
  border-radius: 8px;
  background-color: #ddd;
  transition: background-color 0.3s ease;
  user-select: none;
  position: relative;
  font-family: var(--ts-font-family);
  font-weight: var(--ts-font-weight);
  font-style: var(--ts-font-style);
  line-height: var(--ts-line-height);
  letter-spacing: var(--ts-letter-spacing);
  font-size: var(--ts-body-font-size);
  color: var(--ts-text-color);
}
.button-check input {
  display: none;
}
.button-check input:checked + span {
  background-color: var(--ts-input-check);
  color: white;
}
.button-check span {
  padding: 10px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: 500;
}

.form input[type=file] {
  border: 1px solid #eee;
  padding: 12px;
  margin-top: 1em;
  border-radius: var(--ts-border-radius);
}
.form input, .form select, .form textarea {
  transition: all 0.3s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--ts-input-check);
}
.form h4 {
  margin-top: 1em;
}
.form h4 hr {
  margin: 14px 0 32px;
}

.password-container {
  position: relative;
  width: 100%;
}

.password-container input {
  width: 100% !important;
  padding-right: 35px !important;
  box-sizing: border-box;
  display: block;
}

.password-container .toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 25px;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.password-container .toggle-password.icon-eye-close {
  background-image: url("../images/eye-close.svg");
}

.password-container .toggle-password.icon-eye-open {
  background-image: url("../images/eye-open.svg");
}

input.required::placeholder {
  background: -webkit-linear-gradient(left, #A5A5A4 calc(100% - 8px), #A5A5A5 0%, var(--ts-primary-color) 0, var(--ts-primary-color) 0);
  padding-right: 0;
  width: max-content;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.button.loading {
  pointer-events: none;
  opacity: 0.5;
  color: transparent;
  background-image: url(../images/loading.gif);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 5%;
}

/****************Login form*****************/
#ts-login-form .forget-password,
.create-account-wrapper a {
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  position: relative;
  line-height: 1.3;
  text-decoration: none;
}

#ts-login-form p {
  margin: 0;
}

#ts-login-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

#ts-login-form > *:not(.login-forget-password):not(.login-remember) {
  width: 100%;
}

#ts-login-form .login-forget-password {
  order: 1;
  margin-left: auto; /* rtl */
}

#ts-login-form .login-submit {
  order: 2;
}

.dropdown-container .create-account-wrapper,
#ts-login-form .forget-password,
#ts-login-form .login-remember label {
  font-size: 13px;
  color: var(--ts-gray-color);
}

#ts-login-form .login-remember label {
  padding: 0;
  display: flex;
  align-items: center;
}

#ts-login-form .login-as {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
#ts-login-form .login-as .btns {
  margin-bottom: 0;
  padding-bottom: 2px;
}
#ts-login-form input {
  accent-color: var(--ts-primary-color);
}
#ts-login-form .ts-store-notice {
  padding: 0 0;
  margin-top: 1em;
}
#ts-login-form .login-submit .button {
  width: 100%;
  transition-property: background-color;
}

.input-btn {
  position: relative;
  background-color: #eee;
  padding: 5px 8px;
  margin-left: 6px;
  border: 1px solid var(--ts-primary-color);
  border-radius: 5px;
}
.input-btn input {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}
.input-btn:has(input:checked) {
  background-color: var(--ts-primary-color);
  color: #fff;
}

.ts-store-notice {
  border-radius: 5px;
}
.ts-store-notice.notice-error {
  background-color: var(--danger);
  color: #fff;
}

form.validate .error_message {
  color: var(--danger);
  font-size: 12px;
  margin-top: -6px;
}
form.validate .success_message {
  color: green;
  margin-top: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
form.validate textarea {
  margin-bottom: 10px;
}

/*# sourceMappingURL=forms.css.map */
