



.content {
  position: relative;
  z-index: 3;
  padding: 20px;
}

.login-container {
  margin: 150px auto;
  max-width: 400px;
  padding: 30px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  text-align: center;
}

.login-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);
  border: 1px solid rgba(0,191,255, 0.8);
  box-shadow:
    0 0 8px rgba(0,191,255, 0.7),
    0 0 16px rgba(0,191,255, 0.5),
    0 0 32px rgba(0,191,255, 0.3);
}
.form-group:focus-within label {
  color: rgba(0,191,255, 1); /* яркий голубой */
  text-shadow: 0 0 5px rgba(0,191,255, 0.8);
  transition: 0.3s ease;
}
.buy-button {
  display: inline-block;
  padding: 12px 40px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.4s ease, box-shadow 0.3s ease;
  background: linear-gradient(135deg, #ff0092, rgb(0,191,255));
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite alternate;
  margin-top: 10px;
}

.buy-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,191,255,0.5);
}

.register-link {
  margin-top: 15px;
  font-size: 14px;
}

.register-link a {
  color: #ff0092;
  text-decoration: none;
}



.login {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 16px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.login:hover {
  color: #ff0092;
}
.error {
  background-color: rgba(255, 0, 0, 0.15);
  color: #ff4b4b;
  border: 1px solid rgba(255, 0, 0, 0.4);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
}
.forgot-password-link {
  margin-top: 12px;
  font-size: 13px;
}

.forgot-password-link a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.forgot-password-link a:hover {
  color: #00c3ff;
}
.hint-username {
  font-size: 13px;
  color: #ff8080;
  text-align: left;
  transition: opacity 0.3s ease;
  opacity: 1;
}

.hint-username.hidden {
  opacity: 0;
  pointer-events: none;
}

.hint-username.fadeIn {
  opacity: 1;
}

.hint-username.fadeOut {
  opacity: 0;
}
.password-wrapper {
  position: relative;
}

.password-wrapper input {
  padding-right: 40px; /* место под иконку */
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eye-icon {
  width: 22px;
  height: 22px;
  stroke: #ccc;
  transition: stroke 0.2s ease;
}

.eye-icon:hover {
  stroke: #00c3ff;
}

.eye-icon.hidden {
  display: none;
}

.hint-password {
  transition: opacity 0.3s ease;
  opacity: 1;
}

.hint-password.hidden {
  opacity: 0;
  pointer-events: none;
}

.hint-password.fadeIn {
  opacity: 1;
}

.hint-password.fadeOut {
  opacity: 0;
}


@media (max-width: 768px) and (orientation: portrait),
(max-width: 1600px) and (orientation: landscape) {
  .buy-button {
    padding: 10px 30px;
    font-size: 16px;
  }
}