/* =========================================================
   Altuofianco – Custom Login Page
   ========================================================= */

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Thin-Italic.woff2") format("woff2"),
    url("../fonts/Roboto-Thin-Italic.woff") format("woff");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Bold.woff2") format("woff2"),
    url("../fonts/Roboto-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Light-Italic.woff2") format("woff2"),
    url("../fonts/Roboto-Light-Italic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Medium.woff2") format("woff2"),
    url("../fonts/Roboto-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Regular.woff2") format("woff2"),
    url("../fonts/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Thin.woff2") format("woff2"),
    url("../fonts/Roboto-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Black.woff2") format("woff2"),
    url("../fonts/Roboto-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Medium-Italic.woff2") format("woff2"),
    url("../fonts/Roboto-Medium-Italic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Black-Italic.woff2") format("woff2"),
    url("../fonts/Roboto-Black-Italic.woff") format("woff");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Italic.woff2") format("woff2"),
    url("../fonts/Roboto-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Light.woff2") format("woff2"),
    url("../fonts/Roboto-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src:
    url("../fonts/Roboto-Bold-Italic.woff2") format("woff2"),
    url("../fonts/Roboto-Bold-Italic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src:
    url("../fonts/Comfortaa-Bold.woff2") format("woff2"),
    url("../fonts/Comfortaa-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src:
    url("../fonts/Comfortaa-SemiBold.woff2") format("woff2"),
    url("../fonts/Comfortaa-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src:
    url("../fonts/Comfortaa-Regular.woff2") format("woff2"),
    url("../fonts/Comfortaa-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src:
    url("../fonts/Comfortaa-Light.woff2") format("woff2"),
    url("../fonts/Comfortaa-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Comfortaa";
  src:
    url("../fonts/Comfortaa-Medium.woff2") format("woff2"),
    url("../fonts/Comfortaa-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- Page background --- */
body.login {
  /* background: */
  /*   radial-gradient(100% 100% at 49.98% 99.97%, #067da0 0%, rgba(255, 255, 255, 0.1) 100%), #fff; */
  background: radial-gradient(
    130% 115% at 50% 111%,
    #067da0 0%,
    rgba(255, 255, 255, 0.08) 75%,
    #fff 100%
  );
  min-height: 100vh;
  padding: 96px 16px 0;
  box-sizing: border-box;
  font-family: Comfortaa, sans-serif;
}

/* --- Outer wrapper --- */
#login {
  width: 320px;
  max-width: 100%;
  padding: 0;
}

.wp-login-logo {
  margin-bottom: 16px;
}

#login h1 a {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* background-image set via inline CSS (dynamic plugin URL) */
  width: 248px;
  height: 52px;
  margin: 0 auto;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  box-shadow: none;
  border-radius: 0;
}

/* --- Tagline --- */
.atf-tagline {
  margin-bottom: 32px;
  font-family: Comfortaa;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  color: var(--Blue, #067da0);
}

.atf-tagline span {
  font-weight: bold;
  color: #1a6ea8;
}

/* --- Form card (login + lostpassword) --- */
#loginform,
#lostpasswordform {
  margin: 0 0 24px;
  padding: 35px 25px 27px;
  border-radius: 16px;
  border: var(--stroke-weight-1, 1px) solid var(--color-grey-77, #c3c4c7);
  background: var(--color-white-solid, #fff);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
}
#lostpasswordform {
  padding: 24px;
}
#lostpasswordform input[type="submit"] {
  padding: 0 16px !important;
  min-height: initial !important;
  height: 32px !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 13px !important;
  font-weight: normal !important;
}

/* --- Labels --- */
.login label {
  margin-bottom: 3px;
  color: var(--gardalive-altuofianco-com-mako, var(--color-azure-26, #3c434a));
  /* gardalive.altuofianco.com/Roboto/Regular */
  font-family: var(--font-family-Font-1, Roboto);
  font-size: var(--font-size-14, 14px);
  font-style: normal;
  font-weight: var(--font-weight-400, 400);
  line-height: var(--line-height-21, 21px); /* 150% */
}

/* --- Text / Password inputs --- */
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
  background: #fff;
  border: 1.5px solid #8c8f94 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  font-size: 14px;
  color: #222;
  box-shadow: none !important;
  width: 100%;
  box-sizing: border-box;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
  outline: none;
  height: auto !important;
}

.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
  border: var(--stroke-weight-1, 1px) solid var(--color-azure-41, #2271b1) !important;
  background: var(--color-white-solid, #fff) !important;
  box-shadow: 0 0 0 1px #2271b1 !important;
}

/* --- Password field with show/hide eye --- */
.wp-pwd {
  position: relative;
  display: flex;
  align-items: center;
}
.login .button.wp-hide-pw {
  position: absolute;
  top: 20px;
  right: 2px;
  display: block;
}

#user_pass {
  padding-right: 42px !important;
}

.wp-hide-pw {
  position: absolute !important;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: 0 !important;
  height: auto !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #1a6ea8;
}

.wp-hide-pw .dashicons {
  color: #1a6ea8;
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 1;
}

.wp-hide-pw:hover {
  background: none !important;
  color: #1a6ea8 !important;
}

/* --- Spacing between form fields --- */
#loginform > p,
#loginform > .user-pass-wrap,
#lostpasswordform > p {
  margin: 0 0 16px;
  padding: 0;
}
.login input[type="password"] {
  margin: 0;
}

/* --- Remember me + Submit row --- */
#loginform > p.forgetmenot {
  float: left;
  margin: 0;
  padding: 6px 0 0;
  display: flex;
  align-items: center;
}

#loginform > p.forgetmenot label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #444;
  margin: 0;
  cursor: pointer;
  line-height: 1;
}

#loginform > p.forgetmenot input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  margin-right: 8px;
  flex-shrink: 0;
  border: 1.5px solid #8c8f94;
  border-radius: 3px;
  cursor: pointer;
  accent-color: #1a6ea8;
}

#loginform > p.submit,
#lostpasswordform > p.submit {
  float: right;
  margin: 0 !important;
  padding: 0 !important;
}

/* clearfix */
#loginform::after {
  content: "";
  display: table;
  clear: both;
}

