/* ===== ERP NAV (Glass, minimal: logo + logout only) ===== */
:root{
  --nav-max: 1600px;                 /* widen on desktops; tweak if you want more */
  --nav-pad: clamp(8px, 2vw, 24px);  /* side padding that scales with viewport */
  --tdc-blue:     #2563eb; /* blue-600 */
  --tdc-blue-700: #1d4ed8; /* blue-700 */
  --tdc-blue-800: #1e40af; /* blue-800 */
  --tdc-ink:      #0f172a; /* slate-900 */
  --tdc-ink-2:    #111827; /* gray-900 */
  --tdc-muted:    #334155; /* slate-600 */
}

.tdc-nav {
  position: sticky;
  top: 12px;
  z-index: 1000;
  padding-inline: var(--nav-pad);
}
.admin-bar .tdc-nav { top: 52px; } /* keep clear of WP admin bar */

.tdc-nav__inner {
  /* use the screen width up to a generous max */
  width: min(100%, var(--nav-max));
  margin-inline: auto;

  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);

  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;
  padding: 10px clamp(12px, 2vw, 20px);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
}

/* Brand (logo on the left) */
.tdc-nav__brand {
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
  color: var(--tdc-ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* Logo sizing */
.tdc-nav__logo img {
  height: clamp(22px, 2vw, 28px);
  width: auto;
  display: block;
}

/* CENTER NAV BUTTONS — HIDDEN COMPLETELY */
.tdc-nav__links {
  display: none !important; /* hide Dashboard / Calendar / etc. */
}

/* If you ever use .tdc-nav__link anywhere, keep it styled (unused for now) */
.tdc-nav__link {
  text-decoration: none;
  color: var(--tdc-ink);
  font-weight: 600;
  padding: clamp(6px, .7vw, 10px) clamp(10px, 1.2vw, 14px);
  border-radius: 12px;
  transition: background .15s ease, color .15s ease, transform .04s ease;
}
.tdc-nav__link:hover { 
  background: rgba(37, 99, 235, 0.10);
  color: var(--tdc-ink-2);
}
.tdc-nav__link.is-active { background: rgba(37, 99, 235, 0.16); }

/* Right side: ONLY logout (user bubble hidden) */
.tdc-nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  margin-left: auto; /* push logout to the far right */
}

/* Hide user initials bubble */
.tdc-nav__user {
  display: none !important;
}

.tdc-nav__logout {
  text-decoration: none;
  color: var(--tdc-muted);
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 700;
  transition: background .15s ease;
}
.tdc-nav__logout:hover {
  background: rgba(15,23,42,.06);
}

/* Blue pill buttons are no longer visible, but keep style in case you bring them back */
.tdc-nav__links .tdc-nav__btn {
  padding: clamp(8px, .7vw, 10px) clamp(12px, 1.2vw, 14px);
  font-size: clamp(.85rem, .9vw, .95rem);
  border-radius: 9999px;
  white-space: nowrap;
}

/* Burger menu toggle — force hidden on all screen sizes */
.tdc-nav__toggle {
  display: none !important;
}
