/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ===============================
   BODY
================================ */
body {
  min-height: 100vh;
  background: #dbe9f8;
  display: flex;
  color: #000000;
  flex-direction: column  ;
}
main {
    flex: 1;
    margin-top: 3%;
}

/* ===============================
   WRAPPER
================================ */
.register-wrapper {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
}

/* ===============================
   CARD
================================ */
.register-card {
  background:#bad9f3;
  width: 100%;
  max-width: 460px;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 22px 55px rgba(0,0,0,0.65);
  animation: fadeUp 0.9s ease;
}

/* ===============================
   HEADINGS
================================ */
.register-card h1 {
  text-align: center;
  color: #000000;
  font-size: 2.3em;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 1em;
  color: #000000;
  margin-bottom: 30px;
}

/* ===============================
   INPUT GROUP
================================ */
.input-group {
  margin-bottom: 18px;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9em;
  color: #000000;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  outline: none;
  background: #d1f7f8;
  color: #000000;
  font-size: 1em;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.input-group input:focus {
  box-shadow: 0 0 0 2px #38bdf8;
  transform: scale(1.01);
}

/* ===============================
   BUTTON
================================ */
.register-btn {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #1E88E5, #1565C0);
  color: #020617;
  font-size: 1.05em;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.register-btn:hover {
  background:#3f7cd2;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(56,189,248,0.5);
}

.register-btn:active {
  transform: scale(0.95);
}

/* ===============================
   LOGIN LINK
================================ */
.login-text {
  text-align: center;
  margin-top: 25px;
  font-size: 0.95em;
  color: #94a3b8;
}

.login-text a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
}

.login-text a:hover {
  text-decoration: underline;
}
/* jh */

/* ===============================
   ANIMATION
================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 480px) {
  .register-card {
    padding: 30px 22px;
  }

  .register-card h1 {
    font-size: 2em;
  }
}