/* ===== Global ===== */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f6f5f3;
  color: #222;
}

.container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 16px;
}

/* ===== LoginCard ===== */

.loginCard {
  background-color: #fff;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 80px;
  padding: 32px 28px;
  border: 3px solid #222;
  border-radius: 8px;
}

.loginCard-heading {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px 0;
}

.loginCard-actions {
  margin-top: 8px;
}

.loginCard-field {
  margin-bottom: 32px;
}

.loginCard-error {
  color: #b00020;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.loginCard-fieldLabel {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.loginCard-fieldTextBox {
  display: block;
  width: 20ch;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  color: #222;
  background-color: #fff;
  border: 2px solid #222;
  border-radius: 4px;
}

.loginCard-submitButton {
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background-color: #222;
  border: 2px solid #222;
  border-radius: 4px;
}

.loginCard-submitButton:hover {
  background-color: #767676 ;
  border-color: #767676;
}

 /* ===== NavBar ===== */

.navbar {
    display: flex;
    align-items: stretch;
    padding: 0 1rem;
    border-bottom: 2px solid #333;
    font-size: 1.25rem;
}

/* Home link — tenant name, anchored left */
.navbar-homeLink {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 1.375rem;
    padding: 0.75rem 0.75rem;
    color: #000;
    text-decoration: none;
}

.navbar-homeLink:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.navbar-homeLink-isActive {
    background-color: #333;
    color: #fff;
}

/* Grouped nav links — centered in the middle */
.navbar-links {
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
    margin: 0 auto;
}

/* Standard nav links */
.navbar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.75rem;
    color: #000;
    text-decoration: none;
    font-weight: 600;
}

.navbar-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.navbar-link-isActive {
    background-color: #333;
    color: #fff;
    font-weight: 700;
}

/* Focus ring — only visible on keyboard navigation */
.navbar-homeLink:focus-visible,
.navbar-link:focus-visible,
.navbar-logoutButton:focus-visible {
    outline: 2px solid #333;
    outline-offset: -2px;
}

/* Right-aligned session info */
.navbar-session {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-username {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
}

/* Logout button */
.navbar-logoutButton {
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    background: none;
    border: 1px solid #333;
    cursor: pointer;
}

.navbar-logoutButton:hover {
    background-color: #333;
    color: #fff;
}

.navbar-fiscalYear {
  font-size: 2.5rem;
  font-weight: 300;
  color: #595959;
  padding-left: 1rem;
}

/* messages.css */

.messages {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em 0;
}

.messages-item {
    padding: 0.75em 1em;
    margin-bottom: 0.5em;
    border-left: 4px solid;
    border-radius: 2px;
    font-size: 1rem;
    line-height: 1.4;
}

.messages-item--success {
    border-left-color: #2e7d32;
    background-color: #e8f5e9;
    color: #1b5e20;
}

.messages-item--warning {
    border-left-color: #f57f17;
    background-color: #fff8e1;
    color: #e65100;
}

.messages-item--error {
    border-left-color: #c62828;
    background-color: #fbe9e7;
    color: #b71c1c;
}

.messages-item--info {
    border-left-color: #1565c0;
    background-color: #e3f2fd;
    color: #0d47a1;
}