/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #022d02;
  overflow: hidden;
  height: 100vh;
}

/* ===== BACKGROUND LAYERS ===== */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

#particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
  pointer-events: none;
  filter: blur(0.5px);
}

.gradient-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(0, 255, 157, 0.15), transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(50, 240, 147, 0.15), transparent 50%);
  z-index: 1;
  animation: gradientMove 10s ease-in-out infinite alternate;
}

@keyframes gradientMove {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(-30px, 20px); }
}

/* FLOATING SHAPES */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(40px);
  animation: floatUp 10s ease-in-out infinite;
}

.shape1 { width: 200px; height: 200px; background: #0ef59a; top: 80%; left: 10%; animation-delay: 0s; }
.shape2 { width: 300px; height: 300px; background: #20d073; top: 10%; right: 5%; animation-delay: 2s; }
.shape3 { width: 180px; height: 180px; background: #30f0a1; bottom: 5%; right: 20%; animation-delay: 4s; }
.shape4 { width: 250px; height: 250px; background: #76ffbf; top: 30%; left: 30%; animation-delay: 6s; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}

/* ===== SIGNUP WRAPPER ===== */
.signup-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 1rem;
}

/* ===== FORM CONTAINER ===== */
.form-container {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 3.5rem 4rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1.2s ease forwards;
  border: 1px solid rgba(0, 255, 157, 0.15);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== LOGO ===== */
.logo {
  width: 100px;
  margin-bottom: 1rem;
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== TEXT STYLING ===== */
h2 {
  font-size: 2rem;
  color: #0b3f26;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.subtitle {
  color: #275c3d;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ===== INPUTS ===== */
form input {
  display: block;
  width: 100%;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
  border: 1.5px solid #c2e8d1;
  border-radius: 12px;
  background: #f8fffa;
  font-size: 1rem;
  transition: all 0.3s ease;
}

form input:focus {
  border-color: #21cc83;
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 204, 131, 0.25);
}

/* ===== BUTTON ===== */
button {
  width: 100%;
  padding: 0.9rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #0c6d43, #29e48a);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.25);
}

button:hover {
  background: linear-gradient(135deg, #14b66b, #3df59f);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(39, 174, 96, 0.3);
}

/* ===== REDIRECT TEXT ===== */
.redirect-text {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: #2f6043;
}

.redirect-text a {
  color: #12a855;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.redirect-text a:hover {
  color: #00e084;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 500px) {
  .form-container {
    padding: 2.5rem 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .logo {
    width: 80px;
  }
}

/* ===== PAGE TRANSITION EFFECT ===== */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.fade-in {
  opacity: 1;
}

body.fade-out {
  opacity: 0;
}

/* Perfect alignment for radio buttons and labels */
.form-group .radio-group {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin: 0.8rem 0 1.4rem 0;
}

.form-group .radio-group label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #275c3d;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.form-group .radio-group input[type="radio"] {
  accent-color: #21cc83;
  width: 18px;
  height: 18px;
  margin: 0;
  vertical-align: middle;
  transform: translateY(-1px);
  cursor: pointer;
}


.admin-login {
  display: inline-block;
  margin-top: 8px;
  color: #ff9800;
  text-decoration: none;
  font-weight: bold;
}

.admin-login:hover {
  text-decoration: underline;
}
