:root {
  --movva-ink: #25243a;
  --movva-muted: #77758b;
  --movva-border: #e5e2ef;
  --movva-purple: #6758e8;
  --movva-purple-dark: #4e3dcc;
}

body.login {
  min-height: 100vh;
  color: var(--movva-ink);
  background:
    radial-gradient(circle at 15% 13%, rgba(126, 105, 241, .13), transparent 25%),
    radial-gradient(circle at 87% 82%, rgba(77, 189, 167, .10), transparent 22%),
    linear-gradient(145deg, #f8f7fc 0%, #f1f0f7 100%);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.login::before,
body.login::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(103, 88, 232, .10);
  border-radius: 50%;
}

body.login::before { width: 300px; height: 300px; top: -170px; right: -105px; }
body.login::after { width: 210px; height: 210px; bottom: -125px; left: -70px; }

body.login * { box-sizing: border-box; }

body.login #login {
  width: min(460px, calc(100% - 28px));
  margin: 0 auto;
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
}

body.login h1 { margin: 0 0 23px; }

body.login h1 a {
  width: max-content;
  height: auto;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: visible;
  color: var(--movva-ink);
  background: none !important;
  text-indent: 0;
  font-size: 0;
  text-decoration: none;
}

body.login h1 a::before {
  content: "M";
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 15px 15px 15px 6px;
  color: #fff;
  background: linear-gradient(145deg, #8173f5, #5140d2);
  box-shadow: 0 10px 24px rgba(82, 64, 210, .25);
  font: 800 23px/1 "Manrope", sans-serif;
}

body.login h1 a::after {
  content: "movva planner";
  color: var(--movva-ink);
  font: 800 25px/1 "Manrope", sans-serif;
  letter-spacing: -.9px;
}

body.login .message,
body.login .notice,
body.login #login_error {
  margin: 0 0 13px;
  padding: 13px 16px;
  border: 1px solid #ded9f5;
  border-left: 4px solid var(--movva-purple);
  border-radius: 11px;
  color: #615d72;
  background: rgba(255, 255, 255, .82);
  box-shadow: none;
  font-size: 12px;
  line-height: 1.5;
}

body.login #login_error {
  border-color: #f0cbd2;
  border-left-color: #c9546e;
  color: #9c3f55;
  background: #fff7f8;
}

body.login form {
  margin-top: 0;
  padding: 29px 30px 27px;
  overflow: visible;
  border: 1px solid var(--movva-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 24px 65px rgba(41, 34, 83, .12);
}

body.login form .input,
body.login input[type="text"],
body.login input[type="password"],
body.login input[type="email"] {
  width: 100%;
  min-height: 49px;
  margin: 6px 0 16px;
  padding: 10px 44px 10px 13px;
  border: 1px solid #dcd8e8;
  border-radius: 11px;
  color: var(--movva-ink);
  background: #fff;
  box-shadow: none;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.25;
}

body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="password"]:focus,
body.login input[type="email"]:focus {
  border-color: #8377e6;
  box-shadow: 0 0 0 4px rgba(103, 88, 232, .11);
  outline: 0;
}

body.login label {
  color: #4d4a60;
  font-size: 12px;
  font-weight: 700;
}

body.login .wp-pwd { display: block; position: relative; }

body.login .button.wp-hide-pw {
  min-width: 43px;
  height: 47px;
  top: 7px;
  right: 2px;
  position: absolute;
  border: 0;
  color: var(--movva-purple);
  background: transparent;
  box-shadow: none;
}

body.login .button.wp-hide-pw:focus { box-shadow: none; outline: 2px solid rgba(103, 88, 232, .25); }

body.login #pass-strength-result {
  width: auto;
  margin: -10px 0 17px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

body.login #pass-strength-result.strong { color: #24725b; background: #e0f5ed; }
body.login #pass-strength-result.good { color: #71601f; background: #fff2cf; }
body.login #pass-strength-result.short,
body.login #pass-strength-result.bad { color: #a33d54; background: #ffe9ed; }

body.login .description,
body.login .indicator-hint {
  color: var(--movva-muted);
  font-size: 11px;
  line-height: 1.55;
}

body.login .reset-pass-submit {
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

body.login .button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid #d8d3e9;
  border-radius: 9px;
  color: #6256c3;
  background: #f8f6ff;
  box-shadow: none;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
}

body.login .button:hover { border-color: #b9b1e4; color: var(--movva-purple-dark); background: #f1eeff; }

body.login .button-primary,
body.login .wp-core-ui .button-primary {
  min-height: 44px;
  padding: 0 21px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--movva-purple), var(--movva-purple-dark));
  box-shadow: 0 9px 20px rgba(86, 68, 211, .22);
  text-shadow: none;
}

body.login .button-primary:hover,
body.login .button-primary:focus {
  color: #fff;
  background: linear-gradient(135deg, #7567ee, #4936c2);
  box-shadow: 0 11px 23px rgba(86, 68, 211, .28);
}

body.login .forgetmenot { margin-top: 8px; }
body.login .forgetmenot label { font-size: 10px; font-weight: 500; }
body.login input[type="checkbox"] { border-color: #cfc9df; border-radius: 4px; box-shadow: none; }

body.login #nav,
body.login #backtoblog {
  margin: 17px 0 0;
  padding: 0;
  text-align: center;
}

body.login #nav a,
body.login #backtoblog a {
  color: #706b84;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

body.login #nav a:hover,
body.login #backtoblog a:hover { color: var(--movva-purple); }

body.login .language-switcher { display: none; }

.movva-wp-login-footer {
  width: min(460px, calc(100% - 28px));
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  color: #8a8699;
  text-align: center;
  font: 600 10px/1.4 "DM Sans", sans-serif;
}

.movva-wp-login-footer span {
  width: 18px;
  height: 18px;
  margin-right: 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #6e61df;
  font-size: 10px;
}

@media (max-width: 520px) {
  body.login #login { padding-top: 28px; }
  body.login h1 { margin-bottom: 18px; }
  body.login h1 a::before { width: 43px; height: 43px; font-size: 20px; }
  body.login h1 a::after { font-size: 22px; }
  body.login form { padding: 24px 20px 22px; border-radius: 15px; }
  body.login .reset-pass-submit { align-items: stretch; flex-direction: column-reverse; }
  body.login .reset-pass-submit .button { width: 100%; justify-content: center; }
}

/* Tamanhos mínimos para leitura confortável */
body.login .message,
body.login .notice,
body.login #login_error,
body.login label { font-size: 13px; }
body.login #pass-strength-result { font-size: 11px; }
body.login .description,
body.login .indicator-hint,
body.login .forgetmenot label,
body.login #nav a,
body.login #backtoblog a { font-size: 12px; }
body.login .button { font-size: 13px; }
.movva-wp-login-footer { font-size: 11px; }
