.login-page {
  position: relative;
  min-height: calc(100vh - var(--topH));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#boids-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.login-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  padding: 40px 80px;
}

.auth-card {
  width: 420px;
  padding: 50px 60px;
  border-radius: 40px;
  background: var(--panel);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.auth-title {
  font-size: 36px;
  color: rgba(255,255,255,0.9);
  text-align: center;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.auth-label {
  font-size: 20px;
  color: rgba(255,255,255,0.75);
}

.auth-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding: 8px 4px;
  font-size: 18px;
  color: white;
  outline: none;
}

.auth-error {
  margin-top: 6px;
  font-size: 14px;
  color: #d97b7b;
}

.auth-remember {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-btn {
  margin-top: 20px;
  padding: 12px 0;
  font-size: 20px;
  background: rgba(255,255,255,0.75);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s ease;
}

.auth-btn:hover { background: rgba(255,255,255,0.9); }

@media (max-width: 1000px) {
  .login-wrap {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
}
