/**
 * Help Center Modern Template Styles
 * Matching the reference design exactly
 */

/* Reset and Base Styles */
.ikbase-plugin.ikbase-style-help-center-modern {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    margin: 0;
    padding: 0;
    background: #f7fafc;
    min-height: 100vh;
}

.ikbase-plugin.ikbase-style-help-center-modern * {
    box-sizing: border-box;
}

/* Reset any existing plugin styles */
.ikbase-plugin.ikbase-style-help-center-modern .ikbase-container {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Hero Section */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-hero {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
    opacity: 0.3;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-hero-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 2rem 0;
    line-height: 1.2;
    color: white;
}

/* Search Box */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-box {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: none;
    font-size: 1rem;
    background: transparent;
    color: #2d3748;
    outline: none;
    height: 100%;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-input::placeholder {
    color: #a0aec0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-icon {
    position: absolute;
    left: 1rem;
    color: #a0aec0;
    font-size: 1.2rem;
    z-index: 3;
}

/* Main Content */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
}

/* Category Layout */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: white;
    align-items: start;
}

/* Article Layout for Single Article Page */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: white;
    align-items: start;
}

/* Sidebar Styles */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-sidebar {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-breadcrumb {
    margin-bottom: 2rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-back-link {
    display: inline-flex;
    align-items: center;
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    transition: color 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-back-link:hover {
    color: #3730a3;
    text-decoration: none;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-badge {
    margin-bottom: 1rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-badge a {
    display: inline-block;
    background: #4f46e5;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-badge a:hover {
    background: #3730a3;
    text-decoration: none;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-breadcrumb-current {
    font-size: 0.875rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-breadcrumb-label {
    color: #6b7280;
    display: block;
    margin-bottom: 0.25rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-breadcrumb-category {
    color: #1f2937;
    font-weight: 600;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-sidebar-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-item {
    margin-bottom: 0.5rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-sidebar-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #4b5563;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-sidebar-link:hover {
    background: #e5e7eb;
    color: #1f2937;
    text-decoration: none;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-item.current .hcm-category-sidebar-link {
    background: #4f46e5;
    color: white;
}

/* Related Articles Sidebar */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-related-articles {
    margin-top: 2rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-related-item {
    margin-bottom: 0.75rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-related-link {
    display: block;
    color: #4f46e5;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-related-link:hover {
    color: #3730a3;
    text-decoration: underline;
}

/* Category Header */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-header {
    margin-bottom: 2rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-description {
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Article Header for Single Article Page */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6b7280;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-date,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-views {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-categories {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-tag:hover {
    background: #4f46e5;
    color: white;
    text-decoration: none;
}

/* Article Content Styling */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-content {
    background: white;
    line-height: 1.7;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body {
    color: #374151;
    font-size: 1rem;
    line-height: 1.7;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h1,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h2,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h3,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h4,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h5,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h6 {
    color: #1f2937;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body h3 {
    font-size: 1.25rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body p {
    margin: 0 0 1.25rem 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body ul,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body ol {
    margin: 0 0 1.25rem 0;
    padding-left: 2rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body li {
    margin: 0.5rem 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body a {
    color: #4f46e5;
    text-decoration: underline;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body a:hover {
    color: #3730a3;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Highlighted Note/Callout Box */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body blockquote,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body .notice,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body .callout {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.875rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body code {
    background: #f3f4f6;
    color: #1f2937;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-body pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Articles List for Category Page */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-content {
    flex: 1;
    min-width: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-title {
    margin: 0 0 0.5rem 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-title a {
    color: #4f46e5;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-title a:hover {
    color: #3730a3;
    text-decoration: underline;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-excerpt {
    color: #6b7280;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-meta {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    justify-content: flex-end;
}

/* Article Footer */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

/* Default Like/Dislike System Styling */
.ikbase-plugin.ikbase-style-help-center-modern .ikbase-feedback-container {
    text-align: center;
    margin-bottom: 2rem;
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-feedback-header h3 {
    font-size: 1.125rem;
    color: #1f2937;
    font-weight: 600;
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-like-dislike {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-like,
.ikbase-plugin.ikbase-style-help-center-modern .ikbase-dislike {
    background: white;
    border: 2px solid #e5e7eb;
    color: #374151;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-like:hover {
    background: #dcfce7;
    border-color: #16a34a;
    color: #166534;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.15);
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-dislike:hover {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-like.voted {
    background: #16a34a;
    border-color: #16a34a;
    color: white;
    cursor: not-allowed;
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-dislike.voted {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    cursor: not-allowed;
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-like.voted:hover,
.ikbase-plugin.ikbase-style-help-center-modern .ikbase-dislike.voted:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-vote-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-vote-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    opacity: 1;
    transform: translateY(0);
}

.ikbase-plugin.ikbase-style-help-center-modern .ikbase-vote-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    opacity: 1;
    transform: translateY(0);
}

/* Article Navigation */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-prev,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-next {
    flex: 1;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-next {
    text-align: right;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-link {
    display: block;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    text-decoration: none;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-direction {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-title {
    display: block;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.4;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-back-to-category {
    text-align: center;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-back-category-btn {
    display: inline-block;
    background: #4f46e5;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-back-category-btn:hover {
    background: #3730a3;
    text-decoration: none;
}

/* Popularity Indicators */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-popularity {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-popularity.high {
    background: #dcfce7;
    color: #166534;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-popularity.medium {
    background: #fef3c7;
    color: #92400e;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-popularity.low {
    background: #f3f4f6;
    color: #6b7280;
}

/* Star Rating */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-rating {
    display: flex;
    gap: 0.125rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-rating .star {
    font-size: 0.875rem;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-rating .star.filled {
    opacity: 1;
}

/* Section Titles */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Articles Section */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-articles-section {
    margin-bottom: 3rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-articles-list {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1.5rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-articles-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-articles-row:last-child {
    margin-bottom: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 6px;
    text-decoration: none;
    color: #4f46e5;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-link:hover {
    background: #f8fafc;
    border-color: #4f46e5;
    text-decoration: none;
    color: #4f46e5;
    transform: translateY(-1px);
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-title {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-arrow {
    font-size: 1.2rem;
    color: #a0aec0;
    font-weight: bold;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-link:hover .hcm-article-arrow {
    color: #4f46e5;
}

/* Categories Section */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-categories-section {
    margin-bottom: 2rem;
}

/* FAQ Section */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-section {
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-accordion,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-question:hover {
    background: #f8fafc;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-question:focus {
    outline: 2px solid #4f46e5;
    outline-offset: -2px;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-title {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
    line-height: 1.5;
    flex: 1;
    padding-right: 1rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-arrow {
    color: #6b7280;
    transition: transform 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-question[aria-expanded="true"] .hcm-faq-arrow {
    transform: rotate(180deg);
    color: #4f46e5;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: #fafbfb;
    border-top: 1px solid #f1f5f9;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-answer.open {
    max-height: 500px;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-content {
    padding: 1.25rem 1.5rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.6;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-content p {
    margin: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-content p + p {
    margin-top: 0.75rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-card {
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-link {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-link:hover {
    text-decoration: none;
    color: inherit;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-icon {
    font-size: 2rem;
    line-height: 1;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-image {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 6px;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-badge {
    background: #4f46e5;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-description {
    color: #718096;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* No content states */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-no-articles,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-no-categories {
    text-align: center;
    color: #718096;
    padding: 2rem;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-admin-link {
    color: #4f46e5;
    text-decoration: none;
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-admin-link:hover {
    text-decoration: underline;
}

/* Override any conflicting plugin styles */
.ikbase-plugin.ikbase-style-help-center-modern h1,
.ikbase-plugin.ikbase-style-help-center-modern h2,
.ikbase-plugin.ikbase-style-help-center-modern h3,
.ikbase-plugin.ikbase-style-help-center-modern h4,
.ikbase-plugin.ikbase-style-help-center-modern h5,
.ikbase-plugin.ikbase-style-help-center-modern h6 {
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
}

.ikbase-plugin.ikbase-style-help-center-modern a {
    color: inherit;
    text-decoration: none;
}

.ikbase-plugin.ikbase-style-help-center-modern p {
    margin: 0;
    line-height: inherit;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-hero {
        padding: 3rem 1rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-hero-title {
        font-size: 2rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-main-content {
        padding: 2rem 1rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-category-layout,
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-article-layout {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-sidebar {
        position: static;
        order: 2;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-articles-row {
        grid-template-columns: 1fr;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-accordion,
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-faq-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-section-title {
        font-size: 1.25rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-article-item {
        flex-direction: column;
        text-align: center;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-article-meta {
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-nav-next {
        text-align: left;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-feedback-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .ikbase-like-dislike {
        flex-direction: column;
        gap: 0.75rem;
        max-width: 280px;
        margin: 0 auto 1rem auto;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .ikbase-like,
    .ikbase-plugin.ikbase-style-help-center-modern .ikbase-dislike {
        width: 100%;
        justify-content: center;
    }
    
    .hcm-custom-footer {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    
    .hcm-footer-title {
        font-size: 1.25rem;
    }
    
    .hcm-footer-buttons {
        flex-direction: column;
        align-items: center;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .hcm-footer-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-hero {
        padding: 2rem 1rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-hero-title {
        font-size: 1.75rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-search-input {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
        font-size: 0.875rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-search-icon {
        left: 0.875rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-category-link {
        padding: 1rem;
    }
    
    .ikbase-plugin.ikbase-style-help-center-modern .hcm-article-title {
        font-size: 1.5rem;
    }
    
    .hcm-footer-subtitle {
        font-size: 0.875rem;
    }
    
    .hcm-footer-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Focus states for accessibility */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-input:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.ikbase-plugin.ikbase-style-help-center-modern .hcm-article-link:focus,
.ikbase-plugin.ikbase-style-help-center-modern .hcm-category-link:focus {
    outline: 2px solid #4f46e5;
    outline-offset: 2px;
}

/* Custom Footer Styles */
.hcm-custom-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 3rem 2rem 2rem 2rem;
    margin-top: auto;
    position: relative;
    z-index: 999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hcm-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hcm-footer-main {
    text-align: center;
}

.hcm-footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.hcm-footer-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.hcm-footer-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hcm-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.hcm-footer-btn-primary {
    background: #4f46e5;
    color: white;
}

.hcm-footer-btn-primary:hover {
    background: #3730a3;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.hcm-footer-btn-secondary {
    background: white;
    color: #374151;
    border-color: #d1d5db;
}

.hcm-footer-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #1f2937;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Loading and interaction states */
.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-box.loading .hcm-search-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Search Results Dropdown */
.hcm-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
    display: none;
}

.hcm-search-results.show {
    display: block;
}

.hcm-search-header {
    padding: 1rem 1.5rem 0.5rem 1.5rem;
    font-weight: 600;
    color: #2d3748;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hcm-search-result {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hcm-search-result:last-child {
    border-bottom: none;
}

.hcm-search-result:hover,
.hcm-search-result.active {
    background-color: #f8fafc;
}

.hcm-search-result a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.hcm-search-result a:hover {
    text-decoration: none;
}

.hcm-result-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hcm-result-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.hcm-result-title {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.hcm-result-excerpt {
    color: #6b7280;
    font-size: 0.8125rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.hcm-result-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.hcm-result-category,
.hcm-result-type {
    background: #e5e7eb;
    color: #4b5563;
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.hcm-result-category {
    background: #dbeafe;
    color: #1e40af;
}

.hcm-no-search-results {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #6b7280;
}

.hcm-search-suggestions {
    margin-top: 1rem;
    text-align: left;
}

.hcm-search-suggestions p {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
}

.hcm-search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hcm-search-suggestions li {
    padding: 0.25rem 0;
    color: #6b7280;
    font-size: 0.875rem;
}

.hcm-search-error {
    padding: 1rem 1.5rem;
    text-align: center;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    margin: 0.5rem;
}

/* Universal Hero Search Compatibility */
.ikbase-hero-search .hcm-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 8px;
    display: none;
}

.ikbase-hero-search {
    position: relative;
}

/* Loading State */
.hcm-search-box.loading::after,
.ikbase-hero-search.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #4f46e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Mobile Search Results */
@media (max-width: 768px) {
    .hcm-search-results {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        max-height: 50vh;
        border-radius: 12px 12px 0 0;
        margin-top: 0;
    }
    
    .hcm-search-result {
        padding: 1rem 1.5rem;
    }
    
    .hcm-result-title {
        font-size: 1rem;
    }
    
    .hcm-result-excerpt {
        font-size: 0.875rem;
    }
} 
a.hcm-skip-link {
    display: none;
}
.ikbase-style-help-center-modern .ikbase-plugin.ikbase-style-help-center-modern .hcm-hero{
    position: relative;
    padding:8rem 2rem !important;
}
.ikbase-plugin.ikbase-style-help-center-modern .hcm-search-box{
    position: unset;
}
.ikbase-plugin.ikbase-style-help-center-modern .hcm-hero{
    overflow: unset !important;
}
.hcm-result-content {
    display: block;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}