/* ===== AUTHENT ===== */
.auth-gate{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--bege);
  padding:20px;
}
.auth-box{
  max-width:480px;
  width:100%;
  text-align:center;
  padding:32px 28px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--white);
}
.auth-logo{
  width:64px;
  height:64px;
  object-fit:cover;
  border:3px solid var(--green);
  border-radius:8px;
  margin-bottom:16px;
}
.auth-box h2{
  font-weight:400;
  text-transform:uppercase;
  margin:0 0 8px;
}
.auth-message{
  color:var(--black);
  font-size:14px;
  margin-bottom:20px;
  white-space:pre-line;
}
.auth-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.auth-input-wrap{
  position:relative;
}
.auth-input-wrap input{
  width:100%;
  padding:12px 48px 12px 14px;
  border:1px solid var(--line);
  border-radius:8px;
  font-family:inherit;
  font-size:14px;
}
.auth-submit{
  position:absolute;
  top:50%;
  right:6px;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:6px;
  background:var(--blue);
  color:var(--green);
  cursor:pointer;
  transition:all .15s ease;
}
.auth-submit:hover{
  background:var(--green);
  color:var(--blue);
}

/* ===== GRID FORFAIT ===== */
.plan-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 12px;
  padding-top:12px;
}
.plan-card{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:16px;
  overflow:visible;
  cursor:pointer;
  background:var(--blue);
  padding:16px;
  margin:0;
  appearance:none;
  -webkit-appearance:none;
  transition:transform .15s ease;
}
.plan-badge{
  position:absolute;
  top:-14px;
  left:50%;
  transform:translateX(-50%);
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:var(--black);
  border-radius:50%;
  border:3px solid var(--grey);
}
.plan-icon{
  color:var(--white);
}
.plan-icon svg{
  stroke:currentColor;
}
.plan-card-label{
  font-family:inherit;
  font-size:14px;
  font-weight:800;
  color:var(--white);
  text-align:center;
  line-height:1.25;
}
.plan-card:hover{
  transform:translateY(-2px);
}
.plan-card:hover .plan-badge{
  background:var(--white);
}
.plan-card:disabled{
  opacity:.6;
  cursor:not-allowed;
  transform:none;
}

@media(max-width:400px){
  .plan-grid{
    grid-template-columns:1fr;
  }
}