@charset "UTF-8";
.wpchill-kb-wrapper {
  max-width: 100%;
  width: 100%;
}

.wpchill-kb-content-container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.wpchill-kb-page-container {
  display: flex;
  min-height: calc(100vh - 60px);
  position: relative;
}

.wpchill-kb-main-content {
  padding: calc(20px * 1.5);
  overflow-y: auto;
  width: 60%;
  box-sizing: border-box;
}
.wpchill-kb-main-content .wpchill-kb-main-content-wrap {
  max-width: 48rem;
  margin: 0 auto;
}

[data-theme=dark] .wpchill-kb-main-content {
  background-color: #0f0f17;
}
[data-theme=dark] .wpchill-kb-main-content h1, [data-theme=dark] .wpchill-kb-main-content h2, [data-theme=dark] .wpchill-kb-main-content h3, [data-theme=dark] .wpchill-kb-main-content h4, [data-theme=dark] .wpchill-kb-main-content h5, [data-theme=dark] .wpchill-kb-main-content h6 {
  color: #f0f0f5;
}
[data-theme=dark] .wpchill-kb-main-content p, [data-theme=dark] .wpchill-kb-main-content li, [data-theme=dark] .wpchill-kb-main-content td, [data-theme=dark] .wpchill-kb-main-content th {
  color: #b4b4c0;
}
[data-theme=dark] .wpchill-kb-main-content a:not(.wpchill-kb-rating-button) {
  color: #a5a0ff;
}
[data-theme=dark] .wpchill-kb-main-content a:not(.wpchill-kb-rating-button):hover {
  color: #c7c4ff;
}
[data-theme=dark] .wpchill-kb-article img {
  background-color: #1a1a24;
  border-color: rgba(255, 255, 255, 0.15);
}
[data-theme=dark] .wpchill-kb-article pre {
  background: #1e1e2e;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .wpchill-kb-navigation {
  border-top-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .wpchill-kb-navigation a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .wpchill-kb-rating .wpchill-kb-rating-button {
  background-color: #1e1e2e;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .wpchill-kb-rating .wpchill-kb-rating-button:hover {
  border-color: #635bff;
}
[data-theme=dark] .wpchill-kb-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.wpchill-kb-header-wrapper {
  width: 100%;
  border-bottom: 1px solid #e6e6e6;
  padding: 0;
  background-color: #fff;
}
body.admin-bar .wpchill-kb-header-wrapper {
  top: 32px;
}

[data-theme=dark] .wpchill-kb-header-wrapper {
  background-color: #0f0f17;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.wpchill-kb-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
}
.wpchill-kb-footer .wpchill-kb-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.wpchill-kb-footer .wpchill-kb-footer-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.wpchill-kb-footer .wpchill-kb-footer-nav li {
  margin-right: 20px;
  margin-bottom: 10px;
}
.wpchill-kb-footer .wpchill-kb-footer-nav li:last-child {
  margin-right: 0;
}
.wpchill-kb-footer .wpchill-kb-footer-nav a {
  color: #1a1f36;
  text-decoration: none;
}
.wpchill-kb-footer .wpchill-kb-footer-nav a:hover {
  color: #635bff;
}
.wpchill-kb-sidebar {
  border-right: 1px solid #e6e6e6;
  box-sizing: content-box;
  width: 20%;
  background-color: #fafbff;
  overflow: hidden;
  position: sticky;
  top: 0;
  height: 100vh;
}
body.admin-bar .wpchill-kb-sidebar {
  top: 32px;
  height: calc(100vh - 32px);
}
.wpchill-kb-sidebar.wpchill-kb-sidebar-right {
  border-left: 1px solid #e6e6e6;
  border-right: unset;
}
.wpchill-kb-sidebar.wpchill-kb-sidebar-right .wpchill-sidebar-content p {
  margin: 0;
}
.wpchill-kb-sidebar .wpchill-sidebar-content {
  padding: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.wpchill-kb-sidebar:after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  right: 100%;
  left: -100vw;
  background-color: inherit;
}
.wpchill-kb-sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.wpchill-kb-sidebar li {
  margin: 0;
}
.wpchill-kb-sidebar a {
  color: #1a1f36;
  text-decoration: none;
}
.wpchill-kb-sidebar a:hover {
  color: #635bff;
}
.wpchill-kb-sidebar .wpchill-kb-search-form {
  position: relative;
}
.wpchill-kb-sidebar .wpchill-kb-search-form input[type=search] {
  width: 100%;
  padding: 10px;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  font-size: 1em;
}
.wpchill-kb-sidebar .wpchill-kb-search-form button[type=submit] {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}
.wpchill-kb-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wpchill-kb-sidebar .wpchill-kb-category {
  margin-bottom: 15px;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown {
  display: flex;
  flex-direction: column;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown .wpchill-kb-category-name {
  display: flex;
  align-items: center;
  text-align: left;
  text-decoration: none;
  padding: 5px 0px;
  gap: 5px;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown .wpchill-kb-category-name:hover .wpchill-kb-category-text {
  color: #0284c7;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown .wpchill-kb-category-name .toggle-icon {
  font-size: 16px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown .wpchill-kb-category-name .wpchill-kb-icon {
  font-size: 18px;
  padding: 3px;
  color: #fff;
  align-content: center;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 4px;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown .wpchill-kb-category-name .wpchill-kb-category-text {
  font-size: 14px;
  color: #475569;
  font-weight: 600;
  line-height: 16px;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list {
  display: none;
  list-style: none;
  padding-left: 10px;
  margin-left: 10px;
  border-left: 1px solid #e6e6e6;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list.active {
  display: block;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list li {
  margin: 5px 0;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list li a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  padding: 5px;
  border-radius: 5px;
  width: 100%;
  display: block;
  font-weight: 500;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list li a.active {
  background-color: #eef2ff;
  color: #0284c7;
}
.wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list li a:hover {
  color: #0284c7;
}
.wpchill-kb-sidebar .wpchill-kb-category.active > .wpchill-kb-dropdown .wpchill-kb-category-name .toggle-icon {
  transform: rotate(180deg);
}

[data-theme=dark] .wpchill-kb-sidebar {
  background-color: #16161f;
  border-right-color: rgba(255, 255, 255, 0.08);
}
[data-theme=dark] .wpchill-kb-sidebar.wpchill-kb-sidebar-right {
  border-left-color: rgba(255, 255, 255, 0.08);
}
[data-theme=dark] .wpchill-kb-sidebar:after {
  background-color: #16161f;
}
[data-theme=dark] .wpchill-kb-sidebar a {
  color: #e4e4e7;
}
[data-theme=dark] .wpchill-kb-sidebar a:hover {
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-search-form input[type=search] {
  background: #1e1e2e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-search-form input[type=search]::placeholder {
  color: #6b7280;
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown .wpchill-kb-category-name .wpchill-kb-category-text {
  color: #e4e4e7;
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-dropdown .wpchill-kb-category-name:hover .wpchill-kb-category-text {
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list {
  border-left-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list li a {
  color: #9ca3af;
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list li a.active {
  background-color: rgba(99, 91, 255, 0.15);
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-sidebar .wpchill-kb-category .wpchill-kb-articles-list li a:hover {
  color: #a5b4fc;
}

/**
 * Sidebar Navigation - PinkDocs Style
 */
.wpchill-kb-nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.wpchill-kb-nav__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid #e6e6e6;
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 10;
}
.wpchill-kb-nav__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  background: #fff;
  color: #1a1f36;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.wpchill-kb-nav__filter-btn:hover {
  border-color: rgb(204.5, 204.5, 204.5);
  background: #f9fafb;
}
.wpchill-kb-nav__filter-btn.is-active {
  background: #1a1f36;
  border-color: #1a1f36;
  color: #fff;
}
.wpchill-kb-nav__filter-btn.is-active .wpchill-kb-nav__badge {
  background: #fff;
}
.wpchill-kb-nav__filter-btn.is-active .wpchill-kb-nav__badge--new {
  background: #10b981;
}
.wpchill-kb-nav__filter-btn.is-active .wpchill-kb-nav__badge--updated {
  background: #10b981;
}
.wpchill-kb-nav__badge {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wpchill-kb-nav__badge--new {
  background: #10b981;
}
.wpchill-kb-nav__badge--updated {
  background: #10b981;
}
.wpchill-kb-nav__categories {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  min-height: 0;
}
.wpchill-kb-nav__categories::-webkit-scrollbar {
  width: 6px;
}
.wpchill-kb-nav__categories::-webkit-scrollbar-track {
  background: transparent;
}
.wpchill-kb-nav__categories::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}
.wpchill-kb-nav__categories::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
}
.wpchill-kb-nav__subcategories {
  padding: 0;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid #e6e6e6;
}
.wpchill-kb-nav__category {
  margin-bottom: 4px;
}
.wpchill-kb-nav__category.is-expanded > .wpchill-kb-nav__category-header .wpchill-kb-nav__chevron {
  transform: rotate(180deg);
}
.wpchill-kb-nav__category-header {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #1a1f36;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.15s ease;
}
.wpchill-kb-nav__category-header:hover {
  color: #635bff;
}
.wpchill-kb-nav__folder-icon {
  color: #9ca3af;
  flex-shrink: 0;
}
.wpchill-kb-nav__category-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wpchill-kb-nav__chevron {
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.wpchill-kb-nav__category-content[hidden] {
  display: none;
}
.wpchill-kb-nav__articles {
  list-style: none;
  margin: 0;
  padding: 0 0 8px;
}
.wpchill-kb-nav__article {
  margin: 0;
  position: relative;
}
.wpchill-kb-nav__article.is-active::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: #635bff;
  border-radius: 2px;
}
.wpchill-kb-nav__article.is-active .wpchill-kb-nav__article-link {
  color: #635bff;
  font-weight: 500;
}
.wpchill-kb-nav__article.is-hidden {
  display: none;
}
.wpchill-kb-nav__article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px 8px 28px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.15s ease;
  line-height: 1.4;
}
.wpchill-kb-nav__article-link:hover {
  background: #f9fafb;
  color: #635bff;
}
.wpchill-kb-nav__article-link .wpchill-kb-nav__badge {
  margin-left: auto;
}
.wpchill-kb-nav__footer {
  padding: 12px 16px;
  border-top: 1px solid #e6e6e6;
  flex-shrink: 0;
  background: #fafbff;
  z-index: 5;
}
.wpchill-kb-nav__footer-meta {
  text-align: center;
  line-height: 1.5;
}
.wpchill-kb-nav__copyright {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 4px;
}
.wpchill-kb-nav__powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  color: #9ca3af;
}
.wpchill-kb-nav__powered-by a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a1f36;
  text-decoration: none;
}
.wpchill-kb-nav__powered-by a:hover {
  color: #635bff;
}
.wpchill-kb-nav__powered-by a svg {
  vertical-align: middle;
}
.wpchill-kb-nav__powered-by a strong {
  font-weight: 600;
}
.wpchill-kb-nav__language-picker {
  margin-bottom: 12px;
}
.wpchill-kb-nav__language-select {
  display: block;
  width: 100%;
  padding: 10px 36px 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background-color: #f9fafb;
  color: #1a1f36;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}
.wpchill-kb-nav__language-select:hover {
  border-color: rgb(204.5, 204.5, 204.5);
}
.wpchill-kb-nav__language-select:focus {
  outline: none;
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

@media (max-width: 768px) {
  .wpchill-kb-nav__filters {
    padding: 12px;
    gap: 6px;
  }
  .wpchill-kb-nav__filter-btn {
    padding: 5px 10px;
    font-size: 12px;
  }
  .wpchill-kb-nav__categories {
    padding: 12px;
  }
  .wpchill-kb-nav__article-link {
    padding: 6px 10px;
    font-size: 13px;
  }
}
[data-theme=dark] .wpchill-kb-nav__filters {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .wpchill-kb-nav__filter-btn {
  background: #1e1e2e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
}
[data-theme=dark] .wpchill-kb-nav__filter-btn:hover {
  background: #2d2d3f;
  border-color: rgba(255, 255, 255, 0.15);
}
[data-theme=dark] .wpchill-kb-nav__filter-btn.is-active {
  background: #635bff;
  border-color: #635bff;
  color: #fff;
}
[data-theme=dark] .wpchill-kb-nav__categories::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}
[data-theme=dark] .wpchill-kb-nav__categories::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}
[data-theme=dark] .wpchill-kb-nav__subcategories {
  border-left-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .wpchill-kb-nav__category-header {
  color: #e4e4e7;
}
[data-theme=dark] .wpchill-kb-nav__category-header:hover {
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-nav__folder-icon {
  color: #6b7280;
}
[data-theme=dark] .wpchill-kb-nav__chevron {
  color: #6b7280;
}
[data-theme=dark] .wpchill-kb-nav__article-link {
  color: #9ca3af;
}
[data-theme=dark] .wpchill-kb-nav__article-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-nav__article.is-active::before {
  background: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-nav__article.is-active .wpchill-kb-nav__article-link {
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-nav__footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  background: #16161f;
}
[data-theme=dark] .wpchill-kb-nav__copyright {
  color: #6b7280;
}
[data-theme=dark] .wpchill-kb-nav__powered-by {
  color: #6b7280;
}
[data-theme=dark] .wpchill-kb-nav__powered-by a {
  color: #9ca3af;
}
[data-theme=dark] .wpchill-kb-nav__powered-by a:hover {
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-nav__language-select {
  background-color: #1e1e2e;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
}
[data-theme=dark] .wpchill-kb-nav__language-select:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
[data-theme=dark] .wpchill-kb-nav__language-select:focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.2);
}

/**
 * KB Search - PinkDocs Style
 */
.wpchill-kb-search-form {
  position: relative;
  margin: 0;
}
.wpchill-kb-search-form .wpchill-kb-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 0;
}
.wpchill-kb-search-form .wpchill-kb-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  z-index: 2;
}
.wpchill-kb-search-form .wpchill-kb-search-icon svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke-width: 2;
}
.wpchill-kb-search-form .wpchill-kb-search-field,
.wpchill-kb-search-form input[type=search].wpchill-kb-search-field,
.wpchill-kb-search-form input.wpchill-kb-search-field {
  width: 100%;
  padding: 12px 90px 12px 42px;
  font-size: 14px;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  color: #1a1f36;
  transition: all 0.2s ease;
  -webkit-appearance: none !important;
  appearance: none !important;
  height: auto !important;
  min-height: unset !important;
}
.wpchill-kb-search-form .wpchill-kb-search-field::placeholder,
.wpchill-kb-search-form input[type=search].wpchill-kb-search-field::placeholder,
.wpchill-kb-search-form input.wpchill-kb-search-field::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.wpchill-kb-search-form .wpchill-kb-search-field:hover, .wpchill-kb-search-form .wpchill-kb-search-field:focus, .wpchill-kb-search-form .wpchill-kb-search-field:active,
.wpchill-kb-search-form input[type=search].wpchill-kb-search-field:hover,
.wpchill-kb-search-form input[type=search].wpchill-kb-search-field:focus,
.wpchill-kb-search-form input[type=search].wpchill-kb-search-field:active,
.wpchill-kb-search-form input.wpchill-kb-search-field:hover,
.wpchill-kb-search-form input.wpchill-kb-search-field:focus,
.wpchill-kb-search-form input.wpchill-kb-search-field:active {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}
.wpchill-kb-search-form .wpchill-kb-search-actions {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.wpchill-kb-search-form .wpchill-kb-search-kbd {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  line-height: 1;
  font-family: system-ui, -apple-system, sans-serif;
}
.wpchill-kb-search-form .wpchill-kb-search-kbd kbd {
  font-family: inherit;
  font-size: inherit;
}
.wpchill-kb-search-form .wpchill-kb-search-submit {
  padding: 8px 16px;
  background-color: #635bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.wpchill-kb-search-form .wpchill-kb-search-submit:hover {
  background-color: rgb(60.1902439024, 50.2, 255);
  transform: translateY(-1px);
}
.wpchill-kb-search-form .wpchill-kb-search-submit:active {
  transform: translateY(0);
}

.ui-autocomplete {
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 100;
  max-width: 600px;
  box-sizing: border-box;
  list-style-type: none;
  padding: 8px;
  margin-top: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.ui-autocomplete .ui-menu-item {
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.15s ease;
}
.ui-autocomplete .ui-menu-item:hover, .ui-autocomplete .ui-menu-item.ui-state-active {
  background-color: #f3f4f6;
}
.ui-autocomplete .ui-menu-item .ui-menu-item-wrapper {
  font-size: 14px;
  color: #1a1f36;
  line-height: 1.4;
}

.wpchill-kb-header .wpchill-kb-search-form .wpchill-kb-search-submit {
  display: none;
}

.wpchill-kb-search-form:focus-within .wpchill-kb-search-wrapper {
  border-color: rgba(99, 91, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(99, 91, 255, 0.15);
}

[data-theme=dark] .wpchill-kb-search-form .wpchill-kb-search-wrapper {
  background: #1e1e2e !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
[data-theme=dark] .wpchill-kb-search-form .wpchill-kb-search-field,
[data-theme=dark] .wpchill-kb-search-form input[type=search].wpchill-kb-search-field,
[data-theme=dark] .wpchill-kb-search-form input.wpchill-kb-search-field {
  color: #e4e4e7 !important;
}
[data-theme=dark] .wpchill-kb-search-form .wpchill-kb-search-field::placeholder,
[data-theme=dark] .wpchill-kb-search-form input[type=search].wpchill-kb-search-field::placeholder,
[data-theme=dark] .wpchill-kb-search-form input.wpchill-kb-search-field::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}
[data-theme=dark] .wpchill-kb-search-form .wpchill-kb-search-kbd {
  color: #000;
}
[data-theme=dark] .wpchill-kb-search-form .wpchill-kb-search-icon {
  color: rgba(255, 255, 255, 0.4) !important;
}
[data-theme=dark] .wpchill-kb-search-form .wpchill-kb-search-submit {
  background-color: #635bff;
}

.wpchill-kb-hero-search .wpchill-kb-search-form {
  max-width: 700px;
}
.wpchill-kb-hero-search .wpchill-kb-search-form .wpchill-kb-search-field {
  padding: 18px 160px 18px 56px;
  font-size: 16px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.wpchill-kb-hero-search .wpchill-kb-search-form .wpchill-kb-search-icon {
  left: 20px;
}
.wpchill-kb-hero-search .wpchill-kb-search-form .wpchill-kb-search-icon svg {
  width: 22px;
  height: 22px;
}
.wpchill-kb-hero-search .wpchill-kb-search-form .wpchill-kb-search-actions {
  right: 12px;
}
.wpchill-kb-hero-search .wpchill-kb-search-form .wpchill-kb-search-submit {
  padding: 12px 24px;
  font-size: 15px;
}

.wpchill-kb-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  margin-left: 12px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #f9fafb;
  color: #1a1f36;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.wpchill-kb-theme-toggle:hover {
  background: #f3f4f6;
  border-color: rgb(204.5, 204.5, 204.5);
}
.wpchill-kb-theme-toggle svg {
  width: 18px;
  height: 18px;
}
[data-theme=dark] .wpchill-kb-theme-toggle {
  background: #2d2d3f;
  border-color: #3d3d4f;
  color: #e4e4e7;
}
[data-theme=dark] .wpchill-kb-theme-toggle:hover {
  background: #3d3d4f;
}

.wpchill-kb-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  padding: 8px 24px;
  position: relative;
}
.wpchill-kb-header .wpchill-kb-search-form {
  width: 100%;
  max-width: 480px;
  margin: 0;
}
.wpchill-kb-header .wpchill-kb-theme-toggle {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.wpchill-kb-wrapper .wpchill-kb-search-form .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.wpchill-kb-search-trigger {
  cursor: pointer !important;
}

.wpchill-kb-search-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}
.wpchill-kb-search-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.wpchill-kb-search-modal.is-open .wpchill-kb-search-modal-container {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.wpchill-kb-search-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}

.wpchill-kb-search-modal-container {
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 70vh;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.wpchill-kb-search-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-bottom: 1px solid #e6e6e6;
  flex-shrink: 0;
}

.wpchill-kb-search-modal-icon {
  color: #9ca3af;
  flex-shrink: 0;
}
.wpchill-kb-search-modal-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.wpchill-kb-modal-search-field {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #1a1f36;
  background: transparent;
  padding: 0;
}
.wpchill-kb-modal-search-field::placeholder {
  color: #9ca3af;
}

.wpchill-kb-modal-honeypot {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
}

.wpchill-kb-search-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  background: #f9fafb;
  color: #666;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.wpchill-kb-search-modal-close:hover {
  background: #f3f4f6;
  color: #333;
}
.wpchill-kb-search-modal-close svg {
  width: 18px;
  height: 18px;
}

.wpchill-kb-search-modal-body {
  flex: 1;
  overflow-y: auto;
  min-height: 200px;
}

.wpchill-kb-search-modal-results {
  padding: 8px;
}

.wpchill-kb-search-empty,
.wpchill-kb-search-loading,
.wpchill-kb-search-no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #9ca3af;
}
.wpchill-kb-search-empty svg,
.wpchill-kb-search-loading svg,
.wpchill-kb-search-no-results svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}
.wpchill-kb-search-empty p,
.wpchill-kb-search-loading p,
.wpchill-kb-search-no-results p {
  margin: 0;
  font-size: 14px;
}

.wpchill-kb-search-loading .wpchill-kb-search-spinner {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.wpchill-kb-search-loading .wpchill-kb-search-spinner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #635bff;
  animation: wpchill-kb-search-bounce 1.2s infinite ease-in-out;
}
.wpchill-kb-search-loading .wpchill-kb-search-spinner-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.wpchill-kb-search-loading .wpchill-kb-search-spinner-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes wpchill-kb-search-bounce {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.wpchill-kb-search-results-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.wpchill-kb-search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  color: #1a1f36;
  text-align: left;
}
.wpchill-kb-search-result-item:hover, .wpchill-kb-search-result-item.is-selected {
  background: #f9fafb;
  border-color: #635bff;
  box-shadow: 0 2px 8px rgba(99, 91, 255, 0.1);
}
.wpchill-kb-search-result-item.is-selected {
  background: rgba(99, 91, 255, 0.05);
}

.wpchill-kb-search-result-content {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.wpchill-kb-search-result-title {
  font-size: 14px;
  font-weight: 500;
  color: #1a1f36;
  margin-bottom: 4px;
  line-height: 1.4;
  text-align: left;
}
.wpchill-kb-search-result-title mark {
  background: rgba(99, 91, 255, 0.2);
  color: #635bff;
  padding: 2px 0;
  border-radius: 2px;
}

.wpchill-kb-search-result-category {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 6px;
}
.wpchill-kb-search-result-category svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.wpchill-kb-search-result-excerpt {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin-top: 6px;
  text-align: left;
}
.wpchill-kb-search-result-excerpt mark {
  background: rgba(99, 91, 255, 0.15);
  color: #1a1f36;
  padding: 2px 0;
  border-radius: 2px;
}

.wpchill-kb-search-result-arrow {
  color: #d1d5db;
  flex-shrink: 0;
  margin-top: 2px;
}
.wpchill-kb-search-result-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.wpchill-kb-search-result-item:hover .wpchill-kb-search-result-arrow,
.wpchill-kb-search-result-item.is-selected .wpchill-kb-search-result-arrow {
  color: #635bff;
}

.wpchill-kb-search-modal-footer {
  padding: 12px 20px;
  border-top: 1px solid #e6e6e6;
  background: #fafbff;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  flex-shrink: 0;
}

.wpchill-kb-search-modal-hints {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.wpchill-kb-search-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
}
.wpchill-kb-search-hint kbd {
  padding: 4px 8px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  font-family: system-ui, -apple-system, sans-serif;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-theme=dark] .wpchill-kb-search-modal-container {
  background: #16161f;
}
[data-theme=dark] .wpchill-kb-search-modal-header {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme=dark] .wpchill-kb-search-modal-icon {
  color: rgba(255, 255, 255, 0.4);
}
[data-theme=dark] .wpchill-kb-modal-search-field {
  color: #ffffff;
}
[data-theme=dark] .wpchill-kb-modal-search-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
[data-theme=dark] .wpchill-kb-search-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
[data-theme=dark] .wpchill-kb-search-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
[data-theme=dark] .wpchill-kb-search-empty,
[data-theme=dark] .wpchill-kb-search-loading,
[data-theme=dark] .wpchill-kb-search-no-results {
  color: rgba(255, 255, 255, 0.4);
}
[data-theme=dark] .wpchill-kb-search-result-item {
  background: #1e1e2e;
  border-color: transparent;
}
[data-theme=dark] .wpchill-kb-search-result-item:hover, [data-theme=dark] .wpchill-kb-search-result-item.is-selected {
  background: #2d2d3f;
  border-color: #635bff;
}
[data-theme=dark] .wpchill-kb-search-result-item.is-selected {
  background: rgba(99, 91, 255, 0.15);
}
[data-theme=dark] .wpchill-kb-search-result-title {
  color: #ffffff;
}
[data-theme=dark] .wpchill-kb-search-result-title mark {
  background: rgba(99, 91, 255, 0.3);
  color: #a5a0ff;
}
[data-theme=dark] .wpchill-kb-search-result-category {
  color: rgba(255, 255, 255, 0.4);
}
[data-theme=dark] .wpchill-kb-search-result-excerpt {
  color: rgba(255, 255, 255, 0.6);
}
[data-theme=dark] .wpchill-kb-search-result-excerpt mark {
  background: rgba(99, 91, 255, 0.2);
  color: #e4e4e7;
}
[data-theme=dark] .wpchill-kb-search-result-arrow {
  color: rgba(255, 255, 255, 0.2);
}
[data-theme=dark] .wpchill-kb-search-result-item:hover .wpchill-kb-search-result-arrow,
[data-theme=dark] .wpchill-kb-search-result-item.is-selected .wpchill-kb-search-result-arrow {
  color: #635bff;
}
[data-theme=dark] .wpchill-kb-search-modal-footer {
  background: #16161f;
  border-top-color: rgba(255, 255, 255, 0.08);
}
[data-theme=dark] .wpchill-kb-search-hint {
  color: rgba(255, 255, 255, 0.6);
}
[data-theme=dark] .wpchill-kb-search-hint kbd {
  background: #2d2d3f;
  border-color: #3d3d4f;
  color: #ffffff;
}

@media (max-width: 768px) {
  .wpchill-kb-search-form .wpchill-kb-search-field {
    padding-right: 80px;
  }
  .wpchill-kb-search-form .wpchill-kb-search-kbd {
    display: none;
  }
  .wpchill-kb-theme-toggle {
    width: 36px;
    height: 36px;
    margin-left: 8px;
  }
  .wpchill-kb-search-modal {
    padding-top: 5vh;
  }
  .wpchill-kb-search-modal-container {
    width: 95%;
    max-height: 80vh;
  }
  .wpchill-kb-search-modal-header {
    padding: 16px;
  }
  .wpchill-kb-modal-search-field {
    font-size: 15px;
  }
  .wpchill-kb-search-modal-hints {
    gap: 12px;
  }
  .wpchill-kb-search-hint {
    font-size: 11px;
  }
}
.wpchill-kb-archive-page {
  min-height: 100vh;
  background-color: #f6f9fc;
}
[data-theme=dark] .wpchill-kb-archive-page {
  background-color: #0f1117;
}

.wpchill-kb-hero {
  background-color: #fff;
  padding: 80px 40px;
  text-align: center;
  border-bottom: 1px solid #e6e6e6;
}
[data-theme=dark] .wpchill-kb-hero {
  background-color: #1a1f36;
  border-bottom-color: #2d3748;
}
@media (max-width: 768px) {
  .wpchill-kb-hero {
    padding: 60px 20px;
  }
}

.wpchill-kb-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.wpchill-kb-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1f36;
  margin: 0 0 20px;
  line-height: 1.25;
}
[data-theme=dark] .wpchill-kb-hero-title {
  color: #f7fafc;
}
@media (max-width: 768px) {
  .wpchill-kb-hero-title {
    font-size: 2rem;
  }
}

.wpchill-kb-hero-description {
  font-size: 1.25rem;
  color: #6b7280;
  margin: 0 0 40px;
  line-height: 1.6;
}
[data-theme=dark] .wpchill-kb-hero-description {
  color: #a0aec0;
}
@media (max-width: 768px) {
  .wpchill-kb-hero-description {
    font-size: 1.125rem;
  }
}

.wpchill-kb-hero-search {
  max-width: 600px;
  margin: 0 auto;
}
.wpchill-kb-hero-search .wpchill-kb-search-form {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
[data-theme=dark] .wpchill-kb-hero-search .wpchill-kb-search-form {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.wpchill-kb-categories-section {
  padding: 80px 40px;
}
@media (max-width: 768px) {
  .wpchill-kb-categories-section {
    padding: 60px 20px;
  }
}

.wpchill-kb-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .wpchill-kb-categories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .wpchill-kb-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wpchill-kb-category-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 30px;
  text-decoration: none;
  color: #1a1f36;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
[data-theme=dark] .wpchill-kb-category-card {
  background-color: #1a1f36;
  border-color: #2d3748;
  color: #f7fafc;
}
.wpchill-kb-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #635bff;
}
[data-theme=dark] .wpchill-kb-category-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  border-color: rgb(147.512195122, 142, 255);
}
.wpchill-kb-category-card:hover .wpchill-kb-card-arrow {
  transform: translateX(4px);
  opacity: 1;
}
.wpchill-kb-category-card:focus {
  outline: 2px solid #635bff;
  outline-offset: 2px;
}

.wpchill-kb-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.wpchill-kb-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
}
[data-theme=dark] .wpchill-kb-category-icon {
  color: #f7fafc;
}

.wpchill-kb-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #1a1f36;
  line-height: 1.4;
}
[data-theme=dark] .wpchill-kb-category-title {
  color: #f7fafc;
}

.wpchill-kb-category-desc {
  font-size: 0.9375rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}
[data-theme=dark] .wpchill-kb-category-desc {
  color: #a0aec0;
}

.wpchill-kb-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #e6e6e6;
}
[data-theme=dark] .wpchill-kb-card-footer {
  border-top-color: #2d3748;
}

.wpchill-kb-article-count {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}
[data-theme=dark] .wpchill-kb-article-count {
  color: #a0aec0;
}

.wpchill-kb-card-arrow {
  display: flex;
  align-items: center;
  color: #635bff;
  opacity: 0.6;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme=dark] .wpchill-kb-card-arrow {
  color: rgb(196.0243902439, 193, 255);
}
.wpchill-kb-card-arrow svg {
  width: 16px;
  height: 16px;
}

.wpchill-kb-no-categories {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
  padding: 60px;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
}
[data-theme=dark] .wpchill-kb-no-categories {
  background-color: #1a1f36;
  border-color: #2d3748;
}
.wpchill-kb-no-categories p {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0;
}
[data-theme=dark] .wpchill-kb-no-categories p {
  color: #a0aec0;
}

/* Taxonomy Page Styles */
.wpchill-kb-taxonomy-page {
  min-height: 100vh;
}

[data-theme=dark] .wpchill-kb-taxonomy-page {
  background-color: #0f0f17;
}

[data-theme=dark] .wpchill-kb-content-section {
  background-color: #0f0f17;
}

.wpchill-kb-hero-compact {
  padding: 50px 40px 60px;
}

.wpchill-kb-hero-compact .wpchill-kb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.wpchill-kb-hero-compact .wpchill-kb-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.wpchill-kb-hero-compact .wpchill-kb-breadcrumb a:hover {
  color: #635bff;
}

.wpchill-kb-hero-compact .wpchill-kb-breadcrumb .separator {
  color: #d1d5db;
}

.wpchill-kb-hero-compact .wpchill-kb-breadcrumb .current {
  color: #1a1f36;
  font-weight: 500;
}

[data-theme=dark] .wpchill-kb-hero-compact .wpchill-kb-breadcrumb a {
  color: #a0aec0;
}

[data-theme=dark] .wpchill-kb-hero-compact .wpchill-kb-breadcrumb a:hover {
  color: #818cf8;
}

[data-theme=dark] .wpchill-kb-hero-compact .wpchill-kb-breadcrumb .separator {
  color: #4a5568;
}

[data-theme=dark] .wpchill-kb-hero-compact .wpchill-kb-breadcrumb .current {
  color: #f0f0f5;
}

.wpchill-kb-hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.wpchill-kb-hero-title-row .wpchill-kb-category-icon {
  width: 48px;
  height: 48px;
  font-size: 24px;
}

.wpchill-kb-content-section {
  padding: 60px 40px 80px;
}

.wpchill-kb-content-section .wpchill-kb-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.wpchill-kb-section-header {
  margin-bottom: 24px;
}

.wpchill-kb-section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

[data-theme=dark] .wpchill-kb-section-header h2 {
  color: #a0aec0;
}

.wpchill-kb-subcategories-grid {
  margin-bottom: 60px;
}

/* Article Cards */
.wpchill-kb-articles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wpchill-kb-article-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background-color: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.wpchill-kb-article-card:hover {
  border-color: #635bff;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.1);
  transform: translateY(-1px);
}

[data-theme=dark] .wpchill-kb-article-card {
  background-color: #1a1f36;
  border-color: #2d3748;
}

[data-theme=dark] .wpchill-kb-article-card:hover {
  border-color: #818cf8;
  box-shadow: 0 4px 12px rgba(129, 140, 248, 0.15);
}

.wpchill-kb-article-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
  border-radius: 10px;
  color: #6b7280;
}

[data-theme=dark] .wpchill-kb-article-icon {
  background-color: #2d3748;
  color: #a0aec0;
}

.wpchill-kb-article-content {
  flex: 1;
  min-width: 0;
}

.wpchill-kb-article-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1f36;
  margin: 0;
  line-height: 1.4;
}

[data-theme=dark] .wpchill-kb-article-title {
  color: #f0f0f5;
}

.wpchill-kb-article-excerpt {
  font-size: 14px;
  color: #6b7280;
  margin: 4px 0 0;
  line-height: 1.5;
}

[data-theme=dark] .wpchill-kb-article-excerpt {
  color: #a0aec0;
}

.wpchill-kb-article-arrow {
  flex-shrink: 0;
  color: #d1d5db;
  transition: all 0.2s ease;
}

.wpchill-kb-article-card:hover .wpchill-kb-article-arrow {
  color: #635bff;
  transform: translateX(4px);
}

[data-theme=dark] .wpchill-kb-article-arrow {
  color: #4a5568;
}

[data-theme=dark] .wpchill-kb-article-card:hover .wpchill-kb-article-arrow {
  color: #818cf8;
}

/* No Content State */
.wpchill-kb-no-content {
  max-width: 400px;
  margin: 60px auto;
  text-align: center;
  padding: 60px 40px;
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
}

.wpchill-kb-no-content svg {
  color: #d1d5db;
  margin-bottom: 16px;
}

.wpchill-kb-no-content p {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

[data-theme=dark] .wpchill-kb-no-content {
  background-color: #1a1f36;
  border-color: #2d3748;
}

[data-theme=dark] .wpchill-kb-no-content svg {
  color: #4a5568;
}

[data-theme=dark] .wpchill-kb-no-content p {
  color: #a0aec0;
}

@media (max-width: 768px) {
  .wpchill-kb-hero-compact {
    padding: 30px 20px 40px;
  }
  
  .wpchill-kb-hero-title-row .wpchill-kb-category-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .wpchill-kb-content-section {
    padding: 30px 0 60px;
  }
  
  .wpchill-kb-article-card {
    padding: 16px;
  }
  
  .wpchill-kb-article-icon {
    width: 36px;
    height: 36px;
  }
  
  .wpchill-kb-article-title {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .wpchill-kb-category-card {
    padding: 20px;
  }
  .wpchill-kb-category-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .wpchill-kb-category-title {
    font-size: 1.125rem;
  }
  .wpchill-kb-category-desc {
    font-size: 0.875rem;
  }
}
.wpchill-kb-article-list {
  margin-top: calc(20px / 2);
  list-style-type: none;
  padding: calc(20px / 2);
}
.wpchill-kb-article-list li {
  border-top: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
  overflow: hidden;
}
.wpchill-kb-article-list li:first-of-type {
  border-top-left-radius: calc(20px / 2);
  border-top-right-radius: calc(20px / 2);
}
.wpchill-kb-article-list li:last-of-type {
  border-bottom: 1px solid #e6e6e6;
  border-bottom-left-radius: calc(20px / 2);
  border-bottom-right-radius: calc(20px / 2);
}
.wpchill-kb-article-list .wpchill-kb-icon {
  color: #fff;
  padding: 3px;
  align-content: center;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 4px;
}
.wpchill-kb-article-list .wpchill-kb-article .wpchill-kb-icon {
  background-color: #75e1b8;
}
.wpchill-kb-article-list .wpchill-kb-article.wpchill-kb-locked {
  position: relative;
}
.wpchill-kb-article-list .wpchill-kb-article .wpchill_kb_article_pro_badge {
  position: absolute;
  right: 0;
  top: 0;
  padding: calc(20px / 4) calc(20px / 2);
  background-color: #f4daa4;
  border-top-right-radius: calc(20px / 2);
  border-bottom-left-radius: calc(20px / 2);
  pointer-events: none;
}
.wpchill-kb-article-list a {
  text-decoration: none;
  color: #1a1f36;
  display: flex;
  width: 100%;
  padding: calc(20px / 2);
  justify-content: flex-start;
  align-items: center;
  column-gap: calc(20px / 4);
}
.wpchill-kb-article-list a:hover {
  background-color: #eef2ff;
}

.wpchill-kb-categories-container {
  width: 80%;
  margin: 40px auto;
}
.wpchill-kb-categories-container .wpchill-kb-category-wrapper {
  display: grid;
  gap: 20px;
  list-style-type: none;
  padding: 0;
  margin: 40px 0;
}
.wpchill-kb-categories-container .wpchill-kb-category-wrapper .wpchill-kb-category-item {
  padding: 30px;
  border: 1px solid #e2e8ef;
  border-radius: 15px;
  text-decoration: none;
  position: relative;
}
.wpchill-kb-categories-container .wpchill-kb-category-wrapper .wpchill-kb-category-item .wpchill-kb-overlay-link {
  color: #1a1f36;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.wpchill-kb-categories-container .wpchill-kb-category-wrapper .wpchill-kb-category-item:hover {
  background-color: #eef2ff;
  border-color: #9bbce4;
}
.wpchill-kb-categories-container .wpchill-kb-category-wrapper .wpchill-kb-category-item .wpchill-kb-icon {
  color: #fff;
  padding: 3px;
  align-content: center;
  width: 30px;
  height: 30px;
  box-sizing: border-box;
  border-radius: 4px;
  margin-bottom: 20px;
}
.wpchill-kb-categories-container .wpchill-kb-category-wrapper .wpchill-kb-category-item .wpchill-kb-category-name {
  margin: 0 0 10px 0;
}
.wpchill-kb-categories-container .wpchill-kb-category-wrapper .wpchill-kb-category-item .wpchill-kb-category-description {
  margin: 0 0 calc(20px / 2) 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
}
.wpchill-kb-categories-container .wpchill-kb-article-list {
  margin-top: calc(20px / 2);
  list-style-type: none;
  padding: calc(20px / 2);
}
.wpchill-kb-categories-container .wpchill-kb-article-list li {
  border-top: 1px solid #e6e6e6;
  border-left: 1px solid #e6e6e6;
  border-right: 1px solid #e6e6e6;
}
.wpchill-kb-categories-container .wpchill-kb-article-list li:first-of-type {
  border-top-left-radius: calc(20px / 2);
  border-top-right-radius: calc(20px / 2);
}
.wpchill-kb-categories-container .wpchill-kb-article-list li:last-of-type {
  border-bottom: 1px solid #e6e6e6;
  border-bottom-left-radius: calc(20px / 2);
  border-bottom-right-radius: calc(20px / 2);
}
.wpchill-kb-categories-container .wpchill-kb-article-list .wpchill-kb-icon {
  color: #fff;
  padding: 3px;
  align-content: center;
  width: 24px;
  height: 24px;
  box-sizing: border-box;
  border-radius: 4px;
}
.wpchill-kb-categories-container .wpchill-kb-article-list .wpchill-kb-article .wpchill-kb-icon {
  background-color: #75e1b8;
}
.wpchill-kb-categories-container .wpchill-kb-article-list a {
  text-decoration: none;
  color: #1a1f36;
  display: flex;
  width: 100%;
  padding: calc(20px / 2);
  justify-content: flex-start;
  align-items: center;
  column-gap: calc(20px / 4);
}
.wpchill-kb-categories-container .wpchill-kb-article-list a:hover {
  background-color: #eef2ff;
}
.wpchill-kb-categories-container .wpchill-kb-no-results {
  text-align: center;
}
.wpchill-kb-categories-container .wpchill-kb-no-results .wpchill-kb-go-back {
  display: block;
  margin: calc(20px / 2) auto;
  padding: calc(20px / 2) 20px;
  background-color: #635bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-height: unset;
}
.wpchill-kb-categories-container .wpchill-kb-no-results .wpchill-kb-go-back:hover {
  background-color: rgb(50.487804878, 40, 255);
}
.wpchill-kb-categories-container .wpchill-kb-go-back:hover {
  background-color: #eef2ff;
}
@media (min-width: 640px) {
  .wpchill-kb-categories-container .wpchill-kb-category-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .wpchill-kb-categories-container .wpchill-kb-category-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .wpchill-kb-categories-container .wpchill-kb-category-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.single-kb .wpchill-kb-article-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: calc(20px * 0.75);
  border-bottom: 1px solid #e6e6e6;
}
.single-kb .wpchill-kb-breadcrumb {
  font-size: 0.8125rem;
  color: #6b7280;
}
.single-kb .wpchill-kb-breadcrumb a {
  color: #635bff;
  text-decoration: none;
  transition: color 0.2s ease;
}
.single-kb .wpchill-kb-breadcrumb a:hover {
  color: rgb(50.487804878, 40, 255);
}
.single-kb .wpchill-kb-breadcrumb .separator {
  margin: 0 0.375rem;
  opacity: 0.5;
}
.single-kb .wpchill-kb-breadcrumb .current {
  color: #1a1f36;
}
.single-kb .wpchill-kb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.single-kb .wpchill-kb-article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #6b7280;
}
.single-kb .wpchill-kb-article-meta .meta-item svg {
  opacity: 0.6;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.single-kb .wpchill-kb-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: calc(20px * 0.5);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}
.single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: calc(20px * 0.5) calc(20px * 1);
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #1a1f36;
  font-size: 0.875rem;
  font-family: inherit;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn svg {
  flex-shrink: 0;
}
.single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn:hover {
  background: #635bff;
  color: #ffffff;
  border-color: #635bff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(99, 91, 255, 0.3);
}
.single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn:active {
  transform: translateY(0);
}
.single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn.loading {
  opacity: 0.6;
  cursor: wait;
  pointer-events: none;
}
.single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn.loading::after {
  content: "...";
  margin-left: 0.25rem;
}
.single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn.success {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}
.single-kb .wpchill-kb-ai-summary {
  margin: calc(20px * 2) 0;
  padding: calc(20px * 1.5);
  background: rgba(99, 91, 255, 0.05);
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 8px;
}
.single-kb .wpchill-kb-ai-summary .summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: calc(20px * 1);
}
.single-kb .wpchill-kb-ai-summary .summary-header h3 {
  margin: 0;
  font-size: 1rem;
  color: #635bff;
}
.single-kb .wpchill-kb-ai-summary .summary-header .close-summary {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 1;
  transition: color 0.2s ease;
}
.single-kb .wpchill-kb-ai-summary .summary-header .close-summary:hover {
  color: #1a1f36;
}
.single-kb .wpchill-kb-ai-summary .summary-content {
  color: #1a1f36;
  line-height: 1.6;
}
.single-kb .wpchill-kb-ai-summary .summary-content p:last-child {
  margin-bottom: 0;
}
.single-kb .wpchill-kb-ai-summary .summary-content.loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
}
.single-kb .wpchill-kb-ai-summary .summary-content.loading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(99, 91, 255, 0.2);
  border-top-color: #635bff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
[data-theme=dark] .single-kb .wpchill-kb-breadcrumb a {
  color: rgb(171.7682926829, 167.5, 255);
}
[data-theme=dark] .single-kb .wpchill-kb-breadcrumb a:hover {
  color: rgb(220.2804878049, 218.5, 255);
}
[data-theme=dark] .single-kb .wpchill-kb-article-meta {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .single-kb .wpchill-kb-article-actions {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn {
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme=dark] .single-kb .wpchill-kb-article-actions .wpchill-kb-action-btn:hover {
  background: #635bff;
  border-color: #635bff;
}
[data-theme=dark] .single-kb .wpchill-kb-ai-summary {
  background: rgba(99, 91, 255, 0.1);
  border-color: rgba(99, 91, 255, 0.3);
}
.single-kb .wpchill-kb-article img {
  background: #fff;
  border: 2px solid #e6e6e6;
  max-width: 100%;
  height: auto;
  padding: calc(20px * 0.75);
}
.single-kb .wpchill-kb-article ol {
  padding-left: 0;
  counter-reset: li;
}
.single-kb .wpchill-kb-article ol > li {
  position: relative;
  list-style: none;
  padding: calc(20px * 0.75) 0;
  margin-left: calc(20px * 2.25);
  margin-right: 0;
}
.single-kb .wpchill-kb-article ol > li > img {
  margin-top: calc(20px * 0.75);
  margin-bottom: calc(20px * 0.75);
}
.single-kb .wpchill-kb-article ol > li:before {
  content: counter(li, decimal);
  counter-increment: li;
  position: absolute;
  left: -45px;
  width: 33px;
  height: auto;
  border-style: none;
  line-height: 33px;
  text-align: center;
  z-index: 2;
  color: #fff;
  background-color: #635bff;
}
.single-kb .wpchill-kb-article ol > li:after {
  content: "";
  height: calc(100% - 18.5px);
  width: 1px;
  background-color: #635bff;
  position: absolute;
  top: 33px;
  left: -30px;
}
.single-kb .wpchill-kb-article ol > li:last-of-type:after {
  width: 0;
}
.single-kb .wpchill-kb-article pre {
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  page-break-inside: avoid;
  max-width: 100%;
  overflow: auto;
  padding: 1em 1.5em;
  display: block;
  word-wrap: break-word;
}

.wpchill-kb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  cursor: zoom-out;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.wpchill-kb-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.wpchill-kb-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Article Rating Widget - PinkDocs Style */
.wpchill-kb-rating {
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}

.wpchill-kb-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wpchill-kb-rating-question {
  font-size: 15px;
  font-weight: 500;
  color: #4a5568;
  flex-shrink: 0;
}

.wpchill-kb-rating-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.wpchill-kb-rating-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1f36;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wpchill-kb-rating-button svg {
  flex-shrink: 0;
}

.wpchill-kb-rating-button:hover {
  border-color: #cbd5e0;
  background-color: #f7fafc;
}

.wpchill-kb-rating-button.wpchill-kb-like:hover {
  border-color: #68d391;
  background-color: #f0fff4;
  color: #22543d;
}

.wpchill-kb-rating-button.wpchill-kb-like:hover svg {
  color: #48bb78;
}

.wpchill-kb-rating-button.wpchill-kb-dislike:hover {
  border-color: #fc8181;
  background-color: #fff5f5;
  color: #742a2a;
}

.wpchill-kb-rating-button.wpchill-kb-dislike:hover svg {
  color: #f56565;
}

.wpchill-kb-rating-thanks {
  font-size: 14px;
  color: #48bb78;
  font-weight: 500;
}

.wpchill-kb-rating-button.selected {
  border-color: #635bff;
  background-color: #f0f0ff;
}

.wpchill-kb-rating-button.selected.wpchill-kb-like {
  border-color: #68d391;
  background-color: #f0fff4;
  color: #22543d;
}

.wpchill-kb-rating-button.selected.wpchill-kb-dislike {
  border-color: #fc8181;
  background-color: #fff5f5;
  color: #742a2a;
}

/* Feedback Form */
.wpchill-kb-feedback-form {
  margin-top: 24px;
}

.wpchill-kb-feedback-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1f36;
  margin: 0 0 20px 0;
  text-align: left;
}

.wpchill-kb-feedback-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.wpchill-kb-feedback-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  color: #4a5568;
  text-align: left;
}

.wpchill-kb-feedback-option input[type="radio"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #635bff;
}

.wpchill-kb-feedback-option span {
  line-height: 1.4;
}

.wpchill-kb-feedback-option:hover {
  color: #1a1f36;
}

.wpchill-kb-feedback-textarea {
  margin-bottom: 20px;
  margin-left: 30px;
}

.wpchill-kb-feedback-textarea textarea {
  width: 100%;
  max-width: 400px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  resize: vertical;
  min-height: 80px;
  color: #1a1f36;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpchill-kb-feedback-textarea textarea:focus {
  outline: none;
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.wpchill-kb-feedback-textarea textarea::placeholder {
  color: #a0aec0;
}

.wpchill-kb-feedback-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.wpchill-kb-feedback-cancel {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wpchill-kb-feedback-cancel:hover {
  background-color: #f7fafc;
  border-color: #cbd5e0;
}

.wpchill-kb-feedback-submit {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  background-color: #635bff;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wpchill-kb-feedback-submit:hover {
  background-color: #5046e5;
}

.wpchill-kb-feedback-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wpchill-kb-feedback-thanks {
  text-align: center;
  padding: 20px 0;
}

.wpchill-kb-feedback-thanks p {
  font-size: 16px;
  font-weight: 500;
  color: #48bb78;
  margin: 0;
}

.wpchill-kb-rating.voted .wpchill-kb-rating-buttons {
  /* Show thanks message instead */
}

[data-theme=dark] .wpchill-kb-rating {
  border-top-color: #2d3748;
  border-bottom-color: #2d3748;
}

[data-theme=dark] .wpchill-kb-rating-question {
  color: #a0aec0;
}

[data-theme=dark] .wpchill-kb-rating-button {
  background-color: #1a1f36;
  border-color: #2d3748;
  color: #e2e8f0;
}

[data-theme=dark] .wpchill-kb-rating-button:hover {
  border-color: #4a5568;
  background-color: #2d3748;
}

[data-theme=dark] .wpchill-kb-rating-button.wpchill-kb-like:hover {
  border-color: #68d391;
  background-color: rgba(72, 187, 120, 0.15);
  color: #9ae6b4;
}

[data-theme=dark] .wpchill-kb-rating-button.wpchill-kb-like:hover svg {
  color: #68d391;
}

[data-theme=dark] .wpchill-kb-rating-button.wpchill-kb-dislike:hover {
  border-color: #fc8181;
  background-color: rgba(245, 101, 101, 0.15);
  color: #feb2b2;
}

[data-theme=dark] .wpchill-kb-rating-button.wpchill-kb-dislike:hover svg {
  color: #fc8181;
}

[data-theme=dark] .wpchill-kb-rating-thanks {
  color: #68d391;
}

[data-theme=dark] .wpchill-kb-rating-button.selected {
  border-color: #818cf8;
  background-color: rgba(129, 140, 248, 0.15);
}

[data-theme=dark] .wpchill-kb-rating-button.selected.wpchill-kb-like {
  border-color: #68d391;
  background-color: rgba(72, 187, 120, 0.15);
  color: #9ae6b4;
}

[data-theme=dark] .wpchill-kb-rating-button.selected.wpchill-kb-dislike {
  border-color: #fc8181;
  background-color: rgba(245, 101, 101, 0.15);
  color: #feb2b2;
}

[data-theme=dark] .wpchill-kb-feedback-title {
  color: #f0f0f5;
}

[data-theme=dark] .wpchill-kb-feedback-option {
  color: #a0aec0;
}

[data-theme=dark] .wpchill-kb-feedback-option:hover {
  color: #e2e8f0;
}

[data-theme=dark] .wpchill-kb-feedback-option input[type="radio"] {
  accent-color: #818cf8;
}

[data-theme=dark] .wpchill-kb-feedback-cancel {
  background-color: #1a1f36;
  border-color: #2d3748;
  color: #a0aec0;
}

[data-theme=dark] .wpchill-kb-feedback-cancel:hover {
  background-color: #2d3748;
  border-color: #4a5568;
}

[data-theme=dark] .wpchill-kb-feedback-submit {
  background-color: #818cf8;
}

[data-theme=dark] .wpchill-kb-feedback-submit:hover {
  background-color: #6366f1;
}

[data-theme=dark] .wpchill-kb-feedback-thanks p {
  color: #68d391;
}

[data-theme=dark] .wpchill-kb-feedback-textarea textarea {
  background-color: #1a1f36;
  border-color: #2d3748;
  color: #e2e8f0;
}

[data-theme=dark] .wpchill-kb-feedback-textarea textarea:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

[data-theme=dark] .wpchill-kb-feedback-textarea textarea::placeholder {
  color: #718096;
}

.wpchill-kb-breadcrumb ol {
  padding: 0;
  margin: 0;
}

.wpchill-kb-locked-message {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  color: #721c24;
  padding: 20px;
  margin-bottom: 20px;
  text-align: left;
}
.wpchill-kb-locked-message .wpchill-kb-locked-message-header {
  text-align: center;
}
.wpchill-kb-locked-message .wpchill-kb-login-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-right: 10px;
}
.wpchill-kb-locked-message .wpchill-kb-login-button:hover {
  background-color: #0056b3;
  text-decoration: none;
  color: #ffffff;
}
.wpchill-kb-locked-message .wpchill-kb-buttons-wrapp {
  text-align: center;
}
.wpchill-kb-locked-message .wpchill-kb-addon {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  .wpchill-kb-locked-message .wpchill-kb-login-button {
    padding: 10px 15px;
    margin-bottom: 10px;
    margin-right: 0;
  }
}
/**
 * Table of Contents - PinkDocs Style with Scroll Spy
 */
.wpchill-kb-toc {
  padding: 24px 0 0 0;
}
.wpchill-kb-toc__title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9ca3af;
  margin: 0 0 12px 0;
  padding: 0 0 0 12px;
}
.wpchill-kb-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.wpchill-kb-toc__item {
  margin: 0;
  padding: 0;
  position: relative;
}
.wpchill-kb-toc__item--level-3 .wpchill-kb-toc__link {
  padding-left: 24px;
  font-size: 13px;
}
.wpchill-kb-toc__item--level-4 .wpchill-kb-toc__link, .wpchill-kb-toc__item--level-5 .wpchill-kb-toc__link, .wpchill-kb-toc__item--level-6 .wpchill-kb-toc__link {
  padding-left: 32px;
  font-size: 12px;
}
.wpchill-kb-toc__item.is-active::after {
  content: "";
  position: absolute;
  right: -17px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #635bff;
  z-index: 1;
}
.wpchill-kb-toc__link {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
  border-radius: 6px;
}
.wpchill-kb-toc__link:hover {
  color: #635bff;
}
.wpchill-kb-toc__link.is-active {
  color: #635bff;
  font-weight: 500;
  background: rgba(99, 91, 255, 0.06);
}

.wpchill-kb-sidebar-right .wpchill-sidebar-content {
  padding: 0 16px 0 16px;
}

[data-theme=dark] .wpchill-kb-toc__title {
  color: #6b7280;
}
[data-theme=dark] .wpchill-kb-toc__item.is-active::after {
  background: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-toc__link {
  color: #9ca3af;
}
[data-theme=dark] .wpchill-kb-toc__link:hover {
  color: #a5b4fc;
}
[data-theme=dark] .wpchill-kb-toc__link.is-active {
  color: #a5b4fc;
  background: rgba(165, 180, 252, 0.1);
}

.wpchill-kb-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: calc(20px * 2);
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
}
.wpchill-kb-navigation .wpchill-kb-nav-previous a,
.wpchill-kb-navigation .wpchill-kb-nav-next a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid transparent;
  color: #1a1f36;
  text-decoration: none;
  transition: all 0.3s ease;
}
.wpchill-kb-navigation .wpchill-kb-nav-previous a:hover,
.wpchill-kb-navigation .wpchill-kb-nav-next a:hover {
  background-color: #fff;
  border-color: #e6e6e6;
}
.wpchill-kb-navigation .wpchill-kb-nav-previous a::before {
  content: "←";
  margin-right: 8px;
}
.wpchill-kb-navigation .wpchill-kb-nav-next a::after {
  content: "→";
  margin-left: 8px;
}

.wpchill-kb-related-articles {
  margin-top: 20px;
  padding: 20px;
  border-top: 1px solid #e6e6e6;
}

@media (max-width: 1024px) {
  body .wpchill-kb-content-container {
    display: block;
  }
  body .wpchill-kb-content-container .wpchill-kb-sidebar {
    top: 0;
    width: 80%;
    height: 100%;
    overflow: visible;
    position: absolute;
    z-index: 99;
    margin-left: -80%;
    transition: margin-left 0.5s ease;
    box-sizing: border-box;
  }
  body .wpchill-kb-content-container .wpchill-kb-sidebar .wpchill-sidebar-toggle {
    position: absolute;
    top: 50%;
    right: -40px;
    padding: 10px;
    display: flex;
    background-color: #635bff;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    transform: translateY(calc(-50% - 40px));
    min-width: 40px;
    cursor: pointer;
  }
  body .wpchill-kb-content-container .wpchill-kb-sidebar .wpchill-sidebar-toggle .dashicons {
    transition: transform 0.3s ease;
  }
  body .wpchill-kb-content-container .wpchill-kb-sidebar.open {
    margin-left: 0;
    z-index: 999;
  }
  body .wpchill-kb-content-container .wpchill-kb-sidebar.open .wpchill-sidebar-toggle .dashicons {
    transform: rotate(180deg);
  }
  body .wpchill-kb-content-container .wpchill-kb-sidebar.wpchill-kb-sidebar-right .wpchill-sidebar-toggle {
    top: 50%;
    transform: translateY(calc(-50% + 40px));
  }
  body .wpchill-kb-content-container .wpchill-kb-sidebar.wpchill-kb-sidebar-right .wpchill-sidebar-toggle .wpchill-toggle-toc {
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-weight: 600;
    line-height: 14px;
  }
  body .wpchill-kb-main-content {
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    padding: calc(20px * 3);
  }
}
@media (min-width: 1024px) {
  .wpchill-kb-content-container .wpchill-kb-sidebar .wpchill-sidebar-toggle {
    display: none;
  }
}
