.sidebar {
  width: 260px;
  min-height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background: #101010;
  z-index: 10;
}

.sidebar-header {
  width: 100%;
  min-height: 56px;
  height: 56px;
  background: linear-gradient(-270deg, #393943 0%, #24242b 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /*border-radius: 0 0 8px 8px;*/
  padding: 0 18px;
  box-sizing: border-box;
  margin: 0;
  position: static;
  z-index: 2;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
  cursor: pointer;
  transition: filter 0.18s, background 0.18s;
}
.sidebar-header .sidebar-logo {
  height: 80%;
  max-width: 120px;
  object-fit: contain;
  display: block;
  margin-right: 14px;
  pointer-events: none;
}
.sidebar-header .sidebar-title {
  color: #f1f1f1;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-left: 0;
  text-align: left;
  line-height: 1.1;
  display: block;
  width: 100%;
  white-space: normal;
  opacity: 1;
  text-transform: uppercase;
}
.sidebar-header:hover {
  filter: brightness(1.08);
}

.sidebar-list {
  min-height: calc(100vh - 56px);
  border-radius: 0 0 12px 12px;
  padding: 0 0 18px 0;
  margin-top: 0;
  box-shadow: none;
  background: none;
}
.sidebar-list hr {
display: none;
}
.sidebar-content {
opacity: 1;
color: rgba(222,229,242,0.89);
}

  

#panel{
	width:260px;
	height:calc(100% - 30px);
	position: absolute;
	top: 0;
	left:0;
	background: #101010;
	opacity: 0.9;
	color: #c8ced9;
	font-family: Tahoma;
	padding: 15px;
}
#panel h1, h2
{
	text-align:center;
	font-size: 1.5em;
	color: #f1f1f1;
}
#panel h2
{
	font-weight: normal;
	text-transform: uppercase;
	font-size: 15pt;
	letter-spacing: 10px;
}

#panel_content{
	opacity: 1;
	color: rgba(222,229,242,0.89);
}

/* --- Accordion category redesign --- */
.category-block {
  background: none;
  border-radius: 0;
  margin: 0 0 4px 0;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
  overflow: hidden;
  border: none;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}
.category-header {
  background: linear-gradient(90deg, #2d2d36 0%, #23232b 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.98em;
  color: #f1f1f1;
  padding: 0 10px 0 12px;
  cursor: pointer;
  user-select: none;
  border: none;
  outline: none;
  border-radius: 0;
  transition: background 0.18s, color 0.18s;
  position: relative;
  min-height: 36px;
  height: 38px;
  line-height: 38px;
  margin-top: 10px;
  box-sizing: border-box;
}
.category-header .arrow {
  position: absolute;
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.2s;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}
.category-header .arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}
.category-header.collapsed .arrow {
  transform: translateY(-50%) rotate(0deg);
}
.category-block ul.factlist {
  background: #181818;
  border-radius: 0 0 8px 8px;
  transition: border-radius 0.18s, max-height 0.22s cubic-bezier(.4,0,.2,1), padding-bottom 0.18s;
  max-height: 600px;
  overflow: hidden;
  padding-left: 8px;
  padding-right: 8px;
}

.category-block ul.factlist[style*='display: none'] {
  border-radius: 0;
  max-height: 0 !important;
  padding-bottom: 0;
  background: #161616;
}
.category-block ul.factlist .fact {
  display: flex;
  align-items: stretch;
  width: calc(100% + 16px);
  box-sizing: border-box;
  padding: 4px 7px 4px 7px;
  margin: 0 -8px;
  transition: background 0.18s, color 0.18s;
  cursor: pointer !important;

  &:nth-child(1) {
    padding-top: 6px;
  }
}
.category-block ul.factlist .fact:hover,
.category-block ul.factlist .fact.open {
  background: rgba(184,196,224,0.13);
  color: rgba(227, 221, 221, 0.82);
}
.category-block ul.factlist .fact.selected {
  background: rgba(184,196,224,0.1);
  border: none;
  border-color: rgba(212,220,236,0.1);
}

.factSquare {
  display: inline-block;
  width: 16px;
  min-width: 16px;
  height: auto;
  min-height: 12px;
  margin-right: 6px;
  border-radius: 1px;
  vertical-align: middle;
  
  box-sizing: border-box;
  transition: border-color 0.18s;
  align-self: stretch;
  opacity: 0.85;
  cursor: pointer !important
}
.category-header:hover {
  color: rgba(227, 221, 221, 0.9);
  font-weight: 700;
}

.polylist,
.polylist li {
  cursor: pointer !important;
}

.add-org-btn-wrap {
  width: 100%;
  padding: 0 18px;
  box-sizing: border-box;
  margin-bottom: 12px;
}
.add-org-btn {
  width: 100%;
  min-width: 0;
  max-width: none;
  font-size: 17px;
  font-weight: 500;
  padding: 0 12px;
  text-align: center;
  outline: none;
  line-height: 48px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  will-change: box-shadow;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: none;
  white-space: nowrap;
  border-radius: 14px;
  color: #f1f1f1;
  text-decoration: none;
  background: linear-gradient(90deg, #23232b 0%, #393943 100%);
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.13);
  font-family: inherit;
  gap: 8px;
  margin-bottom: 8px;
}
.add-org-btn svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  fill: #f1f1f1;
  flex-shrink: 0;
}
.add-org-btn:hover {
  color: #fff;
  background: linear-gradient(90deg, #2d2e31 0%, #393943 100%);
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18);
}

::selection {
  background: #474754;
  color: #fff;
}

.category-block ul.factlist .factSquare {
  transition: border-color 0.18s, width 0.18s, min-width 0.18s;
}
.category-block ul.factlist .fact:hover .factSquare,
.category-block ul.factlist .fact.selected .factSquare,
.category-block ul.factlist .fact.open .factSquare {
  width: 24px;
  min-width: 24px;
}

.category-header.collapsed {
  text-decoration: line-through;
  opacity: 0.7;
}