body {
  font-family: 'Segoe UI', sans-serif;
  padding-top: 70px;

  /* Background image with gradient overlay */
  background: 
    linear-gradient(to right, rgba(31,64,55,0.7), rgba(153,242,200,0.3), rgba(0,210,255,0.4)),
    url('cyber-bg.jpg') no-repeat center center fixed;
  background-size: cover;

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 40px 20px;
}

.register-container {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 500px;
  margin: 50px auto;
}

.register-container h2 {
  text-align: center;
  color: #00bcd4;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 1px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  color: #e0e0e0;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #00bcd4;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  color: #fff;
}

/* Fix dropdown issue */
.input-group select {
  background-color: rgba(0,0,0,0.7); /* dark background */
  color: #fff; /* visible text */
}

.input-group select option {
  background-color: #222; /* dropdown list background */
  color: #fff; /* option text */
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: #38a169;
  background: rgba(0,188,212,0.07);
}

.checkbox-group {
  margin-bottom: 20px;
  font-size: 14px;
  color: #e0e0e0;
}

button {
  width: 100%;
  padding: 12px;
  background-color: #00bcd4;
  color: white;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,188,212,0.15);
  transition: background 0.3s, box-shadow 0.3s;
}

button:hover {
  background-color: #0097a7;
  box-shadow: 0 4px 16px rgba(0,188,212,0.25);
}

.login-link,
.homepagelink {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
}

/* Extra: button bounce animation */
.bounce {
  animation: bounce 0.4s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Input glow effect */
.glow {
  box-shadow: 0 0 8px #00bcd4;
}

/* Small screens */
@media (max-width: 600px) {
  .register-container {
    padding: 20px 10px;
    max-width: 95vw;
  }
}
