/* MyPanoramic login — isolated full-screen layout */
html,
body {
  margin: 0;
  min-height: 100%;
}

body.mp-login-page {
  min-height: 100vh;
  background: #f7f9fc;
  color: #0c1f3a;
  overflow-x: hidden;
}

.mp-login-page *,
.mp-login-page *::before,
.mp-login-page *::after {
  box-sizing: border-box;
}

.mp-login-layout {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(430px, 44%);
  margin: 0;
  padding: 0;
  background: #fff;
}

.mp-login-hero {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 58px) clamp(36px, 4.1vw, 72px) clamp(28px, 3vw, 48px);
  color: #fff;
  background: radial-gradient(circle at 78% 78%, rgba(90, 73, 203, 0.55), transparent 35%),
    radial-gradient(circle at 54% 35%, rgba(0, 174, 239, 0.18), transparent 31%),
    linear-gradient(145deg, #0b1f49 0%, #16275b 52%, #283878 100%);
}

.mp-login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -5;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to bottom right, rgba(0, 0, 0, 0.82), transparent 92%);
}

.mp-login-aurora {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}
.mp-login-aurora-a {
  width: 520px;
  height: 520px;
  left: -230px;
  top: -180px;
  background: radial-gradient(circle, rgba(36, 99, 235, 0.34), rgba(36, 99, 235, 0) 68%);
}
.mp-login-aurora-b {
  width: 620px;
  height: 620px;
  right: -260px;
  bottom: -310px;
  background: radial-gradient(circle, rgba(119, 92, 226, 0.44), rgba(119, 92, 226, 0) 70%);
}

.mp-login-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.mp-login-particles i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #dffcff 0 18%,
    #7edcff 24%,
    rgba(83, 182, 255, 0.45) 50%,
    transparent 72%
  );
  box-shadow: 0 0 17px rgba(110, 219, 255, 0.8);
  opacity: 0.58;
  animation: mpParticleFloat var(--t) ease-in-out var(--d) infinite alternate;
}
.mp-login-particles span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: 1px;
  transform: rotate(var(--r));
  transform-origin: left center;
  background: linear-gradient(90deg, transparent, rgba(82, 188, 255, 0.68), transparent);
  opacity: 0.44;
  animation: mpTrailFloat var(--t) ease-in-out var(--d) infinite alternate;
}
.mp-login-particles span::after {
  content: "";
  position: absolute;
  right: 18%;
  top: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7ee7ff;
  box-shadow: 0 0 13px rgba(90, 219, 255, 0.95);
}
@keyframes mpParticleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(0.86);
    opacity: 0.28;
  }
  45% {
    opacity: 0.72;
  }
  100% {
    transform: translate3d(32px, -42px, 0) scale(1.2);
    opacity: 0.46;
  }
}
@keyframes mpTrailFloat {
  0% {
    translate: -18px 16px;
    opacity: 0.18;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    translate: 38px -34px;
    opacity: 0.36;
  }
}

.mp-login-brandbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mp-login-logo {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 7, 28, 0.2);
}
.mp-login-logo img {
  display: block;
  width: 148px;
  max-width: 148px;
  height: auto;
  object-fit: contain;
}
.mp-login-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b6cae2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mp-login-status b,
.mp-login-secure i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #35d294;
  box-shadow: 0 0 0 4px rgba(53, 210, 148, 0.12);
}

