* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fff;
}

.docs-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.sidebar {
    width: 240px;
    background: #f8f9fa;
    border-right: 1px solid #e8ecef;
    padding: 32px 20px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ecef;
}

.search-box {
    position: relative;
    margin-bottom: 0;
}

.search-input {
    width: 100%;
    padding: 8px 32px 8px 12px;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.sidebar-header h1 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.sidebar-header p {
    font-size: 12px;
    color: #999;
}

.nav-section {
    margin-bottom: 20px;
}

.nav-section-title {
    font-size: 11px;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nav-list {
    list-style: none;
}

.nav-item {
    margin-bottom: 4px;
}

.nav-link {
    display: block;
    padding: 6px 8px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: #e8ecef;
    color: #333;
}

.nav-link.active {
    background: #e8ecef;
    color: #333;
    font-weight: 500;
}

.vip-badge {
    display: inline-block;
    font-size: 10px;
    padding: 1px 4px;
    margin-left: 4px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    border-radius: 3px;
    font-weight: 600;
}

.main-content {
    flex: 1;
    padding: 48px 60px;
    max-width: 800px;
    position: relative;
}

.toc-float {
    position: fixed;
    right: 32px;
    top: 100px;
    width: 200px;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 100;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.toc-float h3 {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e8ecef;
}

.toc-float ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc-float li {
    margin-bottom: 6px;
}

.toc-float a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    display: block;
    padding: 4px 0;
    border-left: 2px solid transparent;
    padding-left: 8px;
}

.toc-float a:hover {
    color: #0066cc;
}

.toc-float a.active {
    color: #0066cc;
    border-left-color: #0066cc;
    font-weight: 500;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #333;
}

.content-header {
    margin-bottom: 32px;
}

.content-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.content-header p {
    font-size: 14px;
    color: #999;
}

.doc-content {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.doc-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-top: 40px;
    margin-bottom: 16px;
}

.doc-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-top: 28px;
    margin-bottom: 12px;
}

.doc-content p {
    margin-bottom: 12px;
}

.doc-content ul {
    margin: 12px 0;
    padding-left: 20px;
}

.doc-content li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.doc-content ol {
    margin: 12px 0;
    padding-left: 20px;
}

.doc-content ol::marker {
    color: #0066cc;
    font-weight: 500;
    font-size: 14px;
}

.doc-content a {
    color: #0066cc;
    text-decoration: none;
}

.doc-content a:hover {
    text-decoration: underline;
}

.toc {
    background: #f8f9fa;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 24px 0;
}

.toc h3 {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.toc ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 6px;
}

.toc a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.toc a:hover {
    color: #0066cc;
}

.highlight-box {
    background: #f8f9fa;
    border-left: 3px solid #0066cc;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 0 6px 6px 0;
}

.highlight-box h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.vip-tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 6px;
    margin-left: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    border-radius: 3px;
    font-weight: 600;
    vertical-align: middle;
}

.vip-notice {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%);
    border-left-color: #FFA000;
}

.contact-intro {
    font-size: 15px;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 640px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #0055aa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    border-color: #0066cc;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
    transform: translateY(-2px);
}

.contact-card:hover::before {
    transform: scaleX(1);
}



.contact-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: #f8f9fa;
}

.contact-card .contact-icon-wrapper {
    background: rgba(0, 102, 204, 0.1);
}

.contact-icon-svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-card p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
}

.contact-id {
    font-size: 13px;
    color: #999;
    margin-bottom: 16px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-family: 'SF Mono', Monaco, monospace;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #0066cc;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.contact-link:hover {
    background: #0055aa;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.contact-link.secondary {
    background: #fff;
    color: #0066cc !important;
    text-decoration: none !important;
    border: 1.5px solid #0066cc;
}

.contact-link.secondary:hover {
    background: #0066cc;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid #e8ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 12px;
}

.faq-question {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.doc-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.doc-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.doc-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.doc-card p {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
}

.search-results-header {
    margin-bottom: 24px;
}

.search-results-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.search-results-header p {
    font-size: 14px;
    color: #999;
}

.search-results-header .search-query {
    color: #0066cc;
    font-weight: 500;
}

.search-results-count {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.search-result-item {
    padding: 20px;
    border-bottom: 1px solid #e8ecef;
    transition: all 0.2s ease;
}

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

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

.search-result-title:hover {
    text-decoration: underline;
}

.search-result-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.search-result-highlight {
    background: #fff3cd;
    padding: 2px 4px;
    border-radius: 2px;
    font-weight: 500;
}

.search-result-meta {
    font-size: 12px;
    color: #999;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-results h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.no-results p {
    font-size: 14px;
    color: #999;
}

/* Asset Type Table Styles */
.asset-type-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.asset-type-table thead {
    background: #f5f5f5;
    color: #333;
}

.asset-type-table th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.asset-type-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.asset-type-table tbody tr:hover {
    background: #f8f9ff;
}

.asset-type-table tbody tr:last-child td {
    border-bottom: none;
}

.status-supported {
    color: #52c41a;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-pending {
    color: #faad14;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .docs-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
    }

    .main-content {
        padding: 32px 20px;
    }

    .toc-float {
        display: none;
    }

    .content-header h1 {
        font-size: 24px;
    }

    .doc-grid {
        grid-template-columns: 1fr;
    }

    .asset-type-table {
        font-size: 13px;
    }

    .asset-type-table th,
    .asset-type-table td {
        padding: 10px 12px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .work-hours-grid {
        grid-template-columns: 1fr;
    }
}

.quick-help-section {
    margin-top: 40px;
}

.quick-help-section h2 {
    margin-top: 0;
}

.section-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.quick-link-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    border-color: #0066cc;
    background: #f8faff;
    transform: translateX(4px);
}

.quick-link-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.quick-link-content {
    flex: 1;
    min-width: 0;
}

.quick-link-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.quick-link-content p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.quick-link-arrow {
    color: #ccc;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.quick-link-card:hover .quick-link-arrow {
    color: #0066cc;
    transform: translateX(4px);
}

.feedback-tips-card {
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
    border: 1px solid #ffe4a1;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.feedback-icon {
    font-size: 20px;
}

.feedback-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #b8860b;
    margin: 0;
}

.feedback-desc {
    font-size: 13px;
    color: #8b7355;
    margin-bottom: 16px;
}

.feedback-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
}

@media (max-width: 640px) {
    .feedback-list {
        grid-template-columns: 1fr;
    }
}

.feedback-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.feedback-check {
    width: 18px;
    height: 18px;
    background: #52c41a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
}

.work-hours-section {
    margin-bottom: 32px;
}

.work-hours-section h2 {
    margin-top: 0;
}

.work-hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.work-hours-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e8ecef;
}

.work-hours-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.work-hours-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.work-hours-time {
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 2px;
}

.work-hours-note {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.tips-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #e6f7ff 0%, #f0faff 100%);
    border: 1px solid #91d5ff;
    border-radius: 10px;
}

.tips-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.tips-content h4 {
    font-size: 14px;
    font-weight: 600;
    color: #096dd9;
    margin-bottom: 4px;
}

.tips-content p {
    font-size: 13px;
    color: #595959;
    margin: 0;
    line-height: 1.6;
}

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    background: rgba(234, 67, 53, 0.9);
}
