.login-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: 2rem;
  box-sizing: border-box;
}

.login-card {
  background-color: var(--navbar-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: var(--card-shadow, 0 2px 8px rgba(0,0,0,0.1));
  padding: 40px;
  width: 100%;
  max-width: 450px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.login-card h1 {
  color: var(--button-bg);
  font-size: 2em;
  margin-bottom: 10px;
  text-align: center;
}

.login-card p {
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.5;
  text-align: center;
}

.login-error {
  background-color: rgba(255, 73, 73, 0.1);
  color: #ff4949;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.login-form {
  background: none;
  border: none;
  padding: 0px;
}

.login-input-field {
  border: 2px solid var(--card-border);
  border-radius: 6px;
  padding: 9px;
  font-size: 1em;
  background-color: var(--navbar-bg);
  color: var(--text);
  transition: all 0.3s ease;
  font-family: inherit;
  text-align: center;
  box-sizing: border-box;
}

.login-input-field:hover,
.login-input-field:focus {
  border-color: var(--button-bg);
  background-color: var(--background);
  outline: none;
}

.login-submit-button {
  background: var(--button-bg);
  color: var(--button-text);
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: auto;
  margin: 0 auto;
}

.login-submit-button:hover {
  background: var(--button-hover-bg, #0056b3);
}

.login-submit-button:disabled {
  background-color: var(--button-disabled-bg, #cccccc);
  cursor: not-allowed;
  opacity: 0.7;
}

.login-status-message,
.login-error-message {
  text-align: center;
  margin-top: 10px;
  font-size: 0.9em;
}

.login-error-message {
  color: var(--error-text, #721c24);
  background-color: var(--error-bg, #f8d7da);
  padding: 10px;
  border-radius: 4px;
  border: 1px solid var(--error-border, #f5c6cb);
}

.dark-mode .login-error-message {
  color: var(--error-text-dark, #f5c6cb);
  background-color: var(--error-bg-dark, #4d1f24);
  border-color: var(--error-border-dark, #721c24);
}

.login-privacy-note {
  color: var(--text-muted,#6c757d);
  font-size: .85em;
  text-align: center;
  max-width: 250px;
  margin: auto;
  margin-top: 15px;
}

.login-status p {
  font-size: 1.1em;
  color: var(--text-muted, var(--text));
}