/* --- Submit button --- */
.login .button-primary {
  background: #1f72b4 !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 10px 26px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #fff !important;
  text-shadow: none !important;
  box-shadow: none !important;
  height: auto !important;
  line-height: 1.4 !important;
  cursor: pointer;
  transition: background 0.18s !important;
  vertical-align: middle;
}

.login .button-primary:hover,
.login .button-primary:focus {
  background: #155d99 !important;
  box-shadow: none !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* --- Info message box (recover page) --- */
.login .message {
  position: relative;
  margin-bottom: 16px;
  padding: 12px 16px;
  color: var(--gardalive-altuofianco-com-mako, var(--color-azure-26, #3c434a));

  /* gardalive.altuofianco.com/Roboto/Regular */
  font-family: var(--font-family-Font-1, Roboto);
  font-size: var(--font-size-14, 14px);
  font-style: normal;
  font-weight: var(--font-weight-400, 400);
  line-height: var(--line-height-21, 21px); /* 150% */
  border-radius: 16px;
  border: var(--stroke-weight-1, 1px) solid var(--color-grey-77, #c3c4c7);
  background: var(--color-white-solid, #fff);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.login .message::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: var(--Blue-Light, #00bbdf);
}

/* --- Error message --- */
#login_error {
  background: #fdf0f0;
  border: 1px solid #f5c0c0;
  border-left: 4px solid #cc3c3c;
  border-radius: 8px;
  color: #cc3c3c;
  font-size: 13px;
  padding: 12px 16px;
  margin: 0 0 18px;
  line-height: 1.55;
  box-shadow: none;
}

#login_error a {
  color: #cc3c3c;
}

/* --- Links below form --- */
#nav,
#backtoblog {
  text-align: center;
  padding: 10px 0 0;
  margin: 0;
}
.login #nav {
  margin-bottom: 16px;
}
.login .privacy-policy-page-link {
  display: none;
}

#nav a,
#backtoblog a {
  color: var(--gardalive-altuofianco-com-abbey, var(--color-grey-34, #50575e));
  text-align: center;

  /* gardalive.altuofianco.com/Roboto/Regular */
  font-family: var(--font-family-Font-1, Roboto);
  font-size: 12.9px;
  font-style: normal;
  font-weight: var(--font-weight-400, 400);
  line-height: var(--line-height-19_5, 19.5px); /* 151.163% */
}

#nav a:hover,
#backtoblog a:hover {
  color: #1a6ea8;
  text-decoration: underline;
}

/* separator between "Lost password?" and "Back" on login page */
#nav .separator {
  color: #bbb;
  padding: 0 4px;
}

/* --- Language switcher --- */
#language-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 8px;
}

#language-switcher .dashicons-translation {
  color: #3c434a;
  font-size: 20px;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

#language-switcher select {
  border-radius: 8px;
  border: var(--stroke-weight-1, 1px) solid #8c8f94;
  background: #fff;
  cursor: pointer;
  outline: none;
  height: auto !important;
  box-shadow: none !important;
  appearance: auto;
}

#language-switcher .button {
  padding: 0 16px;
  height: 32px;
  color: var(--Blue, #067da0);
  text-align: center;

  /* gardalive.altuofianco.com/Roboto/Regular */
  font-family: var(--font-family-Font-1, Roboto);
  font-size: var(--font-size-13, 13px);
  font-style: normal;
  font-weight: var(--font-weight-400, 400);
  line-height: var(--line-height-28, 28px); /* 215.385% */
  border-radius: 32px;
  border: var(--stroke-weight-1, 1px) solid #2271b1;
  background: #f6f7f7;
  transition:
    background 0.15s,
    color 0.15s;
}

@media screen and (max-width: 400px) {
  #language-switcher {
    flex-wrap: wrap;
  }

  #language-switcher .button {
    flex: 0 0 50%;
    padding: 0 16px;
    height: 32px;
    color: var(--Blue, #067da0);
    text-align: center;

    /* gardalive.altuofianco.com/Roboto/Regular */
    font-family: var(--font-family-Font-1, Roboto);
    font-size: var(--font-size-13, 13px);
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-28, 28px); /* 215.385% */
    border-radius: 32px;
    border: var(--stroke-weight-1, 1px) solid #2271b1;
    background: #f6f7f7;
    transition:
      background 0.15s,
      color 0.15s;
  }
}

#language-switcher .button:hover {
  background: #1a6ea8 !important;
  color: #fff !important;
}
