/* Fullscreen background using /ui/warroom.webp */
.warroom-login-page {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f7f7f7;

  background:
    #000
    url("warroom.webp")
    no-repeat
    center center fixed;
  background-size: cover;

  display: flex;
  justify-content: center;   /* center horizontally */
  align-items: flex-start;   /* stick near top */
}

/* Container that gives us top spacing */
.warroom-login-shell {
  width: 100%;
  max-width: 480px;
  padding-top: 3.5rem;
  padding-inline: 1rem;
}

/* Ferrari red login card */
.warroom-login-card {
  background: linear-gradient(135deg, #d00000, #ff2800);
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow:
    0 18px 35px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Title + subtitle */
.warroom-login-title {
  margin: 0 0 0.25rem;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.warroom-login-subtitle {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Form layout */
.warroom-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.warroom-login-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* Inputs */
.warroom-login-input {
  margin-top: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.warroom-login-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.warroom-login-input:focus {
  border-color: #ffe066;
  box-shadow: 0 0 0 1px rgba(255, 224, 102, 0.7);
  background: rgba(0, 0, 0, 0.45);
}

/* Error message */
.warroom-login-error {
  min-height: 1.2rem;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #ffe5e5;
}

/* Actions row with button right-aligned */
.warroom-login-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
}

/* Login button */
.warroom-login-button {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fdfdfd;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.warroom-login-button:hover {
  background: #1f1f1f;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.warroom-login-button:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.warroom-login-button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

/* Small-screen tweaks */
@media (max-width: 480px) {
  .warroom-login-shell {
    padding-top: 2.5rem;
  }

  .warroom-login-card {
    padding: 1.4rem 1.1rem 1.1rem;
  }
}
