.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--plum);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 1;
}

.login-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.login-logo {
  width: 80px;
  margin-bottom: 1.25rem;
}

.login-card h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--plum);
  margin-bottom: 0.35rem;
}

.login-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.login-form {
  text-align: left;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 0.4rem;
}

.field input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid var(--blush-mid);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196, 77, 138, 0.15);
}

.login-error {
  font-size: 0.85rem;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.btn-login {
  display: block;
  width: 100%;
  padding: 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--plum) 0%, var(--rose) 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(122, 45, 92, 0.25);
}

.btn-login:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(122, 45, 92, 0.35);
}

.btn-login--outline {
  background: transparent;
  color: var(--plum);
  border: 1px solid var(--blush-mid);
  box-shadow: none;
}

.demo-accounts {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 77, 138, 0.12);
  text-align: left;
}

.demo-accounts p {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.demo-accounts ul {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.login-card--denied .denied-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.denied-detail {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.denied-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: white;
  background: #5865f2;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
}

.discord-info {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(196, 77, 138, 0.12);
}

.discord-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: center;
}

.setup-warning {
  font-size: 0.82rem;
  color: var(--text-soft);
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.35);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  text-align: left;
  line-height: 1.6;
}

.setup-warning ul {
  margin: 0.5rem 0 0.5rem 1.25rem;
}

.setup-warning code {
  font-size: 0.78rem;
  background: rgba(0, 0, 0, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.setup-warning a {
  color: var(--plum);
}
