/* mobile-first, moderno, tons de verde - login.css */

/* reset simpĺes */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  background: linear-gradient(180deg,#f2fff7 0%, #ffffff 50%, #ffffff 100%);
  color:#0b2f1a;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;

}

/* Root */
.auth-root{
  width:100%;
  max-width:420px;
}

/* Card */
.auth-card{
  background:linear-gradient(180deg, #ffffffcc, #fbfffc);
  border-radius:16px;
  padding:22px;
  box-shadow: 0 10px 30px rgba(10,20,10,0.06);
  border: 1px solid rgba(6,80,34,0.06);
}

/* Header */
.auth-header{
  text-align:center;
  margin-bottom:14px;
}
.logo-circle{
  width:72px;
  height:72px;
  margin:0 auto 8px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;

  background:linear-gradient(135deg,#0ea861 0%, #0aa350 100%);
  color:white;
  font-weight:700;
  font-size:20px;
  box-shadow: 0 6px 18px rgba(10,160,80,0.18);
}
.auth-header h1{
  font-size:20px;
  margin:6px 0 2px;
}
.subtitle{font-size:13px;color:#2d6b46;opacity:0.9}

/* Alerts */
.alert{padding:10px;border-radius:8px;margin-bottom:12px;font-size:14px}
.alert.error{background:#ffecec;color:#7a1f1f;border:1px solid #ffd0d0}

/* Form */
.field{display:block;margin-bottom:12px}
.label-text{display:block;font-size:13px;margin-bottom:6px;color:#235233}
.field input[type="email"],
.field input[type="password"],
.field input[type="number"],
.field textarea {
  width:100%;
  padding:12px 12px;
  border-radius:10px;
  border:1px solid #e6efe6;
  background:#fbfffb;
  font-size:15px;
  outline:none;
}
.field textarea{min-height:90px;resize:vertical;padding:10px}

/* password input with toggle */
.password-wrap{display:flex;align-items:center;gap:8px}
.password-wrap .btn-icon{
  border:0;background:transparent;font-size:16px;cursor:pointer;padding:6px;border-radius:8px;
}

/* row-between */
.row-between{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:14px}
.checkbox{display:flex;gap:8px;align-items:center;font-size:14px}
.checkbox input{width:16px;height:16px}

/* Buttons */
.btn-primary{
  display:block;width:100%;padding:12px;border-radius:10px;border:0;
  background:linear-gradient(90deg,#0ea861,#08a34f);
  color:#fff;font-weight:700;font-size:15px;
  box-shadow:0 8px 18px rgba(10,160,80,0.16);
  cursor:pointer;
}
.btn-primary:active{transform:translateY(1px)}
.btn-outline{
  display:block;width:100%;padding:10px;border-radius:10px;border:1px solid #cfead7;background:transparent;color:#0a6b3a;font-weight:600;margin-top:12px;cursor:pointer;
}

/* OR divider */
.or{display:flex;align-items:center;gap:10px;margin:12px 0}
.or span{background:#fff;padding:6px;border-radius:20px;font-size:13px;color:#4a8a61}
.or:before,.or:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#dbeedf,transparent)}

/* footer */
.auth-footer{text-align:center;margin-top:14px;color:#2b5e3c;font-size:13px}

/* Desktop tweaks */
@media(min-width:900px){
  body{background:linear-gradient(180deg,#f0fff7,#eafff3)}
  .auth-card{padding:28px;max-width:420px}
  .logo-circle{width:84px;height:84px;border-radius:16px;font-size:24px}
}
