/* /public_html/assets/css/register.css */

/* Theme */
:root{
  --primary:#18b5ae;
  --accent:#58dd6a;
  --bg:#ffffff;
  --text:#0f2a2a;
}

/* Base */
*{box-sizing:border-box}
html,body{height:100%;margin:0;padding:0}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Background canvas */
canvas#threads{
  position:fixed;
  inset:0;
  z-index:-1;
  opacity:.50;
}

/* Home button */
.home-btn{
  position:fixed;
  top:18px;
  left:18px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(24,181,174,.08);
  border:1px solid rgba(24,181,174,.22);
  font-weight:700;
  text-decoration:none;
  color:#0b6b64;
  backdrop-filter:blur(6px);
  transition:.15s;
}
.home-btn:hover{background:rgba(24,181,174,.12)}

/* Card */
.card{
  width:100%;
  max-width:420px;
  padding:30px;
  border-radius:20px;
  background:#ffffffdd;
  border:1px solid rgba(0,0,0,.06);
  backdrop-filter:blur(10px);
  box-shadow:0 10px 26px rgba(0,0,0,.08);
  text-align:center;
}
.card img{
  height:62px;
  margin-bottom:10px;
  filter:drop-shadow(0 0 6px rgba(24,181,174,.35));
}
h1{
  margin:6px 0 14px;
  font-size:22px;
  color:#0c4241;
}

/* Form */
label{
  display:block;
  text-align:left;
  margin:12px 0 6px;
  font-weight:600;
  font-size:13px;
  color:#0c3d3c;
}
input{
  width:100%;
  padding:12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.15);
  font-size:14px;
  transition:.15s;
}
input:focus{
  outline:2px solid rgba(24,181,174,.25);
  border-color:var(--primary);
}

/* Buttons */
.btn{
  width:100%;
  padding:12px;
  margin-top:18px;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  box-shadow:0 10px 22px rgba(24,181,174,.28);
  font-weight:700;
  color:#fff;
  font-size:15px;
  cursor:pointer;
  transition:.15s;
}
.btn:hover{transform:translateY(-2px)}

/* Messages */
.alt{
  margin-top:14px;
  font-size:14px;
}
.alt a{
  color:#0b6b64;
  font-weight:700;
  text-decoration:none;
}
.error,.ok{
  margin-top:10px;
  padding:10px;
  border-radius:10px;
  font-size:13px;
  display:none;
}
.error{
  background:#ffeaea;
  color:#a73333;
  border:1px solid #f2bcbc;
}
.ok{
  background:#ecfffb;
  color:#0b6b64;
  border:1px solid #b9efe7;
}

/* Mobile */
@media (max-width:480px){
  body{padding:20px}
  .home-btn{
    top:10px;
    left:10px;
    padding:8px 10px;
    font-size:12px;
  }
}
