/* ==================================================
   MBG366 REGISTER ONLY THEME
   File: mbg-register-only.css
   Target: https://mbg366.cc/register
   Requirement: body must have class .mbg-register-only
   ================================================== */

/* ==============================
   REGISTER PAGE BASE
   ============================== */

body.mbg-register-only {
  background:
    radial-gradient(circle at top, rgba(0, 200, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #03020a 0%, #000000 100%) !important;
  color: #ffffff !important;
}

body.mbg-register-only #content,
body.mbg-register-only #maincontent {
  background:
    radial-gradient(circle at top, rgba(0, 200, 255, 0.13), transparent 34%),
    linear-gradient(180deg, #03020a 0%, #000000 100%) !important;
  color: #ffffff !important;
}

/* ==============================
   REGISTER CARD / FORM WRAPPER
   ============================== */

body.mbg-register-only .card,
body.mbg-register-only .card-body,
body.mbg-register-only fieldset {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

body.mbg-register-only form {
  position: relative !important;
  margin: 18px auto 120px !important;
  padding: 26px 20px 34px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(0, 200, 255, 0.58) !important;
  background:
    radial-gradient(circle at top left, rgba(0, 200, 255, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(143, 43, 255, 0.20), transparent 38%),
    linear-gradient(180deg, rgba(8, 9, 28, 0.98), rgba(3, 0, 14, 0.99)) !important;
  color: #ffffff !important;
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.04),
    inset 0 0 24px rgba(0, 200, 255, 0.07),
    0 0 20px rgba(0, 200, 255, 0.45),
    0 0 30px rgba(143, 43, 255, 0.30) !important;
  overflow: hidden !important;
}

body.mbg-register-only form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00c8ff, #8f2bff, #ff33ff);
  box-shadow:
    0 0 12px rgba(0, 200, 255, 0.85),
    0 0 16px rgba(143, 43, 255, 0.65);
}

body.mbg-register-only form > * {
  position: relative;
  z-index: 2;
}

/* ==============================
   TITLES
   ============================== */

body.mbg-register-only h1,
body.mbg-register-only h2,
body.mbg-register-only h3,
body.mbg-register-only h4,
body.mbg-register-only h5,
body.mbg-register-only legend {
  color: #ffffff !important;
  font-weight: 900 !important;
  text-transform: none !important;
  border-left: 0 !important;
  text-shadow:
    0 0 8px rgba(0, 200, 255, 0.95),
    0 0 14px rgba(143, 43, 255, 0.65) !important;
}

body.mbg-register-only form h1,
body.mbg-register-only form h2,
body.mbg-register-only form h3 {
  margin: 0 0 26px !important;
  padding: 0 !important;
  text-align: center !important;
  font-size: 1.85rem !important;
  line-height: 1.25 !important;
}

body.mbg-register-only form h3::before,
body.mbg-register-only form h3::after {
  display: none !important;
}

/* Akun Anda / Detil Kontak */
body.mbg-register-only form h4,
body.mbg-register-only form h5,
body.mbg-register-only form legend {
  margin: 22px 0 14px !important;
  padding: 10px 13px !important;
  border-left: 4px solid #00c8ff !important;
  border-radius: 14px !important;
  background:
    linear-gradient(90deg, rgba(0, 200, 255, 0.16), rgba(143, 43, 255, 0.11), transparent) !important;
  font-size: 1.28rem !important;
  box-shadow:
    inset 0 0 12px rgba(0, 200, 255, 0.08),
    0 0 10px rgba(0, 200, 255, 0.18) !important;
}

/* ==============================
   LABELS
   ============================== */

body.mbg-register-only label,
body.mbg-register-only .form-label {
  display: block;
  margin-bottom: 7px !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 900 !important;
  text-shadow:
    0 0 6px rgba(0, 200, 255, 0.70),
    0 0 10px rgba(143, 43, 255, 0.40) !important;
}

body.mbg-register-only .form-group,
body.mbg-register-only .mb-2,
body.mbg-register-only .mb-3 {
  margin-bottom: 15px !important;
}

/* ==============================
   INPUT / SELECT / TEXTAREA
   ============================== */

body.mbg-register-only input,
body.mbg-register-only select,
body.mbg-register-only textarea,
body.mbg-register-only .form-control,
body.mbg-register-only .form-select {
  width: 100% !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 9px 42px 9px 14px !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, #050617 0%, #000000 100%) !important;
  border: 1px solid rgba(0, 200, 255, 0.72) !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  box-shadow:
    inset 0 0 10px rgba(0, 200, 255, 0.22),
    0 0 11px rgba(0, 200, 255, 0.34) !important;
  opacity: 1 !important;
  filter: none !important;
}

body.mbg-register-only textarea,
body.mbg-register-only textarea.form-control {
  height: auto !important;
  min-height: 84px !important;
  resize: vertical;
}

body.mbg-register-only input::placeholder,
body.mbg-register-only textarea::placeholder {
  color: rgba(185, 200, 255, 0.75) !important;
  font-weight: 700 !important;
}

body.mbg-register-only input:focus,
body.mbg-register-only select:focus,
body.mbg-register-only textarea:focus,
body.mbg-register-only .form-control:focus,
body.mbg-register-only .form-select:focus {
  background: #02030c !important;
  border-color: #8cefff !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow:
    0 0 0 0.15rem rgba(0, 200, 255, 0.20),
    0 0 16px rgba(0, 200, 255, 0.80),
    0 0 22px rgba(143, 43, 255, 0.45) !important;
}

/* Chrome autofill fix */
body.mbg-register-only input:-webkit-autofill,
body.mbg-register-only input:-webkit-autofill:hover,
body.mbg-register-only input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0 1000px #050617 inset !important;
  box-shadow: 0 0 0 1000px #050617 inset !important;
  border: 1px solid rgba(0, 200, 255, 0.85) !important;
}

/* Bank dropdown */
body.mbg-register-only select,
body.mbg-register-only .form-select {
  cursor: pointer !important;
  background-color: #050617 !important;
}

body.mbg-register-only select option {
  background: #050617 !important;
  color: #ffffff !important;
}

/* ==============================
   PASSWORD EYE ICON
   ============================== */

body.mbg-register-only .fa-eye,
body.mbg-register-only .fa-eye-slash,
body.mbg-register-only [id*="toggle"] i,
body.mbg-register-only [class*="toggle"] i {
  color: #8fefff !important;
  text-shadow:
    0 0 8px rgba(0, 200, 255, 0.90),
    0 0 12px rgba(143, 43, 255, 0.50) !important;
}

/* Submit button only - tidak menyentuh tombol sidebar */
body.mbg-register-only form button[type="submit"],
body.mbg-register-only form input[type="submit"],
body.mbg-register-only form .btn-primary,
body.mbg-register-only form .btn-secondary {
  width: 100% !important;
  min-height: 45px !important;
  height: 45px !important;
  margin-top: 18px !important;
  border-radius: 13px !important;
  background: linear-gradient(180deg, #28e7ff 0%, #0077ff 48%, #00358f 100%) !important;
  border: 1px solid #8cefff !important;
  color: #ffffff !important;
  font-size: 0.96rem !important;
  font-weight: 900 !important;
  text-align: center !important;
  box-shadow:
    inset 0 0 10px rgba(255, 255, 255, 0.35),
    0 0 16px rgba(0, 200, 255, 0.70),
    0 0 24px rgba(143, 43, 255, 0.35) !important;
}

/* Sidebar/hamburger tetap normal */
body.mbg-register-only #sidebarCollapse,
body.mbg-register-only #dismiss {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  background: initial !important;
  border: initial !important;
  box-shadow: initial !important;
  color: inherit !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
/* ==============================
   LINKS
   ============================== */

body.mbg-register-only a,
body.mbg-register-only .text-center a,
body.mbg-register-only form a {
  color: #8fefff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  text-shadow:
    0 0 7px rgba(0, 200, 255, 0.75),
    0 0 11px rgba(143, 43, 255, 0.45) !important;
}

body.mbg-register-only a:hover {
  color: #ffffff !important;
}

/* ==============================
   MOBILE
   ============================== */

@media (max-width: 575px) {
  body.mbg-register-only form {
    margin: 16px auto 130px !important;
    padding: 22px 16px 32px !important;
    border-radius: 18px !important;
  }

  body.mbg-register-only form h1,
  body.mbg-register-only form h2,
  body.mbg-register-only form h3 {
    font-size: 1.55rem !important;
    margin-bottom: 20px !important;
  }

  body.mbg-register-only form h4,
  body.mbg-register-only form h5,
  body.mbg-register-only form legend {
    font-size: 1.12rem !important;
    margin: 18px 0 10px !important;
    padding: 8px 10px !important;
    border-radius: 12px !important;
  }

  body.mbg-register-only input,
  body.mbg-register-only select,
  body.mbg-register-only textarea,
  body.mbg-register-only .form-control,
  body.mbg-register-only .form-select {
    min-height: 40px !important;
    height: 40px !important;
    font-size: 0.9rem !important;
  }

  body.mbg-register-only textarea,
  body.mbg-register-only textarea.form-control {
    height: auto !important;
    min-height: 78px !important;
  }

  body.mbg-register-only button,
  body.mbg-register-only input[type="submit"],
  body.mbg-register-only .btn {
    min-height: 42px !important;
    height: 42px !important;
    font-size: 0.9rem !important;
  }
}
