.login-shell {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}

.login-shell::before {
  background: radial-gradient(circle at center, rgba(200, 168, 78, 0.07) 0%, transparent 65%);
  content: '';
  height: 700px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  z-index: 0;
}

.login-card {
  background: #141414;
  border: 1px solid #2A2A2A;
  border-radius: 12px;
  max-width: 26rem;
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  z-index: 1;
}

.login-card:focus-within {
  border-color: rgba(200, 168, 78, 0.4);
  box-shadow: 0 0 30px rgba(200, 168, 78, 0.08);
}

@media (max-width: 480px) {
  .login-card { padding: 1.75rem 1.25rem; }
}

.login-brand {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  text-align: center;
}

.login-logo {
  display: block;
  height: 120px;
  width: 120px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.login-title {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.login-sub {
  color: #888;
  font-size: 0.75rem;
  margin-top: 0.35rem;
}

.login-divider {
  background: linear-gradient(90deg, transparent, rgba(200, 168, 78, 0.4), transparent);
  height: 1px;
  margin: 0 0 1.75rem;
}

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

.field-input.is-invalid {
  border-color: rgba(220, 38, 38, 0.6);
}

.password-wrap {
  position: relative;
}

.password-input {
  padding-right: 2.4rem;
}

.password-toggle {
  align-items: center;
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 0 0.7rem;
  position: absolute;
  right: 0;
  top: 0;
  transition: color 0.2s ease;
}

.password-toggle:hover { color: #C8A84E; }
.password-toggle:focus-visible {
  color: #C8A84E;
  outline: none;
}

.login-submit {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  min-height: 44px;
}

.login-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.login-submit-spinner {
  animation: loginSpin 0.65s linear infinite;
  border: 2px solid rgba(10, 10, 10, 0.25);
  border-radius: 50%;
  border-top-color: #0A0A0A;
  display: inline-block;
  height: 16px;
  width: 16px;
}

@keyframes loginSpin {
  to { transform: rotate(360deg); }
}

.login-copyright {
  color: #555;
  font-size: 0.7rem;
  margin-top: 1.5rem;
  position: relative;
  text-align: center;
  z-index: 1;
}
