// Action Sidebar - Minimal navigation icons with light grey aesthetic

.content-wrapper {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: 100%;
  position: relative;

  @media only screen and (max-width: 900px) {
    flex-direction: column;
  }
}

.action-sidebar {
  position: sticky;
  top: 100px;
  flex-shrink: 0;
  width: 80px;
  height: fit-content;
  background: transparent;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  z-index: 0;

  @media only screen and (max-width: 900px) {
    position: relative;
    top: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    padding: 0;
    overflow-x: auto;
  }
}

.action-sidebar-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  min-width: 64px;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 1;
  }

  &.active {
    opacity: 1;

    .action-icon {
      stroke: #fff;
      stroke-width: 2.5;
    }

    .action-label {
      color: #fff;
      font-weight: 700;
    }
  }
}

.action-icon {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

.action-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
  max-width: 60px;
  word-wrap: break-word;
}

.content-main {
  flex: 0 1 auto;
  width: 100%;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

// Dark mode adjustments
html[data-darkmode=true] {
  .action-icon {
/*    stroke: #666;*/
  }

  .action-label {
/*    color: #666;*/
  }
}
