.yomooh-documentation-archive {
   margin: 0 auto;
    padding: 2rem 1rem;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.archive-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--heading-color, #1a1a1a);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
     background-color: var(--background-alt, #fff);
    color: var(--text-color, #333);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-title {
    display: flex;
    justify-content: center; /* Center the title */
    position: relative; /* For absolute positioning of count */
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--heading-color, #1a1a1a);
}

.category-title > span:first-child {
    text-align: center;
    flex-grow: 1; /* Take up available space */
}

.category-count {
    position: absolute;
    right: 70px;
    background: var(--primary-color, #0073aa);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.documentation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.documentation-item {
    margin: 0.5rem 0;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color, #eee);
}

.documentation-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color, #333);
    transition: all 0.2s;
    gap: 0.5rem;
}

.documentation-item a:hover {
    color: var(--primary-color, #0073aa);
}

.documentation-item .dashicons {
    color: var(--primary-color, #0073aa);
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
}

.documentation-item .arrow-icon {
    margin-left: auto;
    color: var(--text-light, #666);
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
	.yomooh-documentation-archive {
   margin: 0;
    padding: 2rem 1rem;
}
     
    .archive-header h1 {
        font-size: 2rem;
    }
}
	.search-container {
    width: 80%; /* Full width */
    margin: 0 0 2rem 0; /* Remove auto margins, keep bottom margin */
    position: relative;
    box-sizing: border-box; /* Include padding in width calculation */
}

@media (min-width: 1200px) {
    .search-container {
        max-width: 500px; /* Restrict width on very large screens */
        margin: 0 auto 2rem; /* Center it again on large screens */
    }
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 2px solid var(--border-color, #ddd);
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color, #0073aa);
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light, #999);
    padding: 8px;
	font-size: 24px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-results.active + .categories-grid {
    margin-bottom: 22rem;
	padding-bottom: 22rem;
}
.search-results {
    display: none;
    background-color: var(--background-alt, #fff);
    color: var(--text-color, #333);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
	text-decoration: none;
    margin-top: 10px;
	margin-left: -20px;
	margin-bottom: 30px;
    z-index: 100;
    position: absolute;
	left: 10%;
    width: 100%;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color, #eee);
    display: flex;
	text-decoration: none;
    align-items: center;
    transition: all 0.2s;
}

.search-result-item:hover {
color: var(--primary-color, #0073aa);}

.search-result-item .document-icon {
    margin-right: 10px;
    color: var(--primary-color, #0073aa);
}

.no-results {
    padding: 15px;
    text-align: center;
    color: var(--heading-color, #1a1a1a);
}
/* single */

.yomooh-documentation-single {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    padding: 2rem;
	padding-left: 4rem;
	padding-right: 4rem;
    background-color: var(--background-alt, #fff);
    color: var(--text-color, #333);
	min-height: 100vh;
}

.main-content {
    padding-right: 2rem;
}

.sidebar {
    padding-left: 1.3rem;
    border-left: 1px solid #b53dff;
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.breadcrumb a {
    text-decoration: none;
}
.breadcrumb span {
    color: var(--heading-color);
    font-weight: 600
}
.breadcrumb a:hover {
	text-decoration: underline;
    color: var(--primary-color, #0073aa);
}

.update-date {
    font-size: 0.8rem;
    color: var(--text-light, #999);
    margin-bottom: 1.5rem;
}

.entry-title {
    font-size: 2rem;
    margin: 0 0 1.5rem;
    color: var(--heading-color, #1a1a1a);
}

.entry-content {
    line-height: 1.6;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    scroll-margin-top: 100px;
}

.entry-content h2 {
    font-size: 1.5rem;
    padding-bottom: 1.5rem;
}

.entry-content h3 {
    font-size: 1.3rem;
}

.feedback-section {
	 display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
    margin: 3rem 0;
    border-radius: 8px;
}

.feedback-title {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

.feedback-buttons {
}

.feedback-btn {
	gap: 30px;
	margin-right: 10px;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.feedback-btn.yes {
    background: var(--success-color, #4CAF50);
    color: white;
}

.feedback-btn.no {
    background: var(--error-color, #f44336);
    color: white;
}

.feedback-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.feedback-count {
    margin-left: 0.5rem;
    font-weight: normal;
}

.navigation-links {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color, #eee);
}

.nav-link {
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-color, #333);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color);
    background: 0 0;
	text-decoration: none;
}
.nav-link:hover i {
    color: inherit !important; /* Inherit from parent without hover effect */
    opacity: 1 !important;
	text-decoration: none;
    /* Add any other properties you want to remain unchanged on hover */
}

/* Specific styles for the icons */
.nav-link i {
    font-size: 1.2rem;
	text-decoration: none;
    transition: none; /* Remove transition for icons */
}

.navigation-links .nav-link i {
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.navigation-links .nav-link i:hover {
    color: var(--primary-color, #0073aa);
    transform: translateX(3px); /* subtle motion for next, you can use -3px for prev */
    text-decoration: none;
}
.sidebar-section {
	background-color: var(--background-alt);
    margin-bottom: 2.5rem;
}

.sidebar-title {
    font-size: 1.2rem;
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color, #0073aa);
    color: var(--heading-color, #1a1a1a);
}

.popular-articles-list,
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-article-item,
.category-item {
    margin: 0.8rem 0;
}

.popular-article-item a,
.category-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color, #333);
    transition: all 0.2s;
    gap: 0.5rem;
}

.popular-article-item a:hover,
.category-item a:hover {
    color: var(--primary-color, #0073aa);
}

.popular-article-item .dashicons {
    color: var(--primary-color, #0073aa);
    font-size: 1rem;
}

.category-count {
    margin-left: auto;
    background: #2176cb;
	color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}
.category-count:hover {
    color: #fff;
}
@media (max-width: 768px) {
    .yomooh-documentation-single {
        grid-template-columns: 1fr;
		padding: 2rem;
	padding-left: 1rem;
	padding-right: 1rem;
    }
    
    .main-content {
        padding-right: 0;
    }
	.feedback-section {
    margin: 0;
		padding-top: 2rem;
}
	.navigation-links {
    margin: 0;
    padding-top: 2rem;
}
    
    .sidebar {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-color, #eee);
        padding-top: 2rem;
        margin-top: 0rem;
    }
}
	.feedback-message {
    flex-basis: 100%; /* Forces it to take a full row */
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted, #666);
}
.feedback-btn[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.feedback-message {
    margin-top: 1rem;
    color: var(--text-light, #666);
    font-size: 0.9rem;
}

.feedback-thankyou {
    color: var(--success-color, #4CAF50);
}

.feedback-already {
    color: var(--error-color, #f44336);
}
/* taxonomy  */

.yomooh-documentation-taxonomy {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.doc-cat-header {
    text-align: center;
    margin-bottom: 3rem;
}

.taxonomy-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-color, #333);
    line-height: 1.6;
}

.cat-documentation-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
}

.cat-documentation-item {
    margin: 0 0 1rem;
    padding: 1rem;
    background: var(--background-alt, #fff);
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.cat-documentation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cat-documentation-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color, #333);
    gap: 0.8rem;
}
.cat-documentation-item a:hover {
    color:  var(--primary-color);
    gap: 0.8rem;
}
.cat-documentation-item .cat-document-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cat-documentation-item .cat-arrow-icon {
    margin-left: auto;
    color: var(--text-light, #999);
}
.progress-container {
    width: 100%;
    height: 4px;
    background: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background-color: #70c489;
    width: 0%;
    transition: width 0.1s ease;
}
  .svgIcon {
    width: 12px;
    transition-duration: 0.3s;
  }
  
  .svgIcon path {
    fill: white;
  }
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: #005177;
    transform: translateY(-3px);
}

.scroll-to-top .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}
