 /* Professional API Docs Theme */
 :root {
     --api-primary: var(--color-dark-blue, #363f72);
     --api-secondary: var(--color-gray, #7f7f7f);
     --api-bg: #f8fafc;
     --api-surface: #ffffff;
     --api-border: #e2e8f0;
     --api-text-main: var(--color-heading, #101010);
     --api-text-muted: var(--color-gray, #64748b);
     --api-code-bg: #1e293b;
     --api-code-text: #e2e8f0;
     --api-success: var(--color-green, #10b981);
     --api-warning: var(--color-orange, #f59e0b);
     --api-danger: var(--color-light-red, #ef4444);
 }


 pre {
     display: block;
 }

 .api-v2-container {
     max-width: 900px;
     margin: 0 auto;
     padding: 40px 10px;
     /* font-family: 'Inter', system-ui, -apple-system, sans-serif; */
     color: var(--api-text-main);
 }

 .api-doc {
     max-width: 900px;
     margin: 0 auto;
     padding-inline: 10px;
 }
 .api-container {
    padding-block: 40px;
 }

 .header-actions {
     display: flex;
     align-items: center;
     gap: 15px;
 }


 .api-card {
     margin-bottom: 24px;
 }

 .api-section-title {
     margin-top: 24px;
     margin-bottom: 8px;
     font-weight: 600;
     font-size: 28px;
     line-height: 38px;
     color: #101010;
 }

 .api-section-title-desc {
     font-weight: 400;
     font-size: 18px;
     line-height: 30px;
     color: #333333;
     white-space: unset;
 }

 .api-section-table-title {
     margin-block: 24px;
     font-weight: 700;
     font-size: 18px;
     line-height: 32px;
     color: #333333;
 }

 /* Integration Steps */
 .step-list {
     display: flex;
     flex-direction: column;
     gap: 24px;
 }

 .step-item {
     display: flex;
     gap: 20px;
 }

 .step-number {
     background: var(--api-primary);
     color: white;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-weight: bold;
     flex-shrink: 0;
 }

 .step-content {
     width: 100%;
 }

 .step-content .h4 {
     margin-bottom: 8px;
     font-weight: 700;
     font-size: 18px;
     line-height: 32px;
     color: #333333;
 }

 .step-content p {
     font-weight: 400;
     font-size: 18px !important;
     line-height: 32px;
     display: flex;
     align-items: center;
     color: #333333;
     height: fit-content;
     white-space: unset;
 }

 /* Endpoint Box */
 .endpoint-box {
     display: flex;
     align-items: center;
     background: var(--api-code-bg);
     border-radius: 8px;
     overflow: hidden;
     margin-bottom: 20px;
 }

 .method-badge {
     background: var(--api-success);
     color: white;
     padding: 12px 20px;
     font-weight: bold;
     font-family: monospace;
 }

 .endpoint-url {
     color: var(--api-code-text) !important;
     padding: 12px 20px;
     font-family: monospace;
     flex-grow: 1;
     word-break: break-all;
 }

 .copy-key-btn,
 .copy-url-btn {
     position: absolute;
     top: 10px;
     right: 10px;
     background: rgba(255, 255, 255, 0.1);
     border: none;
     color: #aaa;
     padding: 5px 8px;
     border-radius: 4px;
     cursor: pointer;
     font-size: 0.8rem;
     transition: all 0.2s;
     display: flex;
     align-items: center;
     gap: 5px;
 }

 .copy-response-btn {
     background: transparent;
     border: none;
     cursor: pointer;
     padding: 2px;
     display: flex;
     align-items: center;
     gap: 5px;
     transition: color 0.2s;
     font-weight: 400;
     font-size: 16px;
     line-height: 20px;
     text-align: center;
     color: #8D8F94;
 }

 .copy-key-btn:hover,
 .copy-url-btn:hover {
     background: rgba(255, 255, 255, 0.2);
     color: #fff;
 }

 /* Table Styles */
 .table-container {
     overflow-x: auto;
     overflow-y: hidden;
     padding: 10px;
     gap: 10px;
     background: #F9F9F9;
     border-radius: 20px;
 }

 .api-table {
     width: 100%;
     border-collapse: collapse;
     padding: 0px;
     position: relative;
 }

 .api-table::before {
     content: "";
     position: absolute;
     top: 0;
     right: 0;
     z-index: 2;
     border-radius: 12px;
     width: 100%;
     height: 100%;
     pointer-events: none;
     border: 1px solid #E5E5E5;
 }

 .api-table thead {
     width: 100%;
     border-bottom: 1px solid #E5E5E5;
 }

 .api-table th {
     text-align: left;
     padding: 10px 16px;
     background: #FFFFFF;
     font-weight: 700;
     font-size: 18px;
     line-height: 32px;
     color: #101010;
     border-right: 1px solid #E5E5E5;
 }


 .api-table-first-th {
     border-top-left-radius: 12px !important;
 }

 .api-table-last-th {
     border-top-right-radius: 12px !important;
     border-right: none !important;
 }

 .api-table td {
     padding: 10px 16px;
     background: #FFFFFF;
     border-right: 1px solid #E5E5E5;
     font-weight: 400 !important;
     font-size: 18px;
     line-height: 32px;
     color: #333333;
 }

 .api-table td .table_bullet_container {
     margin-top: 10px;
     display: flex;
     flex-direction: column;
     gap: 4px;
 }

 .api-table td .table_bullet_container span {
     display: flex;
     align-items: center;
 }

 .api-table td .table_bullet_container span svg {
     margin-right: 10px;
 }

 .api-table td .table_bullet_container span {
     font-weight: 400;
     font-size: 18px;
     line-height: 32px;
     display: flex;
     align-items: center;
     color: #333333;
     white-space: nowrap;
 }

 .param-name-label {
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     padding: 0px 8px;
     gap: 10px;
     background: #F9F9F9;
     border: 1px solid #E5E5E5;
     border-radius: 5px;
     width: fit-content;
     font-weight: 400;
     font-size: 18px;
     line-height: 32px;
     color: #333333;
 }

 .api-table tbody td {
     border-bottom: 1px solid #E5E5E5;
 }

 .api-table tr:last-child td {
     border-bottom: none !important;
 }

 .api-table tbody td:last-child {
     border-right: none;
 }

 .api-table td:last-child {
     border-right: none;
 }

 /* Code Blocks */
 .code-block {
     margin-top: 24px;
     display: flex;
     flex-direction: row;
     justify-content: space-between;
     align-items: center;
     padding: 24px;
     gap: 24px;
     background: #F9F9F9;
     border-radius: 16px;
     font-weight: 450;
     font-size: 18px;
     line-height: 30px;
     position: relative;
     padding-right: 70px;
 }

 .code-block-with-header {
     margin-top: 24px;
     display: flex;
     flex-direction: column;
     align-items: start;
     background: #F9F9F9;
     border-radius: 16px;
     font-weight: 450;
     font-size: 18px;
     line-height: 30px;
     position: relative;
 }

 .code-block-pre {
     width: 100%;
     display: flex;
     flex-direction: row;
     align-items: center;
     gap: 10px;
     padding: 16px;
     overflow-x: auto;
     overflow-y: hidden;
     scrollbar-color: #E5E5E5;
     scrollbar-width: thin;
     scrollbar-track-color: transparent;
     font-weight: 450;
     font-size: 18px;
     line-height: 30px;
     color: #333333;
 }

 .code-header-title {
     font-weight: 600;
     font-size: 18px;
     line-height: 32px;
     color: #333333;

 }

 .code-block pre {
     margin: 0;
     overflow-x: auto;
     color: #333333;
     font-size: 0.9rem;
     background: transparent !important;
     border: none !important;
     white-space: pre;
     line-height: 1.5;
     scrollbar-width: thin;
     scrollbar-color: #475569 transparent;
 }

 .code-block .copy-key-btn,
 .code-block .copy-url-btn {
     position: absolute;
     top: 50%;
     right: 24px;
     transform: translateY(-50%);
     display: flex;
     align-items: center;
     gap: 4px;
     font-weight: 400;
     font-size: 16px;
     line-height: 20px;
     color: #8D8F94;
     padding: 0 !important;
 }

 /* Custom Scrollbar for Code Blocks */
 .code-block pre::-webkit-scrollbar {
     width: 8px;
     height: 8px;
 }

 .code-block pre::-webkit-scrollbar-track {
     background: transparent;
 }

 .code-block pre::-webkit-scrollbar-thumb {
     background: #475569;
     border-radius: 4px;
 }

 .code-block pre::-webkit-scrollbar-thumb:hover {
     background: #64748b;
 }

 .code-header {
     display: flex;
     flex-direction: row;
     justify-content: space-between;
     align-items: center;
     padding: 16px;
     gap: 140px;
     border-bottom: 1px solid #E5E5E5;
     width: 100%;
 }

 .copy-code-btn {
     background: transparent;
     border: none;
     cursor: pointer;
     padding: 2px;
     display: flex;
     align-items: center;
     gap: 5px;
     transition: color 0.2s;
     font-weight: 400;
     font-size: 16px;
     line-height: 20px;
     text-align: center;
     color: #8D8F94;
 }

 /* Mode Cards */
 .modes-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 4px;
     margin-top: 4px;
 }

 .mode-desc {
     font-weight: 400 !important;
 }

 .mode-id {
     font-size: 2rem;
     font-weight: 800;
     color: var(--api-primary);
     opacity: 0.2;
     line-height: 1;
     margin-bottom: 10px;
 }

 .mode-title {
     font-weight: 500 !important;
     font-size: 18px;
     line-height: 32px;
     color: #101010;
 }

 /* V1 Style Response Section */
 .response-section h3 {
     margin-top: 24px;
     font-size: 1.2rem;
     color: var(--api-text-main);
 }

 .response-section .api-section-title {
     margin-bottom: 0 !important;
 }

 .error-table-at-last {
     margin-top: 24px !important;
 }

 *::-webkit-scrollbar,
 *::-webkit-scrollbar-thumb {
     height: 4px !important;
 }

 /* Mobile Responsiveness */
 @media (max-width: 768px) {

     .api-title-container {
         flex-direction: column;
         align-items: flex-start;
         gap: 20px;
     }

     .api-v2-container {
         padding: 20px 10px;
     }

     .api-header {
         flex-direction: column;
         gap: 20px;
         align-items: flex-start;
         padding: 20px 0;
     }

     .header-actions {
         width: 100%;
         flex-direction: column;
         align-items: flex-start;
         gap: 15px;
     }

     .version-dropdown-container {
         width: 100%;
     }

     .version-dropdown {
         width: 100%;
     }

     .api-title h1 {
         font-size: 2rem;
     }

     .step-item {
         flex-direction: column;
         gap: 10px;
     }

     .step-number {
         width: 28px;
         height: 28px;
         font-size: 0.9rem;
     }

     .endpoint-box {
         flex-direction: column;
         align-items: stretch;
     }

     .method-badge {
         text-align: center;
         width: 100%;
     }

     .endpoint-url {
         text-align: left;
         padding: 15px;
         border-top: 1px solid rgba(255, 255, 255, 0.1);
     }
 }