        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
        }

        :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --primary-light: #eef2ff;
            --secondary: #7209b7;
            --success: #06d6a0;
            --warning: #ffd166;
            --danger: #ef476f;
            --dark: #0b132b;
            --background: #f8fafc;
            --card: #ffffff;
            --text: #1e293b;
            --text-light: #64748b;
            --border: #e2e8f0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--background);
            color: var(--text);
            line-height: 1.6;
        }

        a,
        button,
        .nav-category-header,
        .endpoint-header,
        .copy-btn,
        .btn-primary,
        .btn-outline,
        .nav-item a {
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }

        a:focus,
        button:focus,
        .nav-category-header:focus,
        .endpoint-header:focus,
        .copy-btn:focus {
            outline: none;
        }

        .navbar {
            background: var(--card);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 800;
            font-size: 24px;
            transform: rotate(45deg);
        }

        .logo-icon span {
            transform: rotate(-45deg);
        }

        .logo-text {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.5px;
        }

        .mobile-menu-btn {
            display: none;
            background: transparent;
            border: none;
            font-size: 28px;
            color: var(--primary);
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            transition: background 0.2s;
        }

        .mobile-menu-btn:active {
            background: var(--primary-light);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1001;
            backdrop-filter: blur(2px);
        }

        .sidebar-overlay.active {
            display: block;
        }

        .docs-container {
            display: flex;
            max-width: 1400px;
            margin: 0 auto;
            min-height: calc(100vh - 70px);
            position: relative;
        }

        .sidebar {
            width: 280px;
            background: var(--card);
            border-right: 1px solid var(--border);
            position: sticky;
            top: 70px;
            height: calc(100vh - 70px);
            overflow-y: auto;
            padding: 20px 0;
            transition: transform 0.3s ease;
            z-index: 1002;
        }

        @media (min-width: 769px) {
            body {
                margin: 0;
                padding: 0;
            }

            .docs-container {
                margin: 0;
                max-width: none;
            }

            .sidebar {
                position: sticky;
                left: 0;
            }

            .main-content {
                max-width: calc(100% - 280px);
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: flex;
            }

            .sidebar {
                position: fixed;
                top: 0;
                left: 0;
                transform: translateX(-100%);
                width: 280px;
                height: 100vh;
                z-index: 1002;
                box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
                transition: transform 0.3s ease;
                padding-top: 70px;
            }

            .mobile-sidebar-close {
                display: flex;
                position: absolute;
                top: 16px;
                right: 16px;
                background: var(--primary-light);
                border: none;
                font-size: 24px;
                color: var(--primary);
                cursor: pointer;
                padding: 8px;
                border-radius: 50%;
                width: 40px;
                height: 40px;
                align-items: center;
                justify-content: center;
                z-index: 1003;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .docs-container {
                flex-direction: column;
            }

            .main-content {
                padding: 20px 16px;
                width: 100%;
                max-width: 100%;
            }

            .endpoint-card {
                position: relative;
            }

            .endpoint-header {
                padding: 16px;
                padding-right: 45px;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
                cursor: pointer;
                position: relative;
            }

            .endpoint-title {
                order: 0;
                font-weight: 700;
                font-size: 15px;
                color: var(--text);
                width: 100%;
                margin-bottom: 0;
            }

            .endpoint-info {
                order: 1;
                display: flex;
                flex-wrap: wrap;
                align-items: center;
                gap: 8px;
                width: 100%;
            }

            .toggle-icon {
                position: absolute;
                right: 16px;
                top: 18px;
                font-size: 18px;
                color: var(--text-light);
                pointer-events: none;
            }

            .api-method {
                font-size: 10px;
                padding: 3px 10px;
                margin: 0;
            }

            .api-url {
                font-size: 10px;
                flex: 1;
                min-width: 150px;
                word-break: break-all;
            }

            .copy-btn {
                margin-left: auto;
                padding: 4px 12px;
                font-size: 11px;
                z-index: 5;
                position: relative;
                pointer-events: auto;
            }

            .param-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
            }

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

            .benefits-list {
                flex-direction: column;
            }

            .benefit-item {
                min-width: auto;
            }

            .helpful-header h2 {
                font-size: 18px;
            }

            .helpful-header i {
                font-size: 24px;
            }

            .helpful-body {
                padding: 18px;
            }

            .card-body {
                padding: 14px;
                overflow-x: auto;
            }

            .code-block pre {
                font-size: 10px;
            }

            .error-container {
                padding: 40px 25px;
                margin: 60px auto;
                width: 85%;
            }

            .error-code {
                font-size: 80px;
            }

            .error-title {
                font-size: 24px;
            }

            .error-icon {
                font-size: 60px;
            }

            .error-description {
                font-size: 14px;
            }

            .btn-primary,
            .btn-outline {
                padding: 10px 24px;
                font-size: 14px;
            }

            body.sidebar-open {
                overflow: hidden;
            }

            .main-content {
                min-height: calc(100vh - 70px);
            }
        }

        .sidebar-nav {
            padding: 0 12px;
        }

        .nav-category {
            margin-bottom: 20px;
            border-radius: 12px;
        }

        .nav-category-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            cursor: pointer;
            border-radius: 10px;
            transition: background 0.2s;
        }

        .nav-category-header:active {
            background: var(--primary-light);
        }

        .nav-category-info {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .nav-category-title {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 13px;
            color: var(--text);
        }

        .nav-category-title i {
            color: var(--primary);
            font-size: 16px;
        }

        .nav-category-badge {
            display: inline-block;
            background: var(--primary-light);
            color: var(--primary);
            font-size: 9px;
            font-weight: 600;
            padding: 2px 8px;
            border-radius: 20px;
            margin-top: 4px;
            width: fit-content;
        }

        .nav-category-arrow {
            color: var(--text-light);
            font-size: 12px;
            transition: transform 0.2s;
        }

        .nav-category.open .nav-category-arrow {
            transform: rotate(90deg);
        }

        .nav-items {
            list-style: none;
            margin-left: 28px;
            padding-left: 8px;
            border-left: 1px solid var(--border);
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .nav-category.open .nav-items {
            max-height: 500px;
        }

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

        .nav-item a {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            color: var(--text-light);
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            border-radius: 8px;
            transition: all 0.2s;
        }

        .nav-item a:active {
            background: var(--primary-light);
            color: var(--primary);
        }

        .nav-item.active a {
            background: var(--primary);
            color: white;
        }

        .nav-item.active a i {
            color: white;
        }

        .method-badge {
            font-size: 9px;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 20px;
            margin-left: auto;
        }

        .method-post {
            background: var(--success);
            color: white;
        }

        .main-content {
            flex: 1;
            padding: 40px 48px;
            overflow-x: auto;
        }

        .api-section {
            margin-bottom: 48px;
            scroll-margin-top: 90px;
        }

        .helpful-card {
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.05), rgba(114, 9, 183, 0.05));
            border: 1px solid var(--border);
            border-radius: 20px;
            margin-bottom: 32px;
            overflow: hidden;
        }

        .helpful-header {
            padding: 18px 24px;
            background: rgba(67, 97, 238, 0.08);
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .helpful-header i {
            font-size: 28px;
            color: var(--primary);
        }

        .helpful-header h2 {
            font-size: 20px;
            font-weight: 700;
            color: var(--text);
            margin: 0;
        }

        .helpful-body {
            padding: 24px;
        }

        .helpful-description {
            font-size: 15px;
            color: var(--text);
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .benefits-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 20px;
        }

        .benefit-item {
            background: var(--card);
            border-radius: 12px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 10px;
            flex: 1;
            min-width: 200px;
            border: 1px solid var(--border);
        }

        .benefit-item i {
            font-size: 20px;
            color: var(--success);
        }

        .benefit-item span {
            font-size: 13px;
            font-weight: 500;
            color: var(--text);
        }

        .key-point {
            background: rgba(6, 214, 160, 0.1);
            border-radius: 12px;
            padding: 16px;
            border-left: 4px solid var(--success);
            margin-top: 16px;
        }

        .key-point i {
            color: var(--success);
            margin-right: 8px;
        }

        .key-point strong {
            color: var(--success);
        }

        .endpoint-card {
            background: var(--card);
            border: 1px solid var(--border);
            border-radius: 20px;
            margin-bottom: 24px;
            overflow: hidden;
            scroll-margin-top: 90px;
        }

        .endpoint-header {
            padding: 20px 24px;
            background: var(--background);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            transition: background 0.2s;
        }

        .endpoint-header:active {
            background: var(--primary-light);
        }

        .endpoint-info {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        .api-method {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 12px;
            border-radius: 50px;
            font-weight: 700;
            font-size: 11px;
        }

        .api-method.post {
            background: rgba(6, 214, 160, 0.15);
            color: var(--success);
            border: 1px solid rgba(6, 214, 160, 0.3);
        }

        .api-url {
            font-family: monospace;
            font-size: 13px;
            font-weight: 600;
            color: var(--primary);
            background: var(--card);
            padding: 4px 12px;
            border-radius: 50px;
            border: 1px solid var(--border);
            word-break: break-all;
        }

        .endpoint-title {
            font-weight: 700;
            font-size: 14px;
            color: var(--text);
        }

        .toggle-icon {
            font-size: 18px;
            color: var(--text-light);
            transition: transform 0.2s;
        }

        .endpoint-content {
            display: none;
            padding: 24px;
            border-top: 1px solid var(--border);
        }

        .endpoint-card.open .endpoint-content {
            display: block;
        }

        .endpoint-card.open .toggle-icon {
            transform: rotate(180deg);
        }

        .info-card {
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: 16px;
            margin-bottom: 20px;
            overflow: hidden;
        }

        .card-header {
            padding: 14px 18px;
            background: var(--card);
            border-bottom: 1px solid var(--border);
            font-weight: 700;
            font-size: 14px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .card-header i {
            color: var(--primary);
            font-size: 16px;
        }

        .card-body {
            padding: 18px;
        }

        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 16px;
        }

        .step-card {
            background: var(--card);
            border-radius: 12px;
            padding: 16px;
            border: 1px solid var(--border);
        }

        .step-number {
            width: 28px;
            height: 28px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            margin-bottom: 12px;
            font-size: 12px;
        }

        .step-title {
            font-weight: 700;
            font-size: 14px;
            margin-bottom: 6px;
        }

        .step-desc {
            color: var(--text-light);
            font-size: 12px;
            line-height: 1.5;
        }

        .important-note {
            background: rgba(239, 71, 111, 0.08);
            border-left: 4px solid var(--danger);
            padding: 12px 16px;
            border-radius: 10px;
            margin-top: 16px;
            font-size: 13px;
        }

        .important-note i {
            color: var(--danger);
            margin-right: 6px;
        }

        .param-table {
            width: 100%;
            border-collapse: collapse;
        }

        .param-table th,
        .param-table td {
            padding: 8px 10px;
            text-align: left;
            border-bottom: 1px solid var(--border);
        }

        .param-table th {
            font-weight: 700;
            color: var(--text);
            background: var(--card);
            font-size: 12px;
        }

        .param-table td {
            color: var(--text-light);
            font-size: 12px;
        }

        .param-table .required {
            color: var(--danger);
            font-weight: 600;
        }

        .code-block {
            background: #1e293b;
            border-radius: 10px;
            padding: 12px 14px;
            overflow-x: auto;
            margin: 10px 0;
        }

        .code-block pre {
            color: #e2e8f0;
            font-family: monospace;
            font-size: 11px;
            line-height: 1.5;
            margin: 0;
            white-space: pre-wrap;
            word-break: break-word;
        }

        .badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 11px;
            font-weight: 600;
        }

        .badge-auth {
            background: var(--warning);
            color: var(--dark);
        }

        .footer {
            background: var(--card);
            border-top: 1px solid var(--border);
            padding: 24px;
            text-align: center;
            color: var(--text-light);
            font-size: 13px;
            margin-top: 40px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: var(--text-light);
            text-decoration: none;
            font-size: 12px;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .copy-btn {
            background: transparent;
            border: 1px solid var(--border);
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 11px;
            cursor: pointer;
            margin-left: 6px;
            transition: all 0.2s;
            min-width: 55px;
        }

        .copy-btn:active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        .copy-btn.copied {
            background: var(--success);
            color: white;
            border-color: var(--success);
        }

        @media (max-width: 992px) {
            .sidebar {
                width: 260px;
            }

            .main-content {
                padding: 30px;
            }

            @media (min-width: 769px) {
                .main-content {
                    max-width: calc(100% - 260px);
                }
            }
        }

        @media (min-width: 769px) {
            .mobile-sidebar-close {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .api-title {
                font-size: 22px !important;
            }

            .api-description {
                font-size: 13px !important;
            }

            .endpoint-content {
                padding: 16px;
            }

            .card-header {
                padding: 12px 14px;
                font-size: 13px;
            }

            .param-table th,
            .param-table td {
                padding: 6px 8px;
                font-size: 11px;
            }

            .steps-grid {
                gap: 12px;
            }

            .step-card {
                padding: 14px;
            }

            .api-url {
                font-size: 9px;
                padding: 3px 8px;
            }

            .api-method {
                font-size: 9px;
                padding: 3px 8px;
            }
        }

        ::-webkit-scrollbar {
            width: 5px;
            height: 5px;
        }

        ::-webkit-scrollbar-track {
            background: var(--border);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }

        .error-container {
            max-width: 550px;
            width: 90%;
            margin: 80px auto;
            background: var(--card);
            border-radius: 30px;
            padding: 50px 40px;
            text-align: center;
            box-shadow: var(--shadow-lg);
            border: 1px solid var(--border);
        }

        .error-icon {
            font-size: 80px;
            margin-bottom: 20px;
        }

        .error-icon i {
            color: var(--primary);
        }

        .error-code {
            font-size: 100px;
            font-weight: 800;
            line-height: 1;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 15px;
        }

        .error-title {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--text);
        }

        .error-description {
            color: var(--text-light);
            font-size: 16px;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .error-actions {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.2s;
            -webkit-tap-highlight-color: transparent;
            cursor: pointer;
        }

        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
        }

        .btn-primary:active {
            transform: translateY(0);
        }

        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 12px 28px;
            background: transparent;
            color: var(--text);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 15px;
            border: 1px solid var(--border);
            transition: all 0.2s;
            -webkit-tap-highlight-color: transparent;
            cursor: pointer;
        }

        .btn-outline:hover {
            background: var(--background);
            border-color: var(--primary);
            color: var(--primary);
        }

        .btn-outline:active {
            transform: scale(0.98);
        }

        @media (max-width: 480px) {
            .error-container {
                padding: 30px 20px;
                margin: 40px auto;
                width: 90%;
                border-radius: 24px;
            }

            .error-code {
                font-size: 60px;
            }

            .error-icon {
                font-size: 50px;
                margin-bottom: 15px;
            }

            .error-title {
                font-size: 20px;
                margin-bottom: 10px;
            }

            .error-description {
                font-size: 13px;
                margin-bottom: 25px;
            }

            .error-actions {
                flex-direction: column;
                gap: 12px;
            }

            .btn-primary,
            .btn-outline {
                width: 100%;
                justify-content: center;
                padding: 12px 20px;
            }
        }

        @media (max-width: 360px) {
            .error-container {
                padding: 25px 16px;
            }

            .error-code {
                font-size: 48px;
            }

            .error-title {
                font-size: 18px;
            }

            .error-description {
                font-size: 12px;
            }

            .btn-primary,
            .btn-outline {
                padding: 10px 16px;
                font-size: 13px;
            }
        }

        @media (prefers-color-scheme: dark) {
            .error-container {
                background: var(--card);
                border-color: var(--border);
            }

            .error-title {
                color: var(--text);
            }

            .error-description {
                color: var(--text-light);
            }
        }

        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-5px);
            }

            75% {
                transform: translateX(5px);
            }
        }

        .error-icon {
            animation: shake 0.5s ease-in-out;
        }

        .btn-primary,
        .btn-outline {
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }

        .btn-primary:focus,
        .btn-outline:focus {
            outline: none;
        }