.docs-section {
  width: 65%;
  min-width: 700px;
  padding-bottom: 100px;
}

.docs-category-title {
  font-size: 36px !important;
  font-weight: 600 !important;
  margin-bottom: 0.3em !important;
  color: #b19eef !important;
  letter-spacing: -0.5px !important;
}

.docs-category-subtitle {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 0.3em;
  color: #aaaaaa;
  letter-spacing: -0.5px;
}

.docs-paragraph {
  max-width: 55ch;
  font-size: 18px;
  margin-bottom: 1.8em;
  font-weight: 500;
  color: #f5f5f5;
  letter-spacing: -0.5px;
}

.docs-paragraph.dim {
  color: #aaaaaa;
}

.docs-list {
  letter-spacing: -0.5px;
  font-size: 18px;
  margin-bottom: 1.8em;
  margin-left: 1.2em;
}

.docs-list-item {
  margin-bottom: 0.5em;
  max-width: 55ch;
  list-style-type: disc;
  color: #f5f5f5;
}

.docs-highlight {
  font-weight: 700;
  color: #b19eef;
}

.short {
  margin-bottom: 0.6em;
}

.docs-button-bar {
  margin-top: 2em;
  display: flex;
  gap: 1em;
  justify-content: flex-end;
}

.docs-button {
  padding: 0.8em 1.2em 0.8em 1.2em;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.5px;
  color: #ffffff;
  background-color: #060010;
  border: 1px solid #392e4e;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  line-height: 0%;
  gap: 0.5em;
  transition: background-color 0.3s ease;
}

.docs-button-primary {
  margin-right: auto;
}

.docs-button:hover {
  background-color: #271e37;
  transition: background-color 0.3s ease;
}

.installation-methods {
  display: flex;
  margin-bottom: 1.8em;
  justify-content: space-between;
  align-items: center;
  gap: 1em;
}

.installation-method {
  background-color: #060010;
  border: 1px solid #b19eef;
  color: #b19eef;
  display: flex;
  font-size: 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  width: 50%;
  padding: 3rem 2rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.installation-method:hover {
  cursor: pointer;
  background-color: #271e37;
  color: #b19eef;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.method-active {
  background-color: #b19eef;
  color: #060010;
}

.method-active:hover {
  background-color: #b19eef;
  color: #060010;
}

.method-title {
  font-size: 18px;
  font-weight: 500;
  margin-top: 0.4em;
}

.docs-code {
  margin-bottom: 1.8em;
  position: relative;
}

.docs-code-header {
  position: absolute;
  top: 0.6em;
  right: 0.5em;
  z-index: 10;
}

.docs-copy-button {
  background-color: rgba(6, 0, 16, 0.9);
  border: 1px solid #392e4e;
  color: #b19eef;
  padding: 0.4em;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  width: 32px;
  height: 32px;
  opacity: 0.8;
}

.docs-copy-button:hover {
  background-color: #b19eef;
  color: #060010;
  border-color: #b19eef;
  opacity: 1;
}

.docs-copy-button:active {
  transform: scale(0.95);
}

.docs-code-options {
  display: flex;
  margin-top: 1.2em;
  width: 100%;
  height: auto;
  border: 1px solid #392e4e;
  padding: 0.4em;
  border-radius: 15px;
  margin-bottom: 1.8em;
}

.code-options-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  border-radius: 10px;
}

.docs-tool-list {
  display: flex;
  user-select: none;
  flex-direction: column;
  gap: 1.5em;
  margin-bottom: 1.8em;
}

.docs-tool-item {
  display: flex;
  align-items: flex-start;
  gap: 1em;
  padding: 1.5em;
  background-color: #170d27;
  border: 1px solid #392e4e;
  border-radius: 15px;
  transition: border-color 0.3s ease;
}

.docs-tool-item:hover {
  border-color: #b19eef;
}

.docs-tool-icon {
  flex-shrink: 0;
  color: #b19eef;
  font-size: 24px;
  margin-top: 0.2em;
}

.docs-tool-content {
  flex: 1;
}

