
:root { --nav-h: 70px; }

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}
body {
  padding-top: var(--nav-h, 70px);
}
.navbar {
  background-color: #001f4d; /* Navy/Dark Blue */
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: white !important;
}

.nav-item a {
  color: white !important;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
}

.nav-item a:hover {
  color: #ccc !important;
}

.nav-item .icon {
  font-size: 1.5rem;
}

.navbar-text {
  color: white;
  font-family: 'Poppins', sans-serif;
  margin-right: 1rem;
}
.left-pane {
    background-color: #f0f4ff;
    width: 250px;
    position: fixed;
    top: var(--nav-h);
    bottom: 0;
    left: 0;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
}
.left-pane.collapsed {
    transform: translateX(-100%);
}
.left-pane h5 {
    padding: 15px 20px;
    color: #001f4d;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid #dde5ff;
}
.left-pane ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.left-pane ul li {
    padding: 10px 20px;
}
.left-pane ul li a {
    text-decoration: none;
    color: #001f4d;
    font-size: 0.95rem;
    display: block;
}
.left-pane ul li a:hover {
    background-color: #dde5ff;
    border-radius: 5px;
}
.main-content {
    margin-left: 250px;
    padding: 20px;
}
.main-content.collapsed {
    margin-left: 0;
}

.floating-action {
    position: fixed;
    top: calc(var(--nav-h) + 20px);
    right: 20px;
    background-color: #000;
    color: #007bff;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1050;
}
.btn-circle {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.white-large {
    color: white;
    font-size: 1.5rem;
}
.fixed-left {
    position: fixed;
    left: 15px;
    z-index: 1050;
}

@media (max-width: 768px) {
    .left-pane {
        transform: translateX(-100%);
    }
    .left-pane.collapsed {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .main-content.collapsed {
        margin-left: 250px;
    }
}
.card-number {
  font-size: 2rem;
  font-weight: 500;
}

.card.h-100 {
  height: 100%;
}
.totals-row th,
.totals-row td {
  font-weight: bold;
}
.staff-filter {
  margin-bottom: 1rem;
}

#calendar {
  max-width: none;
  margin: 0 auto;
}
body.login-body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(48, 105, 190, 0.22), transparent 38%),
    linear-gradient(135deg, #001f4d 0%, #063b78 55%, #0e5aa7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

.login-container {
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.login-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.login-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #001f4d;
}

.login-error {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.login-form label {
  display: block;
  text-align: left;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #001f4d;
}

.login-form input {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.btn-login {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem;
  background-color: #001f4d;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: #003380;
}
.systems-tab h4 {
  margin-bottom: 1rem;
}
.systems-tab table td, .systems-tab table th {
  vertical-align: middle;
}


.auth-check{display:flex;gap:.65rem;align-items:flex-start;color:#42516a;font-size:.9rem;line-height:1.5}.auth-check input{width:auto!important;margin-top:.25rem}.auth-check a{color:#0e3d8d}

/* =========================================================
   Login / authentication pages
   ========================================================= */
.login-body .bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
    radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 0.08), transparent 28%);
}

.login-body .auth-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 40px 40px;
}

.auth-shell {
  width: 100%;
  max-width: 480px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.auth-card {
  width: 100%;
  box-sizing: border-box;
  padding: 36px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(0, 18, 48, 0.3);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.auth-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.auth-brandtext {
  display: flex;
  flex-direction: column;
}

.auth-brandtext strong {
  color: #001f4d;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.auth-brandtext span {
  margin-top: 3px;
  color: #667085;
  font-size: 0.82rem;
}

.auth-title {
  margin: 0 0 8px;
  color: #001f4d;
  font-size: 1.9rem;
  font-weight: 700;
}

.auth-sub {
  margin: 0 0 25px;
  color: #667085;
  font-size: 0.94rem;
  line-height: 1.55;
}

.auth-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #f3b8b8;
  border-radius: 8px;
  color: #9f1c1c;
  background: #fff1f1;
  font-size: 0.9rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field label {
  display: block;
  margin-bottom: 7px;
  color: #22324d;
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-field input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #cbd3df;
  border-radius: 8px;
  outline: none;
  color: #172033;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
  border-color: #0e5aa7;
  box-shadow: 0 0 0 3px rgba(14, 90, 167, 0.14);
}

.auth-form .btn-login {
  margin-top: 2px;
}

.auth-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  color: #697386;
  font-size: 0.78rem;
  line-height: 1.5;
}

.auth-foot a {
  color: #0e3d8d;
  font-weight: 600;
  text-decoration: none;
}

.auth-foot a:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .auth-shell {
    padding: 16px;
  }

  .auth-card {
    padding: 26px 22px;
    border-radius: 14px;
  }

  .auth-foot {
    flex-direction: column;
  }
}

