/* =========================
   REGISTER PAGE
========================= */

/* Wrapper utama */
.register-wrap{
  min-height:calc(100vh - 140px); /* tinggi header + nav */
  display:flex;
  align-items:flex-start;         /* mulai dari atas */
  justify-content:center;
  padding:60px 20px 40px;
  background:transparent;
}

/* Card register */
.register-card{
  width:100%;
  max-width:980px;
  background:linear-gradient(145deg,#1a0d0d,#0b0e13);
  border-radius:16px;
  padding:28px 32px;
  box-shadow:0 20px 60px rgba(0,0,0,.6);
}

/* Judul */
.register-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:22px;
  margin-bottom:22px;
  color:#fff;
}

/* Form grid */
.register-form{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

/* Input full width */
.register-form .full{
  grid-column:1 / -1;
}

/* Input & select */
.register-form input,
.register-form select{
  width:100%;
  background:#0b0e13;
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  padding:12px 14px;
  border-radius:8px;
  font-size:14px;
  outline:none;
}

.register-form input::placeholder{
  color:#777;
}

.register-form input:focus,
.register-form select:focus{
  border-color:#ff5a5a;
}

/* Select */
.register-form select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
}

/* Tombol submit */
.register-form button{
  grid-column:1 / 2;
  background:linear-gradient(135deg,#ff5a5a,#d63031);
  border:none;
  padding:12px;
  border-radius:8px;
  font-weight:600;
  color:#fff;
  cursor:pointer;
  transition:opacity .2s ease;
}

.register-form button:hover{
  opacity:.9;
}

/* REGISTER TERMS */
.register-terms{
  grid-column:1 / -1;
  display:flex;
  align-items:center;     /* INI KUNCI UTAMA */
  gap:8px;
  font-size:13px;
  color:#ddd;
  line-height:1.4;
}

.register-terms input[type="checkbox"]{
  width:14px;
  height:14px;
  accent-color:#ff5a5a;   /* warna checkbox modern */
  cursor:pointer;
}

.register-terms span{
  display:inline;
}

.register-terms a{
  color:#ff5a5a;
  text-decoration:none;
  font-weight:500;
}

.register-terms a:hover{
  text-decoration:underline;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){
  .register-form{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:600px){
  .register-wrap{
    padding:40px 14px 30px;
  }

  .register-form{
    grid-template-columns:1fr;
  }

  .register-form button{
    grid-column:1 / -1;
  }
}

/* REGISTER ALERT */
.register-alert{
  grid-column:1 / -1;
  padding:12px 14px;
  border-radius:8px;
  font-size:14px;
  margin-bottom:10px;
}

.register-alert.error{
  background:rgba(214,48,49,.15);
  color:#ff7675;
  border:1px solid rgba(214,48,49,.4);
}

.register-alert.success{
  background:rgba(46,204,113,.15);
  color:#2ecc71;
  border:1px solid rgba(46,204,113,.4);
}
