 
    :root {
      --primary:       #0066B3;
      --primary-light: #e8f2fb;
      --sidebar-w:     240px;
      --topbar-h:      99px;
		--topbar-mh: 140px;
      --transition:    0.3s cubic-bezier(.4,0,.2,1);
      --card-radius:   12px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Segoe UI', system-ui, sans-serif;
      background: #fafafa;
      color: #1a1a2e;
      overflow-x: hidden;
    }

    /* ─── TOP NAVBAR ────────────────────────────────────── */
    .top-navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--topbar-h);
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,.08);
      display: flex;
      align-items: center;
      padding: 0 16px;
      z-index: 1050;
      gap: 10px;
    }

    .sidebar-toggle-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      width: 40px; height: 40px;
      border-radius: 8px;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 1.3rem;
      transition: background var(--transition);
      flex-shrink: 0;
    }
    .sidebar-toggle-btn:hover { background: var(--primary-light); }

    @media (max-width: 991.98px) {
		    .top-navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--topbar-mh);
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,.08);
      display: flex;
      align-items: center;
      padding: 0 16px;
      z-index: 1050;
      gap: 10px;
    }

      .sidebar-toggle-btn { display: flex; }
    }

    .brand-group {
      display: flex;
      align-items: center;
      gap: 10px;
      flex: 1;
      min-width: 0;
    }
    .brand-group .vr { height: 80px; opacity: .2; }
