* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Tilt Neon", sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: auto;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.signup-container {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 0, 0.2);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.signup-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff00, #00cc00, #00ff00);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.logo-section {
  text-align: center;
  margin-bottom: 30px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}
.logo a {
  text-decoration: none; /* removes the underline */
  color: inherit; /* keeps the button text color */
  display: flex; /* ensures the span and icon stay aligned */
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.logo i {
  font-size: 2.5rem;
  color: #00ff00;
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.logo h1 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.tagline {
  color: #888;
  font-size: 0.9rem;
  font-weight: 300;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.progress-steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step p {
  color: #888;
  font-size: 0.8rem;
  text-align: center;
}

.step.active span {
  background: #00ff00;
  color: #000;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.step.active p {
  color: #00ff00;
}

.signup-form h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 5px;
  text-align: center;
}

.subtitle {
  color: #888;
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.input-container i:first-child {
  position: absolute;
  left: 15px;
  color: #00ff00;
  z-index: 2;
}

.input-container input,
.input-container select {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid rgba(0, 255, 0, 0.3);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  appearance: none;
}

.input-container input::placeholder,
.input-container select::placeholder {
  color: #666;
}

.input-container input:focus,
.input-container select:focus {
  outline: none;
  border-color: #00ff00;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
  background: rgba(0, 0, 0, 0.7);
}

.toggle-password {
  position: absolute;
  right: 15px;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.toggle-password:hover {
  color: #00ff00;
}

.error-container {
  min-height: 20px;
  margin-top: 5px;
}

.error-message {
  color: #ff4444;
  font-size: 0.8rem;
  display: block;
}

.password-strength {
  margin-top: 5px;
  height: 5px;
  border-radius: 5px;
  background: #333;
  overflow: hidden;
}

.strength-meter {
  height: 100%;
  width: 0;
  transition: width 0.3s, background 0.3s;
  border-radius: 5px;
}

.password-strength-text {
  color: #888;
  font-size: 0.8rem;
  margin-top: 5px;
  text-align: right;
}

.form-options {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 25px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 0.9rem;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 255, 0, 0.5);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
  background: #00ff00;
  border-color: #00ff00;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #000;
  font-size: 12px;
  font-weight: bold;
}

.terms-text {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.4;
}

.terms-text a {
  color: #00ff00;
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-text a:hover {
  color: #00cc00;
  text-decoration: underline;
}
.signup-btn a {
  text-decoration: none; /* removes the underline */
  color: inherit; /* keeps the button text color */
  display: flex; /* ensures the span and icon stay aligned */
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.continue-btn,
.signup-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #00ff00, #00cc00);
  border: none;
  border-radius: 10px;
  color: #000;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  margin-bottom: 25px;
}

.continue-btn:hover,
.signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 255, 0, 0.3);
}

.continue-btn:active,
.signup-btn:active {
  transform: translateY(0);
}

.back-btn {
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  width: 100%;
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(0, 255, 0, 0.5);
}

.form-buttons {
  display: flex;
  gap: 15px;
}

.form-buttons .back-btn {
  width: 30%;
  margin-bottom: 0;
}

.form-buttons .signup-btn {
  width: 70%;
  margin-bottom: 0;
}

.login-link {
  text-align: center;
  margin-top: 20px;
}

.login-link p {
  color: #888;
  font-size: 0.9rem;
}

.login-link a {
  color: #00ff00;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.login-link a:hover {
  color: #00cc00;
  text-decoration: underline;
}

.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(0, 255, 0, 0.1),
    rgba(0, 255, 0, 0.05)
  );
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.shape-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}
.shape-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}
.shape-4 {
  width: 100px;
  height: 100px;
  top: 10%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

.hidden {
  display: none;
}

.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #00ff00;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.success-message {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 500;
}

@media (max-height: 700px) {
  .container {
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .signup-container {
    padding: 30px 25px;
  }

  .logo-section {
    margin-bottom: 20px;
  }

  .logo i {
    font-size: 2rem;
  }

  .logo h1 {
    font-size: 1.8rem;
  }

  .signup-form h2 {
    font-size: 1.5rem;
  }

  .form-group {
    margin-bottom: 15px;
  }
}

@media (max-width: 1024px) {
  .signup-container {
    max-width: 450px;
    padding: 35px;
  }
  .logo h1 {
    font-size: 2rem;
  }
  .logo i {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    padding: 10px;
  }

  .signup-container {
    padding: 30px 20px;
  }

  .logo h1 {
    font-size: 1.8rem;
  }

  .logo i {
    font-size: 1.8rem;
  }

  .form-buttons {
    flex-direction: column;
  }

  .form-buttons .back-btn,
  .form-buttons .signup-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .signup-container {
    padding: 25px 15px;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .signup-form h2 {
    font-size: 1.5rem;
  }

  .input-container input,
  .input-container select {
    padding: 12px 12px 12px 40px;
    font-size: 0.9rem;
  }

  .continue-btn,
  .signup-btn,
  .back-btn {
    padding: 12px;
    font-size: 0.9rem;
  }

  .checkbox-container {
    font-size: 0.8rem;
  }

  .step span {
    width: 35px;
    height: 35px;
  }

  .step p {
    font-size: 0.7rem;
  }
}

@media (max-height: 600px) {
  .logo-section {
    margin-bottom: 15px;
  }

  .subtitle {
    margin-bottom: 20px;
  }

  .progress-steps {
    margin-bottom: 20px;
  }
}
