/* auth-clean.css — Lucro Planejado */

:root{
  --primary:#0b617e;
  --secondary:#054369;
  --accent:#16a34a;
  --text:#0f172a;
  --muted:#64748b;
  --soft:#eef7f9;
  --border:rgba(15,23,42,.10);
  --shadow:0 28px 80px rgba(15,23,42,.13);
  --radius:30px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  min-height:100%;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(11,97,126,.13), transparent 34%),
    linear-gradient(135deg, #eef7f9, #f8fbfc);
}

a{color:inherit}

.auth-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.auth-shell{
  width:min(1180px,100%);
  min-height:680px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:grid;
  grid-template-columns: .95fr 1.05fr;
}

.auth-brand{
  background:
    radial-gradient(circle at 20% 16%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, rgba(11,97,126,.97), rgba(5,67,105,.94));
  color:#fff;
  padding:48px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.auth-brand:before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  right:-155px;
  top:-120px;
}

.auth-brand:after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  left:-95px;
  bottom:-85px;
}

.brand-content{
  width:100%;
  position:relative;
  z-index:1;
}

.brand-logo{
  width:82px;
  height:82px;
  object-fit:contain;
  display:block;
  margin-bottom:28px;
}

.brand-pill{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.20);
  color:#fff;
  font-size:12px;
  font-weight:950;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:18px;
}

.auth-brand h1{
  margin:0;
  color:#fff;
  font-size:42px;
  line-height:1.03;
  letter-spacing:-.045em;
}

.auth-brand p{
  margin:18px 0 0;
  max-width:440px;
  color:rgba(255,255,255,.86);
  line-height:1.75;
  font-size:16px;
}

.brand-points{
  margin-top:34px;
  display:grid;
  gap:12px;
  max-width:440px;
}

.brand-point{
  padding:14px 16px;
  border-radius:17px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  font-size:14px;
  color:rgba(255,255,255,.92);
  font-weight:850;
}

.brand-summary{
  margin-top:30px;
  display:grid;
  gap:12px;
  max-width:470px;
}

.brand-summary > div{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
}

.brand-summary small{
  display:block;
  color:rgba(255,255,255,.66);
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:6px;
}

.brand-summary strong{
  display:block;
  color:#fff;
  font-size:17px;
  line-height:1.35;
}

.auth-panel{
  padding:52px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.panel-head{
  margin-bottom:28px;
}

.panel-mini{
  display:block;
  color:var(--primary);
  font-size:12px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:8px;
}

.panel-head h2{
  margin:0;
  font-size:34px;
  line-height:1.08;
  letter-spacing:-.04em;
  color:var(--text);
}

.panel-head p{
  margin:12px 0 0;
  color:var(--muted);
  line-height:1.7;
  font-size:15px;
}

.login-form,
.auth-form{
  display:grid;
  gap:14px;
}

.field{
  display:grid;
  gap:7px;
}

.field label{
  font-size:13px;
  font-weight:900;
  color:#334155;
}

.field input,
.field select{
  width:100%;
  min-height:52px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.12);
  background:#f8fbfc;
  color:var(--text);
  padding:0 16px;
  font-size:15px;
  outline:none;
  transition:.16s ease;
}

.field input:focus,
.field select:focus{
  border-color:rgba(11,97,126,.42);
  box-shadow:0 0 0 4px rgba(11,97,126,.08);
  background:#fff;
}