/*    .brand-group img { max-height: 38px; width: auto; }*/
    /* Hide association logo text on very small screens */
    @media (max-width: 420px) {
		    .top-navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--topbar-mh);
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,.08);
      display: flex;
      align-items: center;
      padding: 0 16px;
      z-index: 1050;
      gap: 10px;
    }

      .brand-group .assoc-logo { display: none; }
    }

    .nav-right {
      margin-left: auto;
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .icon-btn {
      width: 38px; height: 38px;
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      background: var(--primary);
      border: none;
      text-decoration: none;
      transition: opacity var(--transition);
    }
    .icon-btn:hover { opacity: .85; }
    .icon-btn img { width: 22px; height: 22px; object-fit: contain; }

    /* ─── LAYOUT ─────────────────────────────────────────── */
    .layout {
      display: flex;
      padding-top: var(--topbar-h);
      min-height: 100vh;
    }

    /* ─── SIDEBAR ────────────────────────────────────────── */
    .sidebar {
      width: var(--sidebar-w);
      flex-shrink: 0;
      background: #fff;
      border-right: 1px solid #e9ecef;
      height: calc(100vh - var(--topbar-h));
      position: sticky;
      top: var(--topbar-h);
      overflow-y: auto;
      overflow-x: hidden;
      padding: 16px 0 90px;
      transition: transform var(--transition);
    }

    @media (max-width: 991.98px) {
		    .top-navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--topbar-mh);
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,.08);
      display: flex;
      align-items: center;
      padding: 0 16px;
      z-index: 1050;
      gap: 10px;
    }

      .sidebar {
        position: fixed;
        top: 12%;
        left: 240px;
        height: calc(100vh - var(--topbar-h));
        z-index: 1040;
        transform: translateX(-100%);
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
      }
      .sidebar.open { transform: translateX(0); }
    }

    /* Overlay */
    .sidebar-overlay {
      display: none;
      position: fixed;
      inset: 0;
      top: var(--topbar-h);
      background: rgba(0,0,0,.4);
      z-index: 1039;
      backdrop-filter: blur(2px);
      opacity: 0;
      transition: opacity var(--transition);
    }
    .sidebar-overlay.active { display: block; opacity: 1; }

    /* Sidebar nav items */
    .officer-link {
      display: flex;
      align-items: center;
      padding: 10px 18px;
      color: #4a5568;
      font-size: .88rem;
      font-weight: 500;
      border-radius: 0 30px 30px 0;
      margin-right: 12px;
      text-decoration: none;
      transition: all var(--transition);
      position: relative;
    }
    .officer-link:hover {
      background: var(--primary-light);
      color: var(--primary);
    }
    .officer-link.active {
      background: var(--primary-light);
      color: var(--primary);
      font-weight: 600;
    }
    .officer-link.active::before {
      content: '';
      position: absolute;
      left: 0; top: 20%; bottom: 20%;
      width: 3px;
      background: var(--primary);
      border-radius: 0 4px 4px 0;
    }
    .officer-link i { font-size: 1rem; width: 20px; text-align: center; }

    /* Collapsible logs sub-items */
    #logsMenu .officer-link {
      padding: 8px 14px;
      font-size: .82rem;
      margin-right: 8px;
    }

    /* ─── MAIN CONTENT ───────────────────────────────────── */
    .main-content {
      flex: 1;
      min-width: 0;
      padding: 24px 20px 100px;
      display: flex;
      flex-column: column;
      flex-direction: column;
      gap: 24px;
    }

    @media (max-width: 575.98px) {
		    .top-navbar {
      position: fixed;
      top: 0; left: 0; right: 0;
      height: var(--topbar-mh);
      background: #fff;
      box-shadow: 0 2px 10px rgba(0,0,0,.08);
      display: flex;
      align-items: center;
      padding: 0 16px;
      z-index: 1050;
      gap: 10px;
    }

      .main-content { padding: 55px 5px 61px; }
    }

    /* ─── CARDS ──────────────────────────────────────────── */
    .officer-card {
      background: #fff;
      border-radius: var(--card-radius);
      border: 1px solid #e9ecef !important;
      box-shadow: 0 2px 12px rgba(0,0,0,.06) !important;
    }

    /* ─── FORMS ──────────────────────────────────────────── */
    .form-label { font-size: .85rem; font-weight: 600; color: #374151; margin-bottom: 5px; }
    .form-control, .form-select {
      border-radius: 8px;
      border-color: #d1d5db;
      font-size: .9rem;
      transition: border-color var(--transition), box-shadow var(--transition);
    }
    .form-control:focus, .form-select:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0,102,179,.1);
    }
    .input-group-text {
      border-radius: 0 8px 8px 0 !important;
      font-size: .8rem;
      cursor: pointer;
    }

    /* Password hints */
    .pw-hint { font-size: .78rem; line-height: 1.7; }
    .pw-hint .ok  { color: #198754; }
    .pw-hint .bad { color: #dc3545; }

    /* ─── CUSTOM MULTISELECT ─────────────────────────────── */
    .custom-multiselect {
      border: 1px solid #d1d5db;
      border-radius: 8px;
      padding: 6px 12px;
      min-height: 40px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: #fff;
      position: relative;
      flex-wrap: wrap;
      gap: 4px;
    }
    .custom-multiselect:hover { border-color: var(--primary); }

    .options-list {
      display: none;
      position: absolute;
      background: #fff;
      border: 1px solid #d1d5db;
      border-radius: 8px;
      padding: 6px 0;
      z-index: 500;
      width: 100%;
      box-shadow: 0 8px 20px rgba(0,0,0,.12);
      margin-top: 4px;
    }
    .options-list label {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 8px 14px;
      font-size: .85rem;
      cursor: pointer;
      transition: background var(--transition);
    }
    .options-list label:hover { background: var(--primary-light); }

    .tag-pill {
      background: var(--primary-light);
      color: var(--primary);
      border-radius: 20px;
      padding: 2px 10px;
      font-size: .75rem;
      font-weight: 600;
    }
    .dropdown-arrow { color: #9ca3af; font-size: .7rem; flex-shrink: 0; }

    /* ─── TABLE ──────────────────────────────────────────── */
    .table { font-size: .88rem; }
    .table thead th {
      background: #f8fafd;
      font-weight: 600;
      color: #374151;
      border-color: #e9ecef;
      white-space: nowrap;
    }
    .table tbody td { border-color: #e9ecef; vertical-align: middle; }
    .table-responsive { border-radius: var(--card-radius); overflow: hidden; }

    /* ─── BUTTONS ────────────────────────────────────────── */
    .btn-primary {
      background: var(--primary);
      border-color: var(--primary);
      border-radius: 8px;
    }
    .btn-primary:hover { background: #005090; border-color: #005090; }

    .btn-outline-primary-custom {
      border: 1.5px solid var(--primary);
      color: var(--primary);
      background: transparent;
      border-radius: 8px;
      font-size: .88rem;
      font-weight: 600;
      transition: all var(--transition);
    }
    .btn-outline-primary-custom:hover {
      background: var(--primary-light);
      color: var(--primary);
    }

    /* ─── SECTION HEADING ────────────────────────────────── */
    .section-card-title { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; }
    .section-card-sub   { font-size: .82rem; color: #6c757d; }

   
    /* ─── SCROLLBAR ──────────────────────────────────────── */
    .sidebar::-webkit-scrollbar { width: 4px; }
    .sidebar::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 4px; }
    
    @media (max-width: 991.98px) {
        

    /* MOBILE TOPBAR */
    .top-navbar {
        height: var(--topbar-mh);
    }

    /* LAYOUT */
    .layout {
       display: flex;
        padding-top: var(--topbar-h);
        min-height: 100vh;
        flex-direction: column;
    }

    /* SIDEBAR */
    .sidebar {
        position: fixed;
        top: var(--topbar-mh);
        left: 0;
        width: var(--sidebar-w);
        height: calc(100vh - var(--topbar-mh));
        z-index: 1040;

        transform: translateX(-100%);
        transition: transform 0.3s ease;

        background: #fff;
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
    }

    /* OPEN SIDEBAR */
    .sidebar.open {
        transform: translateX(0);
    }

    /* OVERLAY */
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: var(--topbar-mh);
        background: rgba(0,0,0,.45);
        z-index: 1039;
    }

    .sidebar-overlay.active {
        display: block;
    }

    /* MAIN CONTENT */
    .main-content {
        width: 100%;
        padding: 20px 12px 80px;
    }

    /* CONTAINER FIX */
    .container,
    .container-fluid,
    .container-md,
    .container-sm {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* BUTTON */
    .sidebar-toggle-btn {
        display: flex;
    }

    /* PREVENT HORIZONTAL SCROLL */
    body {
        overflow-x: hidden;
    }
}
 