:root {
  --main-color: #f0f4ff;
  --secondary-color: #ffffff;
  --bg-color: linear-gradient(135deg, #2a6b96 0%, #082840 100%);
  --accent-color: #9de2ff;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background-color: var(--bg-color);
  background: var(--bg-color);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.45);
}

#canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.login-form {
  position: relative;
  z-index: 1;
  width: min(380px, 90vw);
  padding: 2.25rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.login-form h2 {
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.login-form .form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.login-form label {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.login-form input {
  padding: 0.75rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.9);
  color: #062032;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.15);
}

.login-form button {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 10px;
  background: #306b8d;
  color: #031927;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.login-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.login-form a {
  color: var(--accent-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.login-form a:hover {
  text-decoration: underline;
}

.login-error {
  padding: 0.75rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
}

.success {
  color: #04d361;
}

.error {
  color: #ff6b6b;
}

.normal {
  color: var(--secondary-color);
}

.f {
  position: fixed;
  bottom: 12px;
  right: 18px;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: var(--main-color);
  text-align: center;
  z-index: 1;
  text-shadow: none;
}

.f a {
  font-size: 0.85rem;
  color: var(--secondary-color);
}

.login-form {
  width: 300px;
  margin: 150px auto;
  padding: 32px;
  background: #134264ea;
  border-radius: 8px;
  /* color: white; */
  animation-name: login-text-color-animation;
  animation-duration: 60s;
}
.login-form h2 {
  text-align: center;
}
.login-form .form-group {
  margin-bottom: 15px;
}
.login-form .form-group label {
  display: block;
  margin-bottom: 5px;
}
.login-form .form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.login-form .form-group button {
  width: 100%;
  padding: 10px;
  /* background: #134264bd; */
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 16px;
}
.login-form .form-group .error {
  color: #ffeb3b;
}
.login-error {
  /* color: #ff5722!important; */
  text-align: center;
  margin-top: 10px;
}

@keyframes login-text-color-animation {
  from {
    background-color: #13426400;
  }
  to {
    background-color: #134264ea;
  }
}