.mp-login-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  margin: auto 0;
  padding: 54px 0;
}
.mp-login-kicker {
  display: inline-block;
  color: #55c9ff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.mp-login-copy h1 {
  max-width: 690px;
  margin: 17px 0 18px;
  color: #fff;
  font-size: clamp(40px, 4.1vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.048em;
  font-weight: 760;
}
.mp-login-copy p {
  max-width: 620px;
  margin: 0;
  color: #b7c8df;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.65;
}

.mp-login-proof {
  width: min(100%, 670px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 38px;
}
.mp-login-proof div {
  padding: 14px 15px;
  border: 1px solid rgba(171, 205, 244, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(8px);
}
.mp-login-proof strong,
.mp-login-proof small {
  display: block;
}
.mp-login-proof strong {
  color: #f2f7ff;
  font-size: 11px;
}
.mp-login-proof small {
  margin-top: 4px;
  color: #8fa9c9;
  font-size: 9px;
}

.mp-login-hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #7895bb;
  font-size: 9px;
}
.mp-login-hero-footer span {
  font-weight: 800;
  letter-spacing: 0.035em;
}
.mp-login-hero-footer small {
  font-size: 9px;
}

.mp-login-access {
  min-width: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 5vw, 88px);
  background: linear-gradient(180deg, #fbfcfe 0%, #f6f9fd 100%);
}
.mp-login-formbox {
  width: min(100%, 430px);
  margin: 0;
}
.mp-login-mobile-logo {
  display: none;
}

.mp-login-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}
.mp-login-heading-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid #d8e7fa;
  border-radius: 13px;
  background: #edf5ff;
  color: #2463d8;
}
.mp-login-heading-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mp-login-overline {
  display: block;
  margin-bottom: 5px;
  color: #2463eb;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.mp-login-heading h2 {
  margin: 0 0 6px;
  color: #0b1e38;
  font-size: 29px;
  line-height: 1.12;
  letter-spacing: -0.028em;
}
.mp-login-heading p {
  margin: 0;
  color: #718097;
  font-size: 12px;
  line-height: 1.5;
}

.mp-login-alert {
  margin: 0 0 18px;
}

.mp-login-form {
  display: block;
}
.mp-login-field {
  display: block;
  margin: 16px 0;
  color: #334b69;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.012em;
}
.mp-login-field > span:first-child {
  display: block;
  margin-bottom: 7px;
}
.mp-login-input {
  position: relative;
  display: flex;
  align-items: center;
}
.mp-login-input > svg {
  position: absolute;
  left: 14px;
  z-index: 2;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #8192a8;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.mp-login-input input {
  display: block;
  width: 100%;
  height: 49px;
  margin: 0 !important;
  padding: 0 47px 0 43px !important;
  border: 1px solid #cfdae8 !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: #10223b;
  font-size: 13px;
  outline: none;
  box-shadow: 0 2px 5px rgba(17, 43, 75, 0.025);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}
.mp-login-input input::placeholder {
  color: #9daaba;
}
.mp-login-input input:focus {
  border-color: #4b84dd !important;
  box-shadow: 0 0 0 4px rgba(36, 99, 235, 0.09) !important;
}

.mp-password-toggle {
  position: absolute;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #72849a;
  cursor: pointer;
}
.mp-password-toggle:hover {
  background: #eef4fb;
  color: #245fac;
}
.mp-password-toggle:focus-visible {
  outline: 2px solid #4b83db;
  outline-offset: 1px;
}
.mp-password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mp-eye-closed {
  display: none;
}
.mp-password-toggle[aria-pressed="true"] .mp-eye-open {
  display: none;
}
.mp-password-toggle[aria-pressed="true"] .mp-eye-closed {
  display: block;
}

.mp-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 19px;
}
.mp-login-secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #74869a;
  font-size: 10px;
  font-weight: 600;
}
.mp-login-options a {
  color: #2463e8;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none;
}
.mp-login-options a:hover {
  text-decoration: underline;
}

.mp-login-submit {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center !important;
  gap: 10px;
  width: 100%;
  min-height: 49px;
  margin: 0 !important;
  border-radius: 11px !important;
  background: linear-gradient(105deg, #1769e0, #2c5ed0) !important;
  box-shadow: 0 10px 24px rgba(35, 98, 207, 0.22) !important;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease,
    opacity 0.14s ease;
}
.mp-login-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 29px rgba(35, 98, 207, 0.28) !important;
}
.mp-login-submit-label {
  font-weight: 800;
}
.mp-login-submit-arrow {
  font-size: 18px;
}
.mp-login-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: mpLoginSpin 0.72s linear infinite;
}
.mp-login-submit.is-loading .mp-login-submit-arrow {
  display: none;
}
.mp-login-submit.is-loading .mp-login-spinner {
  display: block;
}
.mp-login-submit:disabled {
  opacity: 0.82;
  cursor: wait;
}
@keyframes mpLoginSpin {
  to {
    transform: rotate(360deg);
  }
}

.mp-login-security {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e2e9f1;
}
.mp-login-security svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  padding: 6px;
  border-radius: 8px;
  background: #edf8f3;
  color: #159366;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mp-login-security p {
  margin: 0;
  color: #7a899c;
  font-size: 10px;
  line-height: 1.45;
}
.mp-login-version {
  display: block;
  margin-top: 16px;
  color: #a2adba;
  font-size: 9px;
  text-align: center;
}

