/* public/css/styles.css */
:root{
  --bg:#f7eefb;
  --card:#fff7ff;
  --text:#2b2439;
  --muted:#6f61a8;
  --primary:#6b4fd1;
  --primary-pressed:#5a41bb;
  --radius:16px;
  --shadow:0 10px 30px rgba(31,13,64,.12);
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: system-ui,-apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, 'Apple Color Emoji','Segoe UI Emoji';
  background: var(--bg);
  color: var(--text);
}


.page{
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:24px;
}

.card{
  width:min(540px, 96vw);
  background:var(--card);
  border-radius: calc(var(--radius) + 8px);
  box-shadow:var(--shadow);
  padding:36px 30px 26px; /* estava 28px 22px 18px */
  border:1px solid rgba(73,24,139,.08);
}

.title{
  text-align:center;
  font-weight:700;
  letter-spacing:.3px;
  margin:8px 0 18px;
}

.form{display:grid; gap:14px;}

.field{display:grid; gap:8px;}
.label{font-size:.95rem; color:var(--muted);}
input{
  width:100%;
  padding:14px 14px;
  border-radius:12px;
  border:1.2px solid rgba(73,24,139,.18);
  background:#fff;
  outline:none;
  transition:.2s border-color ease, .2s box-shadow ease;
  font-size:1rem;
}
input:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(107,79,209,.12);
}

.password{ position:relative; display:flex; align-items:center;}
.password input{ padding-right:44px;}
.eye{
  position:absolute; right:6px; top:50%; transform:translateY(-50%);
  border:none; background:transparent; cursor:pointer;
  font-size:1.05rem; padding:8px; line-height:1; opacity:.8;
}
.eye:focus{ outline:2px solid rgba(107,79,209,.35); border-radius:10px;}

.btn-primary{
  margin-top:10px;
  width:100%;
  padding:14px 18px;
  border:none;
  border-radius:28px;
  background:var(--primary);
  color:white;
  font-weight:700;
  cursor:pointer;
  transition:.15s transform ease, .15s background ease, .2s box-shadow ease;
  box-shadow: 0 8px 18px rgba(48,28,140,.22);
}
.btn-primary:hover{ background:var(--primary-pressed); transform: translateY(-1px);}
.btn-primary:active{ transform: translateY(0); box-shadow:none; }

.links{
  display:grid; gap:10px;
  justify-items:center;
  margin-top:14px;
}
.links a{
  color:var(--primary);
  text-decoration:none;
  font-weight:600;
}
.links a:hover{ text-decoration:underline;}

.message{
  margin-top:12px;
  text-align:center;
  min-height: 1.2em;
  color:#b42318;
  font-weight:600;
}
.success{ color:#137f39;}

.checkboxes{
  display: grid;
  gap: 10px;
}

.check{
  display: flex;
  align-items: flex-start;   /* mantém o topo alinhado quando o texto quebra */
  gap: 10px;
  line-height: 1.35;
}

/* deixa o checkbox fixo e alinhado ao topo */
.check input[type="checkbox"]{
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 3px 0 0 0;         /* pequeno ajuste vertical */
  accent-color: var(--primary); /* cor do checkbox nos browsers que suportam */
}

/* o texto pode quebrar em múltiplas linhas */
.check span{
  flex: 1 1 auto;
}

/* opcional: evita quebrar a palavra “Privacidade” no meio */
.check a{ word-break: keep-all; }
