/* =========================================
   CX3C STORE - Registro
   Archivo: css/registro.css
========================================= */

:root{
  --bg1:#05071a;
  --bg2:#13003b;
  --card:#0b1024cc;
  --border:#26314f;
  --text:#e8ecff;
  --muted:#aab3d4;
  --muted2:#7e8ab8;

  --primary1:#5b6bff;
  --primary2:#7b4bff;

  --danger:#ff4d6d;
  --ok:#22c55e;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family:"Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(91,107,255,.20), transparent 55%),
    radial-gradient(900px 500px at 80% 30%, rgba(123,75,255,.18), transparent 55%),
    linear-gradient(135deg, var(--bg2), var(--bg1));
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

/* Wrap general */
.login-wrap{
  width:100%;
  max-width:520px;
}

/* Header */
.login-header{
  text-align:center;
  margin-bottom:18px;
}

.login-header h1{
  margin:0 0 8px 0;
  font-size:44px;
  letter-spacing:-0.02em;
  line-height:1.05;
  text-shadow:0 12px 35px rgba(0,0,0,.45);
}

.login-header p{
  margin:0;
  color:var(--muted);
  font-size:15px;
}

/* Card / Form */
.login-card{
  margin-top:18px;
  background:var(--card);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  padding:22px;
  backdrop-filter: blur(10px);
  box-shadow:0 25px 70px rgba(0,0,0,.55);
}

.login-card label{
  display:block;
  margin:14px 0;
  color:var(--muted);
  font-size:13px;
}

/* Inputs */
.login-card input[type="email"],
.login-card input[type="password"],
.login-card input[type="text"]{
  width:100%;
  margin-top:8px;
  padding:14px 14px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(8,12,28,.85);
  color:var(--text);
  outline:none;
  font-size:15px;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
  box-shadow:0 10px 26px rgba(0,0,0,.25);
}

.login-card input::placeholder{
  color:rgba(170,179,212,.55);
}

.login-card input:focus{
  border-color:rgba(91,107,255,.55);
  box-shadow:0 0 0 4px rgba(91,107,255,.18), 0 18px 40px rgba(0,0,0,.35);
  transform: translateY(-1px);
}

/* Checkbox row */
.checkbox{
  display:flex !important;
  align-items:flex-start;
  gap:10px;
  margin-top:10px;
  padding-top:6px;
  line-height:1.35;
  user-select:none;
}

.checkbox input[type="checkbox"]{
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color: var(--primary1);
}

.checkbox a{
  color:rgba(159,168,255,.95);
  text-decoration:none;
  border-bottom:1px dashed rgba(159,168,255,.55);
  transition: opacity .12s ease, border-color .12s ease;
}

.checkbox a:hover{
  opacity:.95;
  border-color:rgba(159,168,255,.95);
}

/* Primary button */
.btn-primary{
  width:100%;
  margin-top:14px;
  padding:14px 16px;
  border:0;
  border-radius:14px;
  cursor:pointer;
  color:#fff;
  font-weight:700;
  font-size:15px;
  letter-spacing:.2px;
  background: linear-gradient(135deg, var(--primary1), var(--primary2));
  box-shadow:0 18px 40px rgba(91,107,255,.25);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow:0 22px 55px rgba(91,107,255,.35);
  filter:saturate(1.05);
}

.btn-primary:active{
  transform: translateY(0px);
  box-shadow:0 12px 30px rgba(91,107,255,.25);
}

/* Message */
.form-msg{
  margin-top:12px;
  min-height:18px;
  font-size:13px;
  color:var(--muted);
}

/* Footer link */
.login-footer{
  text-align:center;
  margin-top:14px;
}

.btn-ghost{
  display:inline-block;
  padding:10px 12px;
  color:rgba(170,179,212,.95);
  text-decoration:none;
  border-radius:12px;
  transition: background .12s ease, color .12s ease;
}

.btn-ghost:hover{
  background:rgba(255,255,255,.06);
  color:#fff;
}

/* Responsive */
@media (max-width: 520px){
  .login-header h1{ font-size:36px; }
  .login-card{ padding:18px; border-radius:16px; }
}