/* Avoid giant unstyled SVGs if another stylesheet is cached or delayed. */
.mp-login-page svg {
  max-width: 100%;
}

@media (max-width: 1000px) {
  .mp-login-layout {
    grid-template-columns: minmax(0, 52%) minmax(410px, 48%);
  }
  .mp-login-hero {
    padding-left: 38px;
    padding-right: 38px;
  }
  .mp-login-copy h1 {
    font-size: 42px;
  }
  .mp-login-proof {
    grid-template-columns: 1fr;
  }
  .mp-login-proof div {
    padding: 11px 13px;
  }
}

@media (max-width: 820px) {
  body.mp-login-page {
    background: #f7f9fc;
  }
  .mp-login-layout {
    display: block;
    min-height: 100vh;
  }
  .mp-login-hero {
    display: none;
  }
  .mp-login-access {
    min-height: 100vh;
    width: 100%;
    padding: 34px 24px;
  }
  .mp-login-mobile-logo {
    display: block;
    margin: 0 0 34px;
  }
  .mp-login-mobile-logo img {
    display: block;
    width: 165px;
    max-width: 55vw;
    height: auto;
  }
}

@media (max-width: 480px) {
  .mp-login-access {
    padding: 28px 20px;
  }
  .mp-login-heading {
    align-items: center;
  }
  .mp-login-heading h2 {
    font-size: 25px;
  }
  .mp-login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .mp-login-options a {
    align-self: flex-end;
  }
}

@media (max-height: 680px) and (min-width: 821px) {
  .mp-login-hero,
  .mp-login-access {
    min-height: 680px;
  }
  body.mp-login-page {
    overflow-y: auto;
  }
  .mp-login-copy {
    padding: 32px 0;
  }
  .mp-login-copy h1 {
    font-size: 44px;
  }
  .mp-login-proof {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-login-particles i,
  .mp-login-particles span,
  .mp-login-spinner {
    animation: none !important;
  }
}

/* ---------- Ajustes de legibilidade e foco (nov/2026) ---------- */
/* Parte azul mais estreita: o formulário ganha espaço em telas largas. */
@media (min-width: 1001px) {
  .mp-login-layout {
    grid-template-columns: minmax(0, 46%) minmax(460px, 54%);
  }
}

.mp-login-formbox {
  width: min(100%, 460px);
}

.mp-login-copy p {
  color: #d3e0f0;
  font-size: clamp(15px, 1.15vw, 18px);
}

/* Destaques do produto: lista simples (antes pareciam botões). */
.mp-login-points {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.mp-login-points li {
  position: relative;
  padding-left: 28px;
  color: #c9d8ec;
  font-size: 15px;
  line-height: 1.45;
}

.mp-login-points li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #34d399 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1e38' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.mp-login-points strong {
  color: #fff;
  font-weight: 700;
}

.mp-login-hero-footer,
.mp-login-hero-footer span {
  color: #9db4d3;
  font-size: 13px;
}

.mp-login-heading {
  margin-bottom: 24px;
}

.mp-login-heading h2 {
  font-size: 32px;
}

.mp-login-heading p {
  color: #526177;
  font-size: 15px;
}

.mp-login-field {
  color: #23395a;
  font-size: 14px;
}

.mp-login-options {
  justify-content: flex-end;
}

.mp-login-options a {
  font-size: 14px;
}

.mp-login-security {
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding-top: 16px;
  color: #5f6f84;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.mp-login-security svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  padding: 0;
  background: none;
}

.mp-login-version {
  margin-top: 10px;
  color: #8592a3;
  font-size: 12px;
}

@media (max-width: 480px) {
  .mp-login-heading h2 {
    font-size: 27px;
  }

  .mp-login-options {
    align-items: flex-end;
    flex-direction: row;
  }
}

.mp-login-input input {
  font-size: 15px;
}

.mp-login-submit {
  font-size: 16px;
}

/* Ícone acompanha o texto quando a linha quebra (celular). */
.mp-login-security {
  display: block;
}

.mp-login-security svg {
  display: inline-block;
  margin-right: 6px;
  vertical-align: -4px;
}
