

.form-wrapper {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.form-container {
  max-width: 420px;
  width: 100%;
  padding: 30px;
  background: rgba(0,0,0,0.5);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  text-align: center;
}

.form-container h2 {
  margin-bottom: 20px;
}

.form-group {
  text-align: left;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #ccc;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 15px;
  transition: 0.3s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus {
  outline: none;
  background-color: rgba(255,255,255,0.12);
  box-shadow: 0 0 12px rgba(0,191,255,0.4);
  border-color: rgba(0,191,255,0.5);
}

.submit-button {
  display: block;
  width: 100%;
  padding: 14px 25px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: linear-gradient(135deg, #a64bf4, #00c3ff);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite alternate;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-top: 10px;
  overflow: hidden; /* важно, если внутри есть анимации */
}

.submit-button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 12px rgba(0, 191, 255, 0.5);
}

.link-group {
  margin-top: 15px;
  font-size: 14px;
}

.link-group a {
  color: #ff0092;
  text-decoration: none;
}

.form-message {
  padding: 12px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
}

.form-message.error {
  background-color: rgba(255, 50, 50, 0.1);
  border: 1px solid rgba(255, 50, 50, 0.3);
  color: #ff4d4d;
}

.form-message.success {
  background-color: rgba(50, 255, 150, 0.1);
  border: 1px solid rgba(50, 255, 150, 0.3);
  color: #66ffb3;
}
.improved-links {
  margin-top: 20px;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.improved-links .btn-link {
  color: #ff0092;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.improved-links .btn-link:hover {
  color: #00c3ff;
}
