/* ClipoOs Max — telas de autenticação (login / signup / troca de senha) */
@import url('/home.css');

body.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.auth-page .shell {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  width: min(1080px, 100% - 40px);
  padding: clamp(40px, 6vw, 80px) 0;
}

/* ----- Coluna narrativa ----- */
.auth-aside h1 {
  margin: 22px 0 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 700;
}
.auth-aside h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), #7fe8ff 55%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.auth-aside > p {
  margin: 16px 0 0;
  max-width: 420px;
  color: var(--dim);
  font-size: 1rem;
}

.auth-points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 14px; }
.auth-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--dim); }
.auth-points li b { color: var(--text); font-weight: 600; }
.auth-points .tick {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px; height: 24px;
  margin-top: 1px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 229, 160, 0.25);
}

/* ----- Cartão do formulário ----- */
body.auth-page .query-card { margin: 0; max-width: 460px; width: 100%; justify-self: end; }
body.auth-page .query-heading { margin-bottom: 24px; }

.auth-form { display: grid; gap: 6px; }
.auth-form label { display: block; margin-top: 12px; }
.auth-form label:first-of-type { margin-top: 0; }

.auth-form input {
  width: 100%;
  padding: 14px 15px;
  margin-top: 7px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.auth-form input::placeholder { color: var(--muted); }
.auth-form input:focus {
  border-color: rgba(0, 229, 160, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 229, 160, 0.1);
}
.auth-form input:disabled { opacity: 0.55; }

.auth-form .submit-button {
  width: 100%;
  justify-content: center;
  margin-top: 22px;
}

.auth-alt {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  text-align: center;
}
.auth-alt a { color: var(--accent); font-weight: 500; }
.auth-alt a:hover { text-decoration: underline; }

body.auth-page .message { margin: 18px 0 0; max-width: none; }
body.auth-page .message.success {
  border-color: rgba(0, 229, 160, 0.35);
  background: var(--accent-soft);
  color: var(--accent);
}

@media (max-width: 900px) {
  body.auth-page .shell { grid-template-columns: 1fr; }
  .auth-aside { text-align: center; }
  .auth-aside > p { margin-inline: auto; }
  .auth-points { max-width: 380px; margin-inline: auto; }
  body.auth-page .query-card { justify-self: center; }
}
