@import url(./index.css);
/* Anix Documentation Styles */

:root {
  --primary: #3a86ff;
  --primary-dark: #0061f2;
  --primary-light: #73a9ff;
  --secondary-color: #6c757d;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --gray-light: #e9ecef;
  --danger-color: #dc3545;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
}

/* Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  margin: 0;
  padding: 0;
}
body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
}
.docs-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  width: 75vw;
  overflow-x: auto;
}
.docs-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
}
.docs-content {
  display: flex;
  flex-grow: 1;
  margin-top: 80px;
  height: calc(100vh - 80px);
  overflow: hidden;
}
.fixed-sidebar {
  position: fixed;
  top: 70px;
  padding-top: 80px;
  left: 0;
  height: calc(100vh - 80px);
  overflow-y: auto;
  width: 300px;
  min-width: 250px;
  max-width: 350px;
  z-index: 900;
}
.docs-main {
  margin-left: 360px;
  flex-grow: 1;
  overflow-y: auto;
  height: 100%;
  padding-bottom: 40px;
}
@media (max-width: 900px) {
  .fixed-sidebar {
    width: 200px;
    min-width: 150px;
    max-width: 220px;
  }
  .docs-main {
    margin-left: 200px;
  }
}
@media (max-width: 600px) {
  .fixed-sidebar {
    display: block;
  }
  .docs-main {
    margin-left: 0;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  font-weight: 600;
  line-height: 1.2;
}

.fs-xxl {
  font-size: 2.5rem;
}
.fs-xl {
  font-size: 2rem;
}
.fs-lg {
  font-size: 1.5rem;
}
.fs-md {
  font-size: 1.25rem;
}
.fs-sm {
  font-size: 0.875rem;
}
.fs-xs {
  font-size: 0.75rem;
}

.fw-bold {
  font-weight: 700;
}
.fw-semi {
  font-weight: 600;
}
.fw-normal {
  font-weight: 400;
}

/* Colors */
.clr-primary {
  color: var(--primary-color);
}
.clr-secondary {
  color: var(--secondary-color);
}
.clr-dark {
  color: var(--dark-color);
}
.clr-light {
  color: var(--light-color);
}
.clr-white {
  color: white;
}

.bg-primary {
  background-color: var(--primary-color);
}
.bg-secondary {
  background-color: var(--secondary-color);
}
.bg-dark {
  background-color: var(--dark-color);
}
.bg-light {
  background-color: var(--light-color);
}
.bg-gray-light {
  background-color: var(--gray-light);
}

/* Layout */
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}
.d-block {
  display: block;
}
.d-inline {
  display: inline;
}
.d-inline-block {
  display: inline-block;
}
.d-none {
  display: none;
}

.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-grow-1 {
  flex-grow: 1;
}

.jc-center {
  justify-content: center;
}
.jc-between {
  justify-content: space-between;
}
.jc-around {
  justify-content: space-around;
}
.jc-start {
  justify-content: flex-start;
}
.jc-end {
  justify-content: flex-end;
}

.ai-center {
  align-items: center;
}
.ai-start {
  align-items: flex-start;
}
.ai-end {
  align-items: flex-end;
}
.ai-stretch {
  align-items: stretch;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}
.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Spacing */
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 1rem;
}
.p-4 {
  padding: 1.5rem;
}
.p-5 {
  padding: 2rem;
}
.p-6 {
  padding: 3rem;
}

.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.25rem;
}
.m-2 {
  margin: 0.5rem;
}
.m-3 {
  margin: 1rem;
}
.m-4 {
  margin: 1.5rem;
}
.m-5 {
  margin: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 2rem;
}
.mb-6 {
  margin-bottom: 3rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 2rem;
}
.mt-6 {
  margin-top: 3rem;
}

.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}
.gap-4 {
  gap: 1.5rem;
}
.gap-5 {
  gap: 2rem;
}
.gap-8 {
  gap: 4rem;
}

.pl-5 {
  padding-left: 2rem;
}

/* Sizing */
.w-100 {
  width: 100%;
}
.w-75 {
  width: 75%;
}
.w-50 {
  width: 50%;
}
.w-25 {
  width: 25%;
}
.min-w-250px {
  min-width: 250px;
}

.h-100 {
  height: 100%;
}
.h-screen {
  height: 100vh;
}
.min-h-screen {
  min-height: 100vh;
}

/* Borders */
.border {
  border: 1px solid #dee2e6;
}
.border-none {
  border: none;
}
.border-radius-sm {
  border-radius: 0.25rem;
}
.border-radius-md {
  border-radius: 0.5rem;
}
.border-radius-lg {
  border-radius: 1rem;
}
.border-radius-top-md {
  border-radius: 0.5rem 0.5rem 0 0;
}
.border-radius-bottom-md {
  border-radius: 0 0 0.5rem 0.5rem;
}

.hover-border-primary:hover {
  border-color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

/* Text utilities */
.txt-center {
  text-align: center;
}
.txt-left {
  text-align: left;
}
.txt-right {
  text-align: right;
}
.txt-decoration-none {
  text-decoration: none;
}
.txt-mono {
  font-family: monospace;
}

/* Lists */
.list-none {
  list-style: none;
}
.list-disc {
  list-style: disc;
}

/* Documentation specific styles */
.docs-container {
  min-height: 100vh;
}

.docs-header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.docs-sidebar {
  border-right: 1px solid var(--gray-light);
}

.docs-main {
  max-width: 1200px;
}

.code-block {
  overflow-x: auto;
}

.code-block pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  white-space: pre-wrap;
}

.command-card {
  transition: all 0.3s ease;
}

.command-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

/* Playground specific styles */

.font-mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.resize-none {
  resize: none;
}

.cursor-pointer {
  cursor: pointer;
}

.example-card {
  transition: all 0.3s ease;
}

.example-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .docs-content {
    flex-direction: column;
  }

  .docs-sidebar {
    width: 100%;
    min-width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--gray-light);
    transform: translateX(0);
    transition: all 0.5s ease;
  }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }

  .playground-container {
    flex-direction: column;
  }

  .editor-container,
  .preview-container {
    width: 100%;
  }
}

/* Print styles */
@media print {
  .docs-header,
  .docs-sidebar,
  .docs-footer {
    display: none;
  }

  .docs-main {
    width: 100%;
    padding: 0;
  }

  .code-block {
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

.active-menu {
  background-color: var(--primary-color);
  color: #fff !important;
  border-radius: 0.25rem;
  font-weight: 600;
}
.menu-toggle {
  display: none;
}
.sidebar-toggle {
  display: none;
}
.nav-linksres {
  display: none;
}
@media (max-width: 768px) {
  .docs-main {
    padding: 20px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
  }
  .nav-linksres {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 80px;
    padding: 50px;
    background: inherit;
    width: 100%;
    text-align: center;
    font-size: 32px;
    height: 100vh;
    text-align: right;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
  }
  .nav-linksres.show {
    transform: translateX(0) !important;
    transition: all 0.5s ease-in-out;
  }

  .sidebar-toggle {
    display: block;
    position: fixed;
    left: 4px;
    top: 50%;
    transform: rotate(0deg);
    padding: 10px;
    z-index: 1000;
    transition: right 0.5s ease, left 0.5s ease, transform 0.5s ease;
  }

  .sidebar-toggle.expanded {
    right: 4px;
    left: auto;
    transition: right 0.5s ease, left 0.5s ease, transform 0.5s ease;
    transform: rotate(180deg);
  }

  .docs-sidebar.collapsed {
    display: block;
    transform: translateX(-100%);
    transition: all 0.5s ease-in-out;
  }
}