.field input::placeholder{color:#94a3b8}

.field-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.doc-toggle{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:4px;
}

.doc-toggle label{
  min-height:48px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:#f8fbfc;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#334155;
  font-size:14px;
  font-weight:950;
  cursor:pointer;
}

.doc-toggle input{accent-color:var(--primary)}

.inline-actions{
  display:grid;
  grid-template-columns:1fr auto;
  gap:10px;
}

.btn-primary,
.btn-secondary,
.btn-inline{
  min-height:52px;
  border-radius:16px;
  border:0;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  cursor:pointer;
  font-size:14px;
  font-weight:950;
  transition:.18s ease;
}

.btn-primary{
  width:100%;
  background:var(--primary);
  color:#fff;
  box-shadow:0 12px 26px rgba(11,97,126,.22);
}

.btn-primary:hover{
  background:var(--secondary);
  transform:translateY(-1px);
}

.btn-secondary{
  width:100%;
  background:#fff;
  color:var(--text);
  border:1px solid rgba(15,23,42,.12);
}

.btn-secondary:hover{background:#f8fafc}

.btn-inline{
  background:var(--primary);
  color:#fff;
  min-width:110px;
  white-space:nowrap;
}

.btn-inline:hover{background:var(--secondary)}

.btn-link{
  border:0;
  background:transparent;
  padding:0;
  color:var(--primary);
  text-decoration:none;
  font-weight:900;
  cursor:pointer;
}

.alert{
  margin-bottom:16px;
  padding:13px 14px;
  border-radius:16px;
  border:1px solid rgba(220,38,38,.20);
  background:rgba(220,38,38,.06);
  color:#991b1b;
  font-size:14px;
  font-weight:850;
  line-height:1.55;
}

.notice{
  margin-bottom:16px;
  padding:13px 14px;
  border-radius:16px;
  border:1px solid rgba(11,97,126,.16);
  background:rgba(11,97,126,.06);
  color:#07506a;
  font-size:14px;
  font-weight:850;
  line-height:1.55;
}

.panel-footer{
  margin-top:24px;
  text-align:center;
  color:#94a3b8;
  font-size:12px;
}

.form-note{
  color:#94a3b8;
  font-size:12px;
  line-height:1.6;
  margin-top:2px;
}

/* Success */

.success-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.success-shell{
  width:min(980px,100%);
  min-height:620px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
  display:grid;
  grid-template-columns:.95fr 1.05fr;
}

.success-main{
  padding:52px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.status-icon{
  width:62px;
  height:62px;
  border-radius:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(22,163,74,.10);
  color:#166534;
  font-size:30px;
  margin-bottom:20px;
  border:1px solid rgba(22,163,74,.16);
}

.success-main h2{
  margin:0;
  font-size:34px;
  letter-spacing:-.04em;
  line-height:1.08;
  color:var(--text);
}

.success-main p{
  margin:14px 0 0;
  color:var(--muted);
  line-height:1.75;
  font-size:15px;
}

.info-box{
  margin-top:24px;
  border:1px solid rgba(15,23,42,.08);
  background:#f8fafc;
  border-radius:20px;
  padding:18px;
  display:grid;
  gap:12px;
}

.info-line{
  display:flex;
  justify-content:space-between;
  gap:16px;
  border-bottom:1px solid rgba(15,23,42,.06);
  padding-bottom:10px;
  font-size:14px;
}

.info-line:last-child{border-bottom:0;padding-bottom:0}
.info-label{color:#64748b;font-weight:800}
.info-value{color:#0f172a;font-weight:950;text-align:right}

.success-actions{
  margin-top:28px;
}

@media (max-width: 920px){
  .auth-shell,
  .success-shell{
    grid-template-columns:1fr;
  }

  .auth-brand{
    min-height:auto;
    padding:34px;
  }

  .auth-panel,
  .success-main{
    padding:34px;
  }

  .auth-brand h1{
    font-size:34px;
  }

  .panel-head h2,
  .success-main h2{
    font-size:29px;
  }
}

@media (max-width: 560px){
  .auth-page,
  .success-page{
    padding:16px;
  }

  .auth-shell,
  .success-shell{
    border-radius:24px;
  }

  .auth-brand,
  .auth-panel,
  .success-main{
    padding:26px;
  }

  .field-grid,
  .inline-actions{
    grid-template-columns:1fr;
  }

  .doc-toggle{
    grid-template-columns:1fr;
  }

  .info-line{
    flex-direction:column;
    gap:2px;
  }

  .info-value{
    text-align:left;
  }
}
