/* ProLegal Suite Theme (corporate match) */

/* ===== Top teal bar ===== */
.pl-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px; /* teal bar height */
  background: linear-gradient(90deg, #011B1D 0%, #008694 100%);
  z-index: 1031; /* above page, below navbar */
}
.pl-topbar .container { height: 100%; }
.pl-topbar-content{
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* right-aligned like the comps */
  gap: 28px;
  color: rgba(255,255,255,.92);
  font-weight: 400; /* light face */
  letter-spacing: .02em;
}
.pl-topbar-link,
.pl-topbar-phone{
  color: rgba(255,255,255,.92);
  text-decoration: none;
}
.pl-topbar-link:hover,
.pl-topbar-phone:hover{
  text-decoration: underline;
}

/* ===== Header / Navbar ===== */
.pl-navbar {
  position: fixed;
  top: 56px; /* sit directly below teal bar */
  left: 0; right: 0;
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #C0CDD2;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
  min-height: 80px;
  align-items: center;
  z-index: 1032; /* above teal bar */
}
.pl-navbar .navbar-brand img {
  height: 32px;
  width: auto;
  display: block;
}
.pl-navbar .nav-link {
  color: #0B0F14;
  letter-spacing: .02em;
  padding: .5rem .9rem;
}
.pl-navbar .nav-link:hover,
.pl-navbar .nav-link.active {
  color: #000000;
  text-decoration: none;
}
.pl-navbar .dropdown-menu {
  border-radius: 6px;
  border-color: #C0CDD2;
}

/* Center the main nav between brand and utilities */
.pl-navbar .pl-nav-main{ gap: 6px; }

/* Lighter face + more spacing like corporate */
.pl-navbar .pl-nav-main .nav-link{
  font-weight: 400;
  letter-spacing: .06em;
  padding: .6rem 1.15rem;
  text-transform: none;
}

/* Right-side utilities (bell + avatar) */
.pl-navbar .pl-nav-utilities {
  align-items: center;
  gap: 14px; /* final spacing */
}

/* Bell touch target + alignment */
#notificationDropdown.nav-link {
  display: inline-flex;
  align-items: center;
  padding: .5rem .3rem;
  margin-right: 0;
}
#notificationDropdown .bi {
  font-size: 1.15rem;
  line-height: 1;
}

/* Keep the badge glued to the bell */
#notificationDropdown { position: relative; }
#notifBadge{
  left: auto !important;  /* ignore start-100 */
  right: -6px;            /* tiny overhang to the right */
  top: -6px;              /* tiny overhang upward */
  transform: none !important;
}

/* ===== Suite notifications dropdown – layout ===== */

#notifMenu {
  min-width: 320px;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* Each notification item */
#notifMenu li[data-notif-id] .dropdown-item {
  display: block;
  white-space: normal;
  padding: 8px 12px;
  font-size: 0.875rem;
  line-height: 1.25;              /* tighter line spacing inside a card */
  border-radius: 4px;
}

/* Space BETWEEN notifications + subtle divider */
#notifMenu li[data-notif-id] + li[data-notif-id] {
  margin-top: 6px;
}

#notifMenu li[data-notif-id] + li[data-notif-id] .dropdown-item {
  border-top: 1px solid #eceff1;
}

/* "No new notifications" text */
#notifEmpty .dropdown-item-text {
  font-size: 0.875rem;
  padding: 6px 12px;
}

/* Title line (your <strong> text) */
#notifMenu li[data-notif-id] strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 2px;             /* small, so text under it stays tight */
}

/* Close (X) alignment */
#notifMenu .btn-close {
  margin-left: 8px;
  margin-top: 2px;
  opacity: 0.6;
}

#notifMenu .btn-close:hover {
  opacity: 1;
}

/* Space above CTA button */
#notifMenu .dropdown-item .mt-2 {
  margin-top: 6px !important;
}

/* ===== Background tints by type ===== */
/* Tip: light blue */
#notifMenu li[data-notif-type="tip"] .dropdown-item {
  background-color: #f7fbff;
}

/* Info: light gray */
#notifMenu li[data-notif-type="info"] .dropdown-item {
  background-color: #f8f9fb;
}

/* Warn: light red/orange */
#notifMenu li[data-notif-type="warn"] .dropdown-item {
  background-color: #fff5f4;
}

/* Action: light amber, to pair with your orange CTA */
#notifMenu li[data-notif-type="action"] .dropdown-item {
  background-color: #fff9f2;
}

/* ===== Buttons (Bootstrap overrides) ===== */
/* Primary = Orange */
.btn-primary {
  color: #FFFFFF;
  background-color: #F85A16;
  border-color: #F85A16;
  border-radius: 6px;
}
.btn-primary:hover,
.btn-primary:focus {
  color: #FFFFFF;
  background-color: #e25014;
  border-color: #e25014;
}
.btn-primary:disabled {
  background-color: #f3a883;
  border-color: #f3a883;
}

/* Secondary = Near-black */
.btn-secondary {
  color: #FFFFFF;
  background-color: #000000;
  border-color: #000000;
  border-radius: 6px;
}
.btn-secondary:hover,
.btn-secondary:focus {
  color: #FFFFFF;
  background-color: #111111;
  border-color: #111111;
}

/* Outline – Primary (orange outline/text) */
.btn-outline-primary {
  color: #F85A16;
  background-color: transparent;
  border: 1px solid #F85A16;
  border-radius: 6px;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #F85A16;
  background-color: #C4F9FF; /* light teal hover fill */
  border-color: #F85A16;
}
.btn-outline-primary:active {
  color: #F85A16;
  background-color: #C4F9FF;
  border-color: #F85A16;
}
.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
  color: #9AA4B2;
  border-color: #C0CDD2;
  background-color: transparent;
  opacity: 1;
}

/* Outline – Secondary (black outline/text) */
.btn-outline-secondary {
  color: #000000;
  background-color: transparent;
  border: 1px solid #000000;
  border-radius: 6px;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  color: #000000;
  background-color: #C4F9FF;
  border-color: #000000;
}
.btn-outline-secondary:active {
  color: #000000;
  background-color: #C4F9FF;
  border-color: #000000;
}
.btn-outline-secondary:disabled,
.btn-outline-secondary.disabled {
  color: #9AA4B2;
  border-color: #C0CDD2;
  background-color: transparent;
  opacity: 1;
}

/* Generic black outline (used elsewhere) */
.btn-outline-dark {
  color: #0B0F14;
  background-color: transparent;
  border-color: #0B0F14;
  border-radius: 6px;
}
.btn-outline-dark:hover,
.btn-outline-dark:focus {
  color: #0B0F14;
  background-color: #C4F9FF;
  border-color: #0B0F14;
}

/* Focus ring to match brand teal for outlines */
.btn-outline-primary:focus-visible,
.btn-outline-secondary:focus-visible {
  box-shadow: 0 0 0 .2rem rgba(0,96,106,.25); /* #00606A */
}

/* Icon spacing on any button */
.btn .bi-arrow-right { margin-left: .375rem; }

/* ===== Forms ===== */
.form-control, .form-select, .form-check-input {
  border-radius: 6px;
  border-color: #C0CDD2;
}
.form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(0,96,106,.25); /* teal focus */
  border-color: #00606A;
}

/* Cards / surfaces */
.card {
  border-radius: 12px;
  border-color: #C0CDD2;
}

/* ===== Layout: leave room for fixed header ===== */
/* padding = teal bar (56) + navbar (80) ~ 136px; tune if you change heights */
body { padding-top: 136px; }
@media (max-width: 991.98px) { body { padding-top: 148px; } }