:root{
  --tanu-green:#19AA8E;
  --tanu-yellow:#F2C40F;
  --tanu-text:#0f172a;
  --tanu-muted:#475569;
  --tanu-border:#e5e7eb;
  --tanu-bg:#ffffff;
  --tanu-soft:#f8fafc;
}

.tanu-auth-shell{
  background: var(--tanu-bg);
  border:1px solid var(--tanu-border);
  border-radius:18px;
  padding:22px;

  max-width: 1100px;
  margin: 40px auto;

  box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.tanu-auth-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 16px;
}

.tanu-auth-title{
  margin:0;
  font-size:22px;
  color: var(--tanu-text);
  letter-spacing:.2px;
}

.tanu-auth-sub{
  margin:6px 0 0;
  color: var(--tanu-muted);
  font-size:14px;
}

.tanu-auth-wrap{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  align-items:stretch;
  justify-content:center;
}

.tanu-auth-card{
  flex: 1 1 480px;
  max-width: 540px;

  background: var(--tanu-bg);
  border:1px solid var(--tanu-border);
  border-radius:16px;
  padding:16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .04);
}

.tanu-auth-card h3{
  margin:0 0 8px;
  font-size:16px;
  color: var(--tanu-text);
}

.tanu-auth-hint{
  margin:0 0 14px;
  color: var(--tanu-muted);
  font-size:13px;
  line-height:1.35;
}

.tanu-auth-field{ margin:0 0 12px; }

.tanu-auth-field label{
  display:block;
  font-size:12px;
  margin:0 0 6px;
  color: var(--tanu-muted);
}

.tanu-auth-field input[type="text"],
.tanu-auth-field input[type="email"],
.tanu-auth-field input[type="password"]{
  width:100%;
  height:44px;
  border:1px solid var(--tanu-border);
  border-radius:12px;
  padding:0 12px;
  outline:none;
  background: var(--tanu-soft);
  color: var(--tanu-text);
}

.tanu-auth-field input:focus{
  border-color: rgba(25,170,142,.55);
  box-shadow: 0 0 0 4px rgba(25,170,142,.12);
  background:#fff;
}

.tanu-auth-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.tanu-check{
  display:flex;
  align-items:center;
  gap:8px;
  color: var(--tanu-muted);
  font-size:13px;
}

.tanu-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid rgba(25,170,142,.25);
  background: var(--tanu-green);
  color:#fff;
  cursor:pointer;
  font-weight:800;
  letter-spacing:.2px;
  text-decoration:none;
  box-shadow: 0 10px 18px rgba(25,170,142,.18);
  transition: transform .12s ease, filter .12s ease, background .12s ease, border-color .12s ease;
}

.tanu-btn:hover{
  background: var(--tanu-yellow);
  border-color: rgba(242,196,15,.45);
  color: #111827;
  transform: translateY(-1px);
}

.tanu-btn:active{ transform: translateY(0); }

.tanu-btn-ghost{
  background:#fff;
  color: var(--tanu-green);
  border-color: rgba(25,170,142,.35);
  box-shadow: none;
}

.tanu-btn-ghost:hover{
  background: rgba(242,196,15,.14);
  color:#111827;
}

.tanu-link{
  color: var(--tanu-green);
  text-decoration:none;
  font-size:13px;
}
.tanu-link:hover{ text-decoration:underline; }

.tanu-divider{
  height:1px;
  background: var(--tanu-border);
  margin:14px 0;
}

.tanu-alert{
  padding:10px 12px;
  border-radius:12px;
  margin:0 0 12px;
  border:1px solid var(--tanu-border);
  background: var(--tanu-soft);
  color: var(--tanu-text);
}

.tanu-alert-error{
  border-color: rgba(239,68,68,.30);
  box-shadow: 0 0 0 4px rgba(239,68,68,.08);
}

.tanu-alert-success{
  border-color: rgba(34,197,94,.30);
  box-shadow: 0 0 0 4px rgba(34,197,94,.08);
}

/* scroll doux vers l'inscription */
html{ scroll-behavior: smooth; }

@media (max-width: 740px){
  .tanu-auth-shell{ margin: 18px 12px; }
  .tanu-auth-card{ min-width: 100%; max-width: 100%; }
}

.tanu-auth-secure{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(25,170,142,.25);
  background: rgba(25,170,142,.06);
  color: var(--tanu-green);
  font-weight:700;
  font-size:12px;
  white-space:nowrap;
}

.tanu-auth-secure-ic{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:999px;
  background: rgba(25,170,142,.10);
}


