/* RESET */
* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* WRAPPER */
.reg-wrapper {
  /* min-height: 100vh; */
  /* background: linear-gradient(135deg, #1178ee, #14b8a6); */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* FORM */
.reg-form {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.2);
  animation: slideUp 0.6s ease;
}

/* ANIMATION */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FORM GROUP */
.form-group {
  margin-bottom: 18px;
}

/* LABEL */
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
}

/* INPUTS */
.reg-form input[type="text"],
.reg-form input[type="email"],
.reg-form input[type="password"],
.reg-form textarea,
.reg-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  outline: none;
  transition: 0.3s;
}

/* FOCUS */
.reg-form input:focus,
.reg-form textarea:focus,
.reg-form select:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20,184,166,0.2);
}

/* TEXTAREA */
textarea {
  resize: none;
  height: 90px;
}

/* RADIO GROUP */
.radio-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.radio-group label {
  font-weight: 500;
  cursor: pointer;
}

/* CAPTCHA */
.captcha-box {
  display: flex;
  gap: 12px;
  align-items: center;
}

.captcha-box img {
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

/* BUTTON */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #1178ee, #14b8a6);
  border: none;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .reg-form {
    padding: 20px;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .captcha-box {
    flex-direction: column;
    align-items: stretch;
  }
}


/* SUCCESS WRAPPER */
.success-wrap {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: linear-gradient(135deg, #ecfeff, #ccfbf1); */
  padding: 30px;
}

/* SUCCESS BOX */
.success-box {
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 40px 30px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: popUp 0.6s ease;
}

/* CHECK ICON */
.checkmark {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 10px 25px rgba(34,197,94,0.4);
}

/* HEADING */
.success-box h2 {
  color: #065f46;
  margin-bottom: 10px;
}

/* TEXT */
.success-box p {
  font-size: 16px;
  color: #334155;
  margin-bottom: 12px;
}

/* NOTE */
.success-note {
  font-size: 14px;
  color: #475569;
}

/* ANIMATION */
@keyframes popUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* MOBILE */
@media (max-width: 480px) {
  .success-box {
    padding: 30px 20px;
  }

  .success-box h2 {
    font-size: 20px;
  }
}

/* ALERT WRAPPER */
.alert-wrap {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  padding: 30px;
}

/* ALERT BOX */
.alert-box {
  background: #ffffff;
  max-width: 440px;
  width: 100%;
  text-align: center;
  padding: 38px 30px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  animation: shakeIn 0.6s ease;
  border-top: 6px solid #f97316;
}

/* ICON */
.alert-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  color: #fff;
  font-size: 38px;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 18px;
  box-shadow: 0 10px 25px rgba(249,115,22,0.45);
}

/* HEADING */
.alert-box h2 {
  color: #9a3412;
  margin-bottom: 10px;
}

/* TEXT */
.alert-box p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 12px;
}

/* NOTE */
.alert-note {
  font-size: 14px;
  color: #7c2d12;
}

/* ANIMATION */
@keyframes shakeIn {
  0% { transform: translateX(-20px); opacity: 0; }
  50% { transform: translateX(20px); }
  100% { transform: translateX(0); opacity: 1; }
}

/* MOBILE */
@media (max-width: 480px) {
  .alert-box {
    padding: 28px 20px;
  }

  .alert-box h2 {
    font-size: 20px;
  }
}