.docs-tool-title {
  font-size: 20px;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 0.5em;
  letter-spacing: -0.5px;
}

.docs-tool-description {
  font-size: 16px;
  color: #aaaaaa;
  margin: 0;
  line-height: 1.5;
  letter-spacing: -0.3px;
}

@media (max-width: 999px) {
  .docs-section {
    width: 100%;
    min-width: unset;
  }

  .docs-paragraph {
    max-width: none;
  }

  .docs-list-item {
    max-width: none;
  }

  .docs-code-header {
    top: 0.3em;
    right: 0.3em;
  }

  .docs-copy-button {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}

.cli-install {
  margin-top: 1em;
}

.cli-install .cli-toggle-button {
  border: 1px solid #392e4e;
  color: #fff;
  height: 40px;
  font-size: 14px;
  padding: 0.4em 1em;
  border-radius: 15px;
  letter-spacing: -0.3px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s;
}

.cli-install .pkg-buttons {
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  display: flex;
  gap: 1rem;
}

.cli-install .cli-tool-tab {
  position: relative;
  cursor: pointer;
  color: #ccc;
  padding-bottom: 0.6em;
}

.cli-install .cli-toggle-button[data-active='true'] {
  background-color: #170d27;
  color: #b19eef;
}

.cli-install .cli-toggle-button.disabled,
.cli-install .cli-toggle-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
  color: #777;
  border-style: dashed;
}

.cli-install .cli-tool-tab[data-active='true']::before {
  content: '';
  height: 1px;
  width: 125%;
  border-radius: 50px;
  background: linear-gradient(to right, transparent, #b19eef, transparent);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.cli-install .cli-tool-tab[data-active='true'] {
  color: #b19eef;
}

.cli-install .cli-install-section {
  border: 1px solid #392e4e;
  border-radius: 20px;
  position: relative;
}

.cli-install .cli-row {
  background-color: #170d27;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.4rem 0 1.4rem;
  border-radius: 20px 20px 0 0;
  flex-wrap: wrap;
}

.cli-install .label {
  text-transform: uppercase;
  color: #9d8cbf;
  background: rgba(177, 158, 239, 0.08);
  padding: 0.25em 0.6em;
}

.cli-install code {
  font-family: 'Google Sans Code', monospace;
  white-space: pre;
  overflow-x: auto;
  overflow-y: hidden;
  background: none;
  color: #fff;
  font-size: 14px;
  display: flex;
  letter-spacing: -0.2px;
  align-items: center;
  padding: 0 80px 0 1.4em;
  height: 60px;
  border-radius: 10px;
  scrollbar-width: thin;
  scrollbar-color: #392e4e transparent;
  scrollbar-width: none;
}

.cli-install code::-webkit-scrollbar {
  height: 0;
  width: 0;
}

.cli-install .cli-custom-scrollbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 4px;
  margin: 0 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50px;
  pointer-events: auto;
  overflow: hidden;
  cursor: pointer;
}

.cli-install .cli-custom-scrollbar-thumb {
  height: 100%;
  background: linear-gradient(90deg, #392e4e, #5a4780);
  border-radius: 50px;
  transition: background 0.25s ease;
  will-change: transform, width;
}

.cli-install .cli-custom-scrollbar.dragging .cli-custom-scrollbar-thumb {
  background: linear-gradient(90deg, #5a4780, #7c63b2);
}

.cli-install .cli-custom-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #5a4780, #7c63b2);
}

.cli-install code::-webkit-scrollbar {
  height: 2px;
}

.cli-install code::-webkit-scrollbar-track {
  height: 2px;
  background: transparent;
}

.cli-install code::-webkit-scrollbar-thumb {
  height: 2px;
  background: #392e4e;
  border-radius: 50px;
}

.cli-install code::-webkit-scrollbar-thumb:hover {
  background: #5a4780;
}

.cli-install .right-group {
  margin-left: auto;
  display: flex;
  gap: 0.75rem;
}

.cli-install [data-row='cli'] .right-group {
  align-items: center;
}

.cli-install [data-row] {
  --shadow-color: rgba(177, 158, 239, 0.15);
}
