/* Login page. */

.login-body {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: var(--wa-bg);
  overflow: auto;
}

.login-body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: var(--wa-green);
  z-index: 0;
}

.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: var(--wa-panel-header);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.login-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--wa-text);
  margin-bottom: 4px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--wa-text-secondary);
  margin-bottom: 28px;
}

.login-error {
  background: rgba(244, 67, 54, 0.15);
  color: #f88;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 16px;
}

.login-form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.login-label {
  font-size: 13px;
  color: var(--wa-text-secondary);
  margin-bottom: 6px;
}

.login-input {
  background: #2a3942;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--wa-text);
  font-size: 15px;
  outline: none;
  margin-bottom: 18px;
  transition: border-color 0.15s;
}

.login-input:focus {
  border-color: var(--wa-green);
}

.login-btn {
  background: var(--wa-green);
  color: #04201a;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.15s;
}

.login-btn:hover {
  background: #06cf9c;
}
