.side-toggle {
  position: fixed;
  top: 50%;
  left: 0;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  padding: 0.5rem;
  background: var(--tg-theme-primary);
  color: var(--raisin-black-1);
  border: none;
  cursor: pointer;
  z-index: 999999;
  font-size: 0.9rem;
  letter-spacing: 2px;
  padding: 1rem 0.5rem;
  border-radius: 0 8px 8px 0;
  
}
.side-toggle:hover { color: var(--raisin-black-3); }

/* ========================================================
   Toolbar Panel Wrapper
======================================================== */

[data-tab="information"] { display: none; opacity: 0;}
[data-tab="contact"] { display: none; opacity: 0;}

.toolbar {
  position: fixed;
  top: 50%;
  left: -100%;
  width: 100%;
  height: auto;
  max-height: 100vh;
  padding: 0;
  background: var(--raisin-black-3);
  color: var(--platinum);
  z-index: 999998;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
  /* 
	background: rgba(2, 2, 2, 0.98);
	box-shadow: 0 0 15px rgba(028, 028, 028, 0.25);
	backdrop-filter: blur(12px);
 */
}
.toolbar.open { left: 0; }
.toolbar.toolbar-position-center { transform: translateY(-50%); }
.toolbar.toolbar-position-top { transform: translateY(-100%); }
.toolbar.toolbar-position-bottom { transform: translateY(0%); }

/* ako zatreba scroll kao npr. u Downloadsima
.tab-content[data-tab-content="information"] { overflow-y: auto; }
*/

/* ========================================================
   Toolbar Tabs (Top Navigation Buttons)
======================================================== */
.toolbar-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 0 solid #333;
  border-top: 0 solid #333;
  padding: 0 0.5rem;
  background: var(--raisin-black-3);
  background: linear-gradient(to right, rgba(0, 0, 0, 0), var(--raisin-black-3), rgba(0, 0, 0, 0))
}

.toolbar-tab-header {
  flex: 1;
  padding: 0 0.5rem;
  margin: 0;
  background: none;
  border: none;
  color: var(--platinum);
  opacity:0.55;
  cursor: pointer;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: left;
  transition: color 0.7s, opacity 0.7s, border-bottom 0.7s;

}

.toolbar-tab-header.active {
  color: var(--platinum);
  font-size: 2rem;
  border: none;
  opacity: 1;
}

/* ========================================================
   Toolbar Body Layout (Sidebar + Tab Content Area)
======================================================== */

.toolbar-audio-section { }
.toolbar-right-section { }

.toolbar-body {
  display: flex;
  height: 100%;
  overflow: hidden;
  padding: 2rem 4rem;
}

@media (max-width: 768px) {
  .toolbar-body {
    flex-direction: column;
  }

  .toolbar-right-section {
    width: 100%;
  }
}

/* Sidebar Description Panel (Always Visible on Left) */
.experience-description {
  width: 330px;
  flex-shrink: 0;
  color: var(--platinum);
  font-size: 0.85rem;
  overflow-y: auto;
  background: transparent;
  position: relative;
  z-index: 0;
  padding: 0 0.5rem;
  margin: 0.75rem 0;

}
.experience-description::before,
.experience-description::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  height: 2rem;
  pointer-events: none;
  z-index: 1;
}

.experience-description::before {
 top: 0px;
  background: linear-gradient(to bottom, #1a1a1a, transparent);
}

.experience-description::after {
  bottom: 0px;
  background: linear-gradient(to top, #1a1a1a, transparent);
}
.experience-description h3#toolbarTitle {
  color: var(--platinum);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
}
.experience-description p#toolbarIntro {
  font-size: 0.85rem;
  margin: 0;
  color: var(--platinum);
}
.experience-description, .tab-content {
  scrollbar-width: thin;               /* Firefox */
  scrollbar-color: #8E8868 #1a1a1a;    /* Firefox */
}

/* WebKit Browsers (Chrome, Safari, Edge) */
.experience-description::-webkit-scrollbar, .tab-content::-webkit-scrollbar {
  width: 6px;
}

.experience-description::-webkit-scrollbar-track, .tab-content::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.experience-description::-webkit-scrollbar-thumb, .tab-content::-webkit-scrollbar-thumb {
  background-color: #8E8868;
  border-radius: 10px;
  border: 2px solid transparent; /* Adds space inside thumb */
  background-clip: content-box;
}

.experience-description::-webkit-scrollbar-thumb:hover, .tab-content::-webkit-scrollbar-thumb:hover {
  background-color: #8E8868;
}
/* Tab Content Container (Right Side) */
.toolbar-tabs-content {
  flex: 1 1 auto;
  overflow: hidden;
}
.toolbar-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  margin-left: 2rem;
}

/* ========================================================
   Tab Panels
======================================================== */
.tab-content {
	display: none;
  flex-wrap: wrap;
 /* gap: 1rem;
  height: 100%;
  overflow-y: auto; */
  padding: 1rem 0;
}

.tab-content.active {
   
    /* padding: 2rem 4rem; can be added to fit visually */ 
   

  display: flex; /* only active one becomes flex */
  overflow: hidden;
  gap: 2rem;
  flex-direction: row;
  align-items: flex-start;

}

/* ========================================================
   Tab Sections (Grid Items in Tab Panel)
======================================================== */
.toolbar-section {
  flex: 1 1 calc(33.33% - 1rem);
/*  min-width: 240px;
  background: linear-gradient(to bottom, #1e2228, #252b33);
  border-radius: 10px;
  box-shadow: 0 10px 30px var(--raisin-black-1), inset 0 1px 1px var(--raisin-black-3);
  padding: 10px 15px;
  border: 3px solid #2a313a; */

}

.toolbar-section h4 {
  font-size: 0.85rem;
  color: var(--platinum);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}


.toolbar-section button i {
  min-width: 18px;
  text-align: center;
}

.theme-options {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.theme-options button {
  width: 32px;
  height: 32px;
  background: #2a2a2a;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.theme-options button:hover {
  background: #00ffcc;
  color: #000;
}



#resetPreferences {
  background: #ff3333;
  color: #fff;
  padding: 0.4rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}

#resetPreferences:hover {
  background: #cc0000;
}
.modal-content.bg-dark {
  background-color: #1a1a1a;
}

.modal .btn-close-white {
  filter: invert(1);
}

/* ========================================================
   Responsive Adjustments
======================================================== */

/* Responsive */
@media (max-width: 992px) {
  .toolbar-body {
    flex-direction: column;
  }

  .experience-description {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #333;
  }

  .toolbar-section {
    flex: 1 1 calc(50% - 1rem);
  }
}

@media (max-width: 576px) {
  .toolbar-section {
    flex: 1 1 100%;
  }
}
/* Screen Reader Only */
.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}









