/* ── Base / global ── */
:root {
  --bs-primary: #003DA5;
  --bs-primary-rgb: 0, 61, 165;
  --bs-btn-bg: #003DA5;
  --bs-btn-border-color: #003DA5;
}

.number_col { text-align: right; }

html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 121px;
}

main {
  flex: 1 0 auto;
}

/* ── Top bar ── */
.topbar {
  background: #e8e8e8;
  border-bottom: 1px solid #ccc;
  padding: 0 1.5rem;
  height: 86px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
}

.topbar-title {
  font-size: clamp(16px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #111;
  white-space: nowrap;
  padding-top: 14px;
  padding-bottom: 14px;
}

.topbar-logo img {
  height: 48px;
}

/* ── Nav sub-bar ── */
.subbar {
  background: #d4a800;
  height: 42px;
  padding: 0 1.5rem;
  flex-shrink: 0;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 1039;
}

.subbar-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  margin-right: 1.5rem;
}

.subbar-nav a:hover {
  color: #fff;
}

.subbar-user {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
}

.subbar-user svg {
  width: 14px;
  height: 14px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ── Teal accent strip ── */
.accent-strip {
  background: #2a9db5;
  height: 5px;
  flex-shrink: 0;
  position: fixed;
  top: 116px;
  left: 0;
  right: 0;
  z-index: 1038;
}

/* ── Hero ── */
.hero {
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/static/img/Zr12.jpg') center center / cover no-repeat;
}

/* ── Home welcome card ── */
.home-card {
  position: relative;
  background: rgba(255, 255, 255, 0.70);
  border: 1.5px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  width: 400px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.22);
}

@media (max-width: 575.98px) {
  .home-card {
    width: 100%;
    max-width: 340px;
  }
}

/* ── Model card header (logo or name) ── */
.model-card-header {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  background: transparent;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.model-card-logo {
  max-height: 50px;
  max-width: 220px;
  object-fit: contain;
}

.model-card-header--multi {
  gap: 0.6rem;
}

.model-card-header--multi .model-card-logo {
  max-height: 40px;
  max-width: 176px;
}

.model-card-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
}

.home-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  padding: 0.9rem 1.1rem;
  margin: 0;
  border-bottom: 1px solid #ddd;
}

.home-card-user {
  color: #d4a800;
}

.model-list {
  display: flex;
  flex-direction: column;
}

.model-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.1rem;
  background: transparent;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.15s;
}

.model-list-item:last-child {
  border-bottom: none;
}

.model-list-item:hover {
  background: #f5f0dc;
  color: #111;
}

.model-list-left {
  display: flex;
  flex-direction: column;
}

.model-list-sub {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  color: #555;
  margin-top: 1px;
}

.model-list-arrow {
  width: 22px;
  height: 14px;
  color: #222;
  flex-shrink: 0;
}

/* ── Sign-in card ── */
.signin-card {
  position: relative;
  background: rgba(240, 242, 245, 0.50);
  border: 1.5px solid #ccc;
  border-radius: 14px;
  padding: 2rem 2.25rem 2.25rem;
  width: 320px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

@media (max-width: 575.98px) {
  .signin-card {
    width: 100%;
    max-width: 340px;
  }
}

.signin-card h2 {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
}

.signin-card .form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 4px;
}

.signin-card .form-control {
  height: 36px;
  font-size: 14px;
  padding: 0 10px;
  border-radius: 6px;
  border-color: #bbb;
  background: #fff;
}

.signin-card .form-control:focus {
  border-color: #888;
  box-shadow: none;
}

.signin-card .form-check-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #333;
}

.signin-card .form-check-input {
  border-radius: 3px;
}

.btn-signin {
  background: #d4a800;
  color: #111;
  border: 1px solid #a07c00;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 24px;
}

.btn-signin:hover {
  background: #c09800;
  color: #111;
  border-color: #8a6800;
}

/* card placement — top-left on md+, centered on mobile */
.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem;
}

@media (max-width: 575.98px) {
  .hero-inner {
    justify-content: center;
    padding: 1.5rem 1rem;
  }
}

/* ── Overides other CSS ── */
.djhj {
    z-index: 6000 !important;
}

.table-responsive {
  font-size: .9em !important;
}
/* ── END Overides other CSS ── */



/* ── Footer ── */
.site-footer {
  background: #111;
  height: 72px;
  padding: 0 1rem;
  flex-shrink: 0;
}

.footer-powered {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  white-space: nowrap;
}

.site-footer img {
  height: 49px;
}
