/*** Color palette ***/
/*** reset ***/
* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #708d3f #4c6c13;
  scrollbar-width: thin;
}
*::-webkit-scrollbar {
  width: 6px;
}
*::-webkit-scrollbar-thumb {
  background: #708d3f;
}
*::-webkit-scrollbar-track {
  background: #4c6c13;
}
*:focus {
  outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
pre,
li,
a {
  word-wrap: break-word;
}

/*** input ***/
input,
textarea,
button {
  background: none;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  outline: none !important;
}

textarea {
  resize: vertical;
}

/*** Change the white to any color ***/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1300px #f4f4f4 inset !important;
  box-shadow: 0 0 0 1300px #f4f4f4 inset !important;
  -webkit-filter: none;
          filter: none;
}

body {
  display: grid;
  place-items: center;
  background: url(../pics/bg.svg) no-repeat top left;
  background-size: cover;
  background-color: #708d3f;
}

input,
body,
label {
  color: #2d381a;
  font-size: 20px !important;
}

.clear {
  display: none;
}

/*** login form ***/
.login h1 a {
  all: unset;
  display: block;
  background: unset;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  color: #2d381a;
  background: hsla(0, 0%, 100%, 0.5) !important;
  backdrop-filter: blur(6px);
  padding: 1rem 2rem;
  border: 6px solid #f4f4f4;
  cursor: pointer;
  margin-bottom: 2rem;
}
.login a {
  color: #4c6c13;
  text-decoration-thickness: 1px;
}
.login a:hover {
  color: #708d3f;
  text-decoration-thickness: 4px;
  text-underline-offset: 2px;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}
.login a:focus {
  -webkit-text-decoration: dashed;
          text-decoration: dashed;
}
.login h1.admin-email__heading {
  color: #2d381a !important;
}
.login form {
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
  padding: 0;
  margin: 0;
}
.login label {
  margin-bottom: 10px;
  font-size: 18px;
}
.login form input.input {
  display: block;
  height: 60px;
  color: #2d381a !important;
  background: #f4f4f4;
  line-height: 1;
  padding: 10px 20px;
  border: 2px solid #2d381a;
  border-radius: 0;
  margin: 0 0 20px 0;
}
.login form input.input:focus {
  border-color: #708d3f;
}
.login form input.input.password-input {
  padding-right: 60px;
}
.login input[type=checkbox]:checked::before {
  margin: 0 12px 0 0 !important;
}
.login input[type=password] {
  font-size: 12px !important;
}
.login .forgetmenot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
}
.login .forgetmenot input[type=checkbox] {
  all: unset;
  margin: 0 !important;
}
.login .forgetmenot input[type=checkbox]:checked::before {
  margin: 0 !important;
}

/*** Boxs ***/
#login {
  width: min(88vw, 666px);
  padding: 0 !important;
}

.login-action-confirm_admin_email #login {
  width: unset;
  max-width: unset;
  margin-top: unset;
}

#loginform,
#lostpasswordform,
form.admin-email-confirm-form,
.login .message,
.login #login_error,
#itsec-update-password,
#resetpassform,
.language-switcher,
.wpml-login-ls {
  background: hsla(0, 0%, 100%, 0.5) !important;
  backdrop-filter: blur(6px);
  padding: 1rem 2rem;
  font-size: 16px;
  border: 6px solid #f4f4f4;
}

.language-switcher,
.wpml-login-ls {
  display: block;
  width: min(88vw, 666px);
  padding: 10px !important;
}
.language-switcher #language-switcher-locales,
.language-switcher #wpml-language-switcher-locales,
.wpml-login-ls #language-switcher-locales,
.wpml-login-ls #wpml-language-switcher-locales {
  width: 70%;
  max-width: unset;
  font-size: 17px;
  padding: 5px 20px;
}

.wpml-login-ls {
  margin-top: 30px;
}

#loginform,
#lostpasswordform {
  padding: 2rem;
}

.login .message,
.login #login_error {
  border-left-width: 20px;
}

.login #login_error {
  border-color: #d63638;
}

.forgetmenot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  font-size: var(--wp--preset--font-size---x-small);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.forgetmenot * {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.forgetmenot label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  font-size: var(--wp--preset--font-size--x-small);
  margin: 0;
}
.forgetmenot span {
  margin: 0 !important;
}
.forgetmenot input[type=checkbox],
.forgetmenot input[type=radio] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 46px;
  height: 46px;
  padding: 0;
  margin: 0;
  background: none !important;
  border: none;
}
.forgetmenot input[type=checkbox]::before,
.forgetmenot input[type=radio]::before {
  content: "\f00d" !important;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--fa-family-classic);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: #2d381a;
  opacity: 0.5;
  border: 2px solid #2d381a;
  border-radius: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.forgetmenot input[type=checkbox]:hover::before,
.forgetmenot input[type=radio]:hover::before {
  color: #2d381a;
  border-color: #2d381a;
  opacity: 1;
}
.forgetmenot input[type=checkbox]:checked::before,
.forgetmenot input[type=radio]:checked::before {
  content: "\f00c" !important;
  color: #f4f4f4;
  background-color: #2d381a;
  border-color: #2d381a;
  opacity: 1;
}
.forgetmenot input[type=checkbox]:checked:hover::before,
.forgetmenot input[type=radio]:checked:hover::before {
  color: #2d381a;
  background: none;
}

