/*** Color palette ***/
/*** reset ***/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scrollbar-color: #6f9b4b #5d6752;
  scrollbar-width: thin;
  color: #333d29;
  font-size: 16px !important;
}
*::-webkit-scrollbar {
  width: 6px;
}
*::-webkit-scrollbar-thumb {
  background: #6f9b4b;
}
*::-webkit-scrollbar-track {
  background: #5d6752;
}
*:focus {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border: none;
  pointer-events: none;
}
img.fluid {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

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

/*** input ***/
input,
textarea,
button {
  background: none;
  border: 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 {
  box-shadow: 0 0 0 1300px #f4f4f4 inset !important;
  filter: none;
}

body {
  background: url(../images/bg.svg) no-repeat center right fixed;
  background-size: cover;
  display: grid;
  justify-content: flex-end;
}

.clear {
  display: none;
}

/*** login form ***/
.login a {
  color: #5d6752;
  text-decoration-thickness: 1px;
}
.login a:hover {
  color: #6f9b4b;
  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 a {
  background-image: url(../picture/logo.svg);
  background-size: contain;
  width: 100%;
  height: 160px;
  color: #f4f4f4 !important;
}
.login h1.admin-email__heading {
  color: #333d29 !important;
}
.login form {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
}
.login label {
  margin-bottom: 10px;
  font-size: 18px;
}
.login form input.input {
  display: block;
  height: 60px;
  color: #333d29 !important;
  background: #f4f4f4;
  line-height: 1;
  padding: 10px 20px;
  border: 2px solid #333d29;
  border-radius: 0;
  margin: 0 0 20px 0;
}
.login form input.input:focus {
  border-color: #6f9b4b;
}
.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: 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 {
  min-height: 100svh;
  width: 505px;
  min-width: 100%;
  background: hsla(0, 30%, 94%, 0.7) !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  font-size: 16px;
  border-left: 6px solid #f4f4f4;
}

.interim-login #login {
  padding: 3rem 2rem;
}

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

#loginform,
#lostpasswordform,
form.admin-email-confirm-form,
#itsec-update-password,
form {
  border: none !important;
  padding: 0 !important;
}

.login .message,
.login #login_error {
  background-color: #f4f4f4;
  border: 2px solid #6f9b4b;
}

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

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

.login #login_error {
  border-color: hsl(0, 70%, 58%);
}

.forgetmenot {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--wp--preset--font-size---x-small);
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.forgetmenot * {
  box-sizing: border-box;
}
.forgetmenot label {
  display: flex;
  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";
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--fa-style-family-classic);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: #5d6752;
  border: 2px solid #5d6752;
  border-radius: 0;
  transition: all 0.3s ease;
}
.forgetmenot input[type=checkbox]:hover::before,
.forgetmenot input[type=radio]:hover::before {
  color: #5d6752;
  border-color: #5d6752;
}
.forgetmenot input[type=checkbox]:checked::before,
.forgetmenot input[type=radio]:checked::before {
  content: "\f00c";
  color: #f4f4f4;
  background-color: #5d6752;
  border-color: #5d6752;
}
.forgetmenot input[type=checkbox]:checked:hover::before,
.forgetmenot input[type=radio]:checked:hover::before {
  color: #5d6752;
  background: none;
}

/*** buttons ***/
.admin-email__actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.admin-email__actions div {
  padding-top: 1.5em;
  display: flex;
  justify-content: space-around;
  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: #6f9b4b;
  --ch: #333d29;
  --cb: var(--c);
  --p: 100%;
  --s: calc(50% + 1.6em);
  color: #f4f4f4 !important;
  font-size: clamp(0.8rem, 0.8rem + (1vw - 0.48rem) * 0.385, 1rem);
  font-weight: 600 !important;
  line-height: 3rem;
  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;
  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, 30%, 94%, 0.7);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 0 !important;
  margin-top: 24px;
}
#nav a,
#backtoblog a,
.privacy-policy-page-link a {
  --c: #5d6752;
  display: block;
}
#nav a:hover,
#backtoblog a:hover,
.privacy-policy-page-link a:hover {
  --cb: #5d6752;
}

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

/*** 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;
  box-shadow: none !important;
}
.login .button.wp-hide-pw .dashicons {
  position: static;
  width: -moz-max-content;
  width: 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: var(--fa-style-family-sharp);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
}
.login .button.wp-hide-pw .dashicons.dashicons-hidden::before {
  content: "\f070";
  color: #5d6752;
}
.login .button.wp-hide-pw .dashicons.dashicons-visibility::before {
  content: "\f06e";
  color: #5d6752;
}

/*** 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: #333d29;
  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%);
}