/* ==== REGISTER PAGE ==== */

.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
  padding: 40px 20px;
}

.register-card {
  background: rgba(10, 25, 50, 0.6);
  border: 1px solid rgba(0, 180, 255, 0.2);
  border-radius: 18px;
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  color: #e0f3ff;
  box-shadow: 0 0 30px rgba(0, 150, 255, 0.3);
  backdrop-filter: blur(10px);
  animation: slideFade 0.8s ease;
}

.register-card img {
  width: 80px;
  border-radius: 12px;
  margin-bottom: 16px;
  filter: drop-shadow(0 0 8px rgba(0, 200, 255, 0.6));
}

.register-card h2 {
  color: #00baff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.register-card p {
  color: #b9dfff;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.register-card input,
.register-card select,
.register-card textarea {
  width: 100%;
  padding: 12px 14px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 150, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #eaf7ff;
  font-size: 15px;
  transition: all 0.3s ease;
}

.register-card input:focus,
.register-card select:focus,
.register-card textarea:focus {
  outline: none;
  border-color: #00baff;
  box-shadow: 0 0 10px rgba(0, 180, 255, 0.4);
}

.register-card textarea {
  height: 80px;
  resize: none;
}

.register-card button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  background: linear-gradient(90deg, #00aaff, #00d0ff);
  color: #001020;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

.register-card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 200, 255, 0.6);
}

.error {
  color: #ff6b6b;
  background: rgba(255, 0, 0, 0.1);
  padding: 8px;
  border-radius: 8px;
  margin-top: 12px;
}

.success {
  color: #50fa7b;
  background: rgba(80, 250, 123, 0.1);
  padding: 8px;
  border-radius: 8px;
  margin-top: 12px;
}

.login-link {
  margin-top: 20px;
  color: #bde3ff;
  font-size: 0.9rem;
}

.login-link a {
  color: #00c0ff;
  font-weight: 600;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

@keyframes slideFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
