.login-container {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--background-color);
  background-image: 
    linear-gradient(rgba(0, 255, 65, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.login-box {
  width: 100%;
  max-width: 400px;
  background-color: var(--secondary-color);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.login-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.login-header h1 {
  font-size: 2.5rem;
  letter-spacing: 10px;
  font-weight: bold;
}

.login-header p {
  font-size: 0.7rem;
  letter-spacing: 2px;
  opacity: 0.6;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.7rem;
  opacity: 0.8;
  letter-spacing: 1px;
}

.login-form input {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] .login-form input {
  background-color: rgba(255, 255, 255, 0.7);
  color: var(--ink, #1a1a1a);
}

.error-msg {
  color: #ff4141;
  font-size: 0.8rem;
  text-align: center;
  padding: 8px;
  border: 1px solid #ff4141;
  background-color: rgba(255, 65, 65, 0.1);
}

.login-form button {
  padding: 12px;
  margin-top: 8px;
  font-weight: bold;
  letter-spacing: 2px;
  justify-content: center;
}

.login-footer {
  text-align: center;
  font-size: 0.6rem;
  opacity: 0.4;
  letter-spacing: 1px;
}