/*** buttons ***/
.admin-email__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.admin-email__actions div {
  padding-top: 1.5em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1rem;
  padding: 0 !important;
}

#lostpasswordform input#wp-submit {
  width: 100%;
}

.wp-core-ui .button.button-large,
.wp-core-ui .button,
.wp-core-ui .button-primary,
.wp-core-ui .button-secondary,
#nav a,
#backtoblog a,
.privacy-policy-page-link a,
.admin-email__actions-secondary a {
  display: inline-block;
  --c: #708d3f;
  --ch: #2d381a;
  --cb: var(--c);
  --p: 100%;
  --s: calc(50% + 1.8em);
  color: #f4f4f4 !important;
  font-size: clamp(0.8rem, 0.8rem + (1vw - 0.48rem) * 0.385, 1rem);
  font-weight: 600 !important;
  line-height: 2.5rem;
  text-decoration: none;
  text-align: center;
  background-color: #f4f4f4;
  background: conic-gradient(from -135deg at 100% 50%, var(--c) 90deg, rgba(0, 0, 0, 0) 0) 0 var(--p, 0%)/var(--s, 0%) 200% no-repeat, conic-gradient(from -135deg at 3rem 50%, rgba(0, 0, 0, 0) 90deg, var(--c) 0) 100% var(--p, 0%)/var(--s, 0%) 200% no-repeat;
  -webkit-transition: 0.4s, background-position 0s, color 0s;
  transition: 0.4s, background-position 0s, color 0s;
  padding: 0 1.5rem;
  border: 3px solid var(--cb);
  border-radius: 0;
  cursor: pointer;
}
.wp-core-ui .button.button-large:hover,
.wp-core-ui .button:hover,
.wp-core-ui .button-primary:hover,
.wp-core-ui .button-secondary:hover,
#nav a:hover,
#backtoblog a:hover,
.privacy-policy-page-link a:hover,
.admin-email__actions-secondary a:hover {
  --p: 0;
  --s: 0;
  color: var(--ch) !important;
}

#nav,
#backtoblog,
.privacy-policy-page-link {
  background: hsla(0, 0%, 100%, 0.5);
  backdrop-filter: blur(10px);
  padding: 0 !important;
  margin-top: 24px;
}
#nav a,
#backtoblog a,
.privacy-policy-page-link a {
  --c: #4c6c13;
  --cb: #f4f4f4;
  color: #f4f4f4 !important;
  display: block;
}

.privacy-policy-page-link {
  margin: 0 !important;
}

/*** Update password ***/
#itsec-update-password {
  padding: 2rem;
}
#itsec-update-password .description.indicator-hint {
  font-size: 15px;
}
#itsec-update-password #wp-submit {
  width: 100%;
  margin-top: 20px;
}

#pass-strength-result {
  margin: 0 0 20px;
  border: none !important;
  padding: 10px 2rem;
  color: #2d381a;
  font-weight: 400 !important;
}
#pass-strength-result.strong {
  background-color: hsl(108, 70%, 58%);
}
#pass-strength-result.short, #pass-strength-result.bad {
  background-color: hsl(0, 70%, 58%);
  color: #f4f4f4;
}
#pass-strength-result.good {
  background-color: hsl(48, 70%, 58%);
}
#pass-strength-result, #pass-strength-result.empty {
  display: block;
  opacity: 1;
  background: hsl(0, 0%, 58%);
}
#pass-strength-result.empty::before {
  content: "Inserisci una password";
  color: #f4f4f4;
}

#pass1 {
  font-size: 1rem;
}
#pass1.strong {
  border-color: hsl(94, 66%, 60%);
}
#pass1.short, #pass1.bad {
  border-color: hsl(0, 60%, 60%);
}
#pass1.good {
  border-color: hsl(47, 89%, 60%);
}

/*** button eye pass ***/
.login .button.wp-hide-pw {
  width: 50px;
  height: 60px;
  border: none !important;
  display: grid;
  place-items: center;
  padding: 0 1rem 0 0;
  line-height: 0;
}
.login .button.wp-hide-pw:hover {
  border: none !important;
}
.login .button.wp-hide-pw:focus {
  outline: none !important;
  -webkit-box-shadow: none !important;
          box-shadow: none !important;
}
.login .button.wp-hide-pw .dashicons {
  position: static;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.login .button.wp-hide-pw .dashicons.dashicons-visibility, .login .button.wp-hide-pw .dashicons.dashicons-hidden {
  display: grid;
  place-items: center;
}
.login .button.wp-hide-pw .dashicons.dashicons-visibility::before, .login .button.wp-hide-pw .dashicons.dashicons-hidden::before {
  display: block;
  grid-column: 1;
  grid-row: 1;
  font-family: "Font Awesome 6 Sharp";
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
}
.login .button.wp-hide-pw .dashicons.dashicons-hidden::before {
  content: "\f070";
  color: #4c6c13;
}
.login .button.wp-hide-pw .dashicons.dashicons-visibility::before {
  content: "\f06e";
  color: #4c6c13;
}