/* VB Documentation Page - Modern Helpdesk Style */

/* Docs Hero */
.vb-docs-hero {
    padding: 140px 0 40px;
    background: linear-gradient(180deg, #f9fafb 0%, #f9fafb 100%);
    text-align: center;
}

.vb-docs-hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #111827;
    margin: 0 0 20px;
}

.vb-docs-hero p {
    font-size: 20px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0 0 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Box */
.vb-docs-search {
    position: relative;
}

.vb-docs-search svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

.vb-docs-search input {
    width: 100%;
    padding: 18px 20px 18px 52px;
    font-size: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.2s;
    background: #ffffff;
}

.vb-docs-search input:focus {
    outline: none;
    border-color: #2a7882;
    box-shadow: 0 0 0 4px rgba(26, 71, 42, 0.1);
}

.vb-docs-search input::placeholder {
    color: #9ca3af;
}

/* Search Results Dropdown */
.vb-docs-search-wrapper {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.vb-docs-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-height: 480px;
    overflow-y: auto;
    z-index: 1000;
}

.vb-docs-result-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    transition: background 0.15s;
    border-bottom: 1px solid #f3f4f6;
}

.vb-docs-result-item:last-child {
    border-bottom: none;
}

.vb-docs-result-item:hover {
    background: #f9fafb;
}

.vb-docs-result-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #dbeef3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a7882;
}

.vb-docs-result-content {
    flex: 1;
    min-width: 0;
}

.vb-docs-result-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.vb-docs-result-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 6px;
}

.vb-docs-result-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2a7882;
    background: #dbeef3;
    padding: 2px 8px;
    border-radius: 4px;
}

.vb-docs-no-results {
    padding: 32px 20px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

/* Featured Section - Varied Layout */
.vb-docs-featured {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, #f9fafb 0%, #ffffff 50%);
}

.vb-docs-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

/* Featured Card - Large Hero Style */
.vb-docs-featured-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #2a7882;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 24px;
}

.vb-docs-badge {
    display: inline-block;
    background: #2a7882;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.vb-docs-featured-card h2 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 0 0 12px;
}

.vb-docs-featured-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 24px;
    max-width: 540px;
}

.vb-docs-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2a7882;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.vb-docs-btn-primary:hover {
    background: #1f5a63;
    transform: translateX(2px);
}

.vb-docs-btn-primary svg {
    transition: transform 0.2s;
}

.vb-docs-btn-primary:hover svg {
    transform: translateX(3px);
}

/* Quick Actions */
.vb-docs-quick-actions h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px;
}

.vb-docs-action-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vb-docs-action-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s;
}

.vb-docs-action-card:hover {
    border-color: #2a7882;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.vb-docs-action-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #dbeef3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a7882;
}

.vb-docs-action-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px;
    line-height: 1.3;
}

.vb-docs-action-card p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

/* Popular Guides Sidebar */
.vb-docs-featured-sidebar {
    display: flex;
    flex-direction: column;
}

.vb-docs-featured-sidebar h3 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px;
}

.vb-docs-popular-list {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.vb-docs-popular-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.vb-docs-popular-item:last-child {
    border-bottom: none;
}

.vb-docs-popular-item:hover {
    background: #f9fafb;
}

.vb-docs-popular-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.vb-docs-popular-content {
    flex: 1;
    min-width: 0;
}

.vb-docs-popular-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 2px;
    line-height: 1.4;
}

.vb-docs-popular-content span {
    font-size: 12px;
    color: #6b7280;
}

.vb-docs-popular-arrow {
    flex-shrink: 0;
    color: #9ca3af;
    opacity: 0;
    transition: all 0.2s;
}

.vb-docs-popular-item:hover .vb-docs-popular-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Sidebar Section Heading */
.vb-docs-sidebar-heading {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 24px 0 16px;
}

/* Platform Feature Links */
.vb-docs-feature-links {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    flex: 1;
}

.vb-docs-feature-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s;
}

.vb-docs-feature-link:hover {
    background: #f9fafb;
    color: #2a7882;
}

.vb-docs-feature-link svg {
    flex-shrink: 0;
    color: #9ca3af;
    transition: color 0.15s;
}

.vb-docs-feature-link:hover svg {
    color: #2a7882;
}

/* Responsive */
@media (max-width: 1024px) {
    .vb-docs-featured-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Sections */
.vb-docs-section {
    padding: 100px 0;
    background: #ffffff;
}

.vb-docs-section.vb-docs-gray {
    background: #f9fafb;
}

.vb-docs-section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 0 0 48px;
    text-align: center;
}

/* Popular Articles Grid */
.vb-docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.vb-docs-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
}

.vb-docs-card:hover {
    border-color: #2a7882;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.vb-docs-card-icon {
    width: 48px;
    height: 48px;
    background: #d1fae5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.vb-docs-card-icon svg {
    color: #059669;
}

.vb-docs-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px;
    line-height: 1.3;
}

.vb-docs-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}

/* Documentation Categories */
.vb-docs-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vb-docs-category {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
}

.vb-docs-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.vb-docs-category-icon {
    width: 56px;
    height: 56px;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vb-docs-category-icon svg {
    color: #2a7882;
}

.vb-docs-category h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}

.vb-docs-category-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vb-docs-category-links li {
    margin-bottom: 12px;
}

.vb-docs-category-links li:last-child {
    margin-bottom: 0;
}

.vb-docs-category-links a {
    color: #4b5563;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.2s;
    display: block;
    padding: 4px 0;
}

.vb-docs-category-links a:hover {
    color: #2a7882;
    text-decoration: underline;
}

/* Help Section */
.vb-docs-help {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a7882 0%, #16627c 100%);
    text-align: center;
}

.vb-docs-help-content {
    max-width: 640px;
    margin: 0 auto;
}

.vb-docs-help h2 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 16px;
}

.vb-docs-help p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 32px;
}

.vb-docs-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: #ffffff;
    color: #2a7882;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s;
}

.vb-docs-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .vb-docs-categories {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vb-docs-hero {
        padding: 80px 0 60px;
    }

    .vb-docs-hero h1 {
        font-size: 40px;
    }

    .vb-docs-hero p {
        font-size: 18px;
        margin-bottom: 32px;
    }

    .vb-docs-section {
        padding: 80px 0;
    }

    .vb-docs-section-title {
        font-size: 32px;
        margin-bottom: 32px;
    }

    .vb-docs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vb-docs-categories {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vb-docs-help {
        padding: 80px 0;
    }

    .vb-docs-help h2 {
        font-size: 32px;
    }
}
