/* Help Center Styles */

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header */
.help-brand-divider {
    color: #dee2e6;
    margin: 0 0.5rem;
    font-weight: 300;
}

.help-brand-text {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

.help-search-nav {
    width: 280px;
}

.help-search-nav .form-control {
    border-radius: 6px 0 0 6px;
    font-size: 0.875rem;
}

/* Hero */
.help-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 4rem 0;
}

.help-hero h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-hero-subtitle {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.help-hero-search {
    max-width: 540px;
    margin: 0 auto;
}

.help-hero-search .form-control {
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 0.75rem 1rem;
}

.help-hero-search .btn {
    border-radius: 0 8px 8px 0;
    padding: 0.75rem 1.25rem;
}

/* Category cards */
.help-categories {
    padding: 3rem 0;
}

.help-category-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.help-category-card .card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.help-category-card:hover .card {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.help-category-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.help-category-card .card-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

.help-article-count {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Content section */
.help-content-section {
    padding: 2rem 0 3rem;
}

.help-content-section h1 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* Article list items */
.help-article-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    padding: 1rem 1.25rem;
}

.help-article-item:hover {
    background-color: #f8f9fa;
}

.help-article-item h6 {
    font-weight: 600;
    color: #1a1a2e;
}

/* Article page */
.help-article {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.help-article h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.help-article-desc {
    font-size: 0.95rem;
}

.help-article-body {
    max-width: 800px;
    line-height: 1.75;
    font-size: 0.95rem;
    color: #333;
}

.help-article-body h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.help-article-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.help-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
}

.help-article-body ul,
.help-article-body ol {
    padding-left: 1.25rem;
}

.help-article-body li {
    margin-bottom: 0.5rem;
}

.help-article-body a {
    color: #0d6efd;
}

.help-article-body p {
    margin-bottom: 1rem;
}

/* Sidebar */
.help-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    position: sticky;
    top: 1rem;
}

.help-sidebar h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.help-sidebar li {
    margin-bottom: 0.75rem;
}

.help-sidebar a {
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
}

.help-sidebar a:hover {
    color: #0d6efd;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 0.85rem;
    background: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0d6efd;
}

/* Footer */
.help-footer {
    margin-top: auto;
    padding: 1.5rem 0;
    border-top: 1px solid #e9ecef;
    font-size: 0.8rem;
    color: #6c757d;
}

.help-footer-links a {
    color: #6c757d;
    text-decoration: none;
}

.help-footer-links a:hover {
    color: #0d6efd;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .help-hero {
        padding: 2.5rem 0;
    }

    .help-hero h1 {
        font-size: 1.5rem;
    }

    .help-article {
        padding: 1.25rem;
    }

    .help-sidebar {
        margin-top: 1.5rem;
        position: static;
    }
}
