html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

/* --- VendorTrack brand palette (matches Rad Resolve / Follow-Up Manager) --- */
:root {
  --vt-navy: #0f1e31;
  --vt-navy-dark: #0a1524;
  --vt-blue: #5784b5;
  --vt-blue-dark: #3f6a99;
  --vt-blue-light: #e9f0f7;
  --vt-sidebar-width: 240px;
}

body {
  background-color: #f5f7fa;
}

a {
  color: var(--vt-blue-dark);
}

a:hover {
  color: var(--vt-navy);
}

main h1 {
  color: var(--vt-navy);
  font-weight: 600;
}

main h2,
main h3,
main h4 {
  color: var(--vt-navy);
}

.table thead th {
  background-color: var(--vt-blue-light);
  color: var(--vt-navy);
  border-bottom: 2px solid var(--vt-blue);
  font-weight: 600;
}

.card {
  border-color: rgba(15, 30, 49, 0.1);
}

.btn-primary {
  background-color: var(--vt-navy);
  border-color: var(--vt-navy);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--vt-blue-dark) !important;
  border-color: var(--vt-blue-dark) !important;
}

.btn-outline-primary {
  color: var(--vt-blue-dark);
  border-color: var(--vt-blue);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--vt-blue) !important;
  border-color: var(--vt-blue) !important;
  color: #fff !important;
}

.text-primary {
  color: var(--vt-blue-dark) !important;
}

.border-primary {
  border-color: var(--vt-navy) !important;
}

.form-check-input:checked {
  background-color: var(--vt-navy);
  border-color: var(--vt-navy);
}

.badge.text-bg-secondary {
  background-color: var(--vt-navy) !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--vt-blue);
}

/* --- App shell: fixed left sidebar + main content column --- */
.vt-shell {
  display: flex;
  min-height: 100vh;
}

.vt-sidebar {
  width: var(--vt-sidebar-width);
  flex-shrink: 0;
  background-color: var(--vt-navy);
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 1030;
  transition: transform 0.2s ease;
}

.vt-sidebar-brand {
  padding: 1.1rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.02em;
}

.vt-sidebar-brand a {
  color: #fff;
  text-decoration: none;
}

.vt-nav {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0.75rem;
}

.vt-nav-section-label {
  padding: 0.9rem 1rem 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

.vt-nav-link {
  display: block;
  padding: 0.5rem 0.85rem;
  margin-bottom: 0.15rem;
  border-radius: 0.35rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  border-left: 3px solid transparent;
}

.vt-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.vt-nav-link.active {
  background-color: var(--vt-blue);
  color: #fff;
  border-left-color: #fff;
  font-weight: 600;
}

.vt-sidebar-footer {
  margin-top: auto;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.vt-sidebar-footer a {
  color: rgba(255, 255, 255, 0.65);
}

.vt-sidebar-footer a:hover {
  color: #fff;
}

.vt-main {
  flex: 1;
  margin-left: var(--vt-sidebar-width);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vt-topbar {
  background-color: #fff;
  border-bottom: 1px solid rgba(15, 30, 49, 0.1);
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 1020;
}

.vt-sidebar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--vt-navy);
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

.vt-content {
  flex: 1;
  padding: 1.5rem;
}

.vt-footer {
  background-color: var(--vt-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
}

.vt-footer a {
  color: rgba(255, 255, 255, 0.9);
}

.vt-footer a:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  .vt-sidebar {
    transform: translateX(-100%);
  }

  .vt-sidebar.vt-sidebar-open {
    transform: translateX(0);
  }

  .vt-main {
    margin-left: 0;
  }

  .vt-sidebar-toggle {
    display: inline-block;
  }
}

/* --- Login splash screen --- */
.vt-splash {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--vt-navy) 0%, var(--vt-blue-dark) 100%);
  padding: 2rem 1rem;
}

.vt-splash-card {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 3rem rgba(15, 30, 49, 0.35);
  padding: 2.5rem 2.5rem 2rem;
  width: 100%;
  max-width: 26rem;
  text-align: center;
}

.vt-splash-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vt-navy);
  margin-bottom: 0.25rem;
}

.vt-splash-tagline {
  color: var(--vt-navy);
  opacity: 0.65;
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
}

.vt-splash-card form {
  text-align: left;
}
