html, body {
    height: 100%;
    margin: 0;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.login-container {
    flex: 1;
}

body {
  font-family: "Fira Sans", sans-serif;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*min-height: 70vh;*/
    color: #efefef;
    text-align: center;
}

.login-container h1 {
    color: #ff2400;
}

.login-form {
    background-color: #111;
    border: 1px solid #333;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 12px #ff2400;
    width: 100%;
    max-width: 400px;
}

.login-form label {
    display: block;
    margin-top: 1rem;
    font-weight: 500;
}

.login-form input {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid #333;
    border-radius: 4px;
    background-color: #222;
    color: #efefef;
}

.login-form button {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    background-color: #ff2400;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-form button:hover {
    background-color: #cc1d00;
}


code,
pre {
  font-family: "Fira Code", monospace;
}

header {
  background-color: #111;
  color: #efefef;
  padding: 1rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}

.zone-sigil img {
  max-height: 48px;
  filter: drop-shadow(0 0 4px #ff2400);
}

.zone-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.zone-nav a {
  color: #efefef; /* Ash Mist */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.zone-nav a:hover {
  color: #ff2400; /* Scarlet Flame */
}

.footer {
  background-color: #111;
  color: #efefef;
  padding: 2rem 1rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand img {
  max-height: 48px;
  filter: drop-shadow(0 0 4px #ff2400);
}

.footer-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #efefef;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ff2400;
}

.footer-quote {
  /*margin-top: 1.5rem;*/
  font-style: italic;
  font-size: 0.95rem;
  color: #efefef; /* Sovereign grounding */
  letter-spacing: 0.5px;
}

.footer-quote::before {
  content: '" ';
  color: #ff2400;
  font-size: 1.2rem;
}

.footer-quote::after {
  content: ' "';
  color: #ff2400;
  font-size: 1.2rem;
}

@font-face {
  font-family: "Fira Code";
  src: url("../fonts/FiraCode/FiraCode-Regular.woff2") format("woff2"),
    url("../fonts/FiraCode/FiraCode-Regular.woff") format("woff"),
    url("../fonts/FiraCode/FiraCode-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fira Sans";
  src: url("../fonts/FiraSans/FiraSans-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Mobile Stack */
@media only screen and (max-width: 600px) {
  .zone-sigil {
    display: flex;
    justify-content: center;
    padding: 1rem;
  }

  .zone-sigil img {
    max-height: 48px;
  }

  header.layout-row {
    flex-direction: column;
    gap: 1rem;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }
}
