
/* API Documentation Styles */
.api-documentation {
    background-color: #031B1B;
    min-height: 100vh;
    color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2px;
}


/* API Tabs */
.api-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.api-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 12px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.api-tab:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.api-tab.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-color: #4CAF50;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.api-logo {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

/* API Content */
.api-content {
    margin-top: 40px;
}

.api-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.api-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* API Overview */
.api-overview {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-overview h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.api-overview>p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #cccccc;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* API Features */
.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature i {
    font-size: 36px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.feature h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #cccccc;
    line-height: 1.5;
}

/* Documentation Layout */
.api-documentation-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
}

.documentation-column {
    max-width: 100%;
}

/* Documentation Sections */
.doc-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.doc-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.doc-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 20px 0;
    color: #ffffff;
    text-align: center;
}

.doc-section>p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #cccccc;
    margin-bottom: 24px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Base URL Section */
.doc-section p code {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: inline-block;
    margin: 10px 0;
}

/* Table Styles */
.auth-table,
.params-table {
    margin: 30px auto;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-table table,
.params-table table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Montserrat', sans-serif;
}

.auth-table th,
.params-table th {
    background: rgba(76, 175, 80, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-table td,
.params-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #cccccc;
    font-size: 14px;
    line-height: 1.5;
}

.auth-table tr:last-child td,
.params-table tr:last-child td {
    border-bottom: none;
}

.auth-table tr:hover,
.params-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.auth-table code,
.params-table code {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

/* Response Section */
.doc-section ul {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
}

.doc-section ul li {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #cccccc;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-section ul li:last-child {
    border-bottom: none;
}

.doc-section ul li strong {
    color: #ffffff;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

/* Code Badges */
.code-badges {
    display: flex;
    gap: 8px;
    margin: 30px 0 20px 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.code-badge {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.code-badge:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.code-badge.active {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-color: #4CAF50;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

/* Code Examples */
.code-examples {
    position: relative;
    margin: 10px;
    max-width: 100%;
}

.code-example {
    display: none;
    animation: slideIn 0.3s ease-in-out;
}

.code-example.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Custom code block (no Prism) */
.code-example pre.customized, /* marker if needed */
.code-example pre {
    background: #1e1e1e !important;
    border-radius: 8px;
    border: 1px solid #333333;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    padding: 0 !important;
    margin: 0;
    position: relative;
    overflow: auto;
}

.code-example pre .custom-code {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
}

.code-example pre .line-gutter {
    background: #1b1b1b;
    color: #858585;
    border-right: 1px solid #333;
    padding: 20px 0 20px 0;
    user-select: none;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5em;
}

.code-example pre .line-gutter span {
    display: block;
    padding: 0 12px 0 10px;
    text-align: right;
    line-height: inherit;
}

.code-example pre .code-lines {
    display: block;
    white-space: pre;
    color: #d4d4d4;
    font-size: 13px;
    line-height: 1.5em;
    padding: 20px;
}

/* Copy button hover behavior remains */

 /* Responsive Design */
 @media (max-width: 768px) {
     .doc-section {
         padding: 24px;
         margin-bottom: 30px;
         max-width: 95%;
     }

     .api-hero h1 {
         font-size: 36px;
     }

    .api-hero p {
        font-size: 18px;
    }

    .api-tabs {
        flex-direction: column;
        align-items: center;
    }

    .api-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .api-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .doc-section {
        padding: 24px;
        margin-bottom: 30px;
    }

    .doc-section h3 {
        font-size: 24px;
    }

    .doc-section h4 {
        font-size: 20px;
    }

    .auth-table,
    .params-table {
        margin: 20px auto;
        font-size: 12px;
    }

    .auth-table th,
    .params-table th {
        padding: 12px 15px;
        font-size: 14px;
    }

    .auth-table td,
    .params-table td {
        padding: 12px 15px;
        font-size: 12px;
    }

    .code-badges {
        margin: 20px 0 15px 0;
        justify-content: center;
    }

    .code-example pre[class*="language-"] {
        padding: 15px !important;
        font-size: 12px;
    }

    .code-example pre.line-numbers {
        padding-left: 3.5em !important;
    }
}

 @media (max-width: 480px) {
     .doc-section {
         padding: 4px;
         margin-bottom: 25px;
         max-width: 98%;
     }
 }

/* Mobile L (425px) and below - Ultra Compact */
@media (max-width: 425px) {
    .container {
        padding: 0 2px;
    }
    
    .api-documentation-layout {
        justify-content: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .documentation-column {
        max-width: 43%;
        width: 43%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    .documentation-column * {
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .api-hero {
        padding: 40px 0 15px;
    }
    
    .api-hero h1 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .api-hero p {
        font-size: 8px;
    }
    
    .api-tabs {
        margin: 10px 0;
        gap: 4px;
    }
    
    .api-tab {
        padding: 4px 8px;
        font-size: 6px;
    }
    
    .api-logo {
        width: 12px;
        height: 12px;
    }
    
    .api-overview {
        padding: 8px;
        margin-bottom: 15px;
    }
    
    .api-overview h2 {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .api-overview > p {
        font-size: 7px;
        margin-bottom: 10px;
    }
    
    .feature {
        padding: 8px 6px;
    }
    
    .feature i {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .feature h3 {
        font-size: 8px;
        margin-bottom: 4px;
    }
    
    .feature p {
        font-size: 6px;
    }
    
    .doc-section {
        padding: 2px;
        margin-bottom: 8px;
        max-width: 100%;
    }
    
    .doc-section h3 {
        font-size: 8px;
        margin-bottom: 3px;
    }
    
    .doc-section h4 {
        font-size: 7px;
        margin: 4px 0 3px 0;
    }
    
    .doc-section > p {
        font-size: 6px;
        margin-bottom: 4px;
        line-height: 1.2;
    }
    
    .doc-section p code {
        padding: 1px 2px;
        font-size: 5px;
        margin: 1px 0;
    }
    
    /* Tables - ultra compact */
    .auth-table,
    .params-table {
        margin: 4px auto;
        font-size: 5px;
        border-radius: 2px;
    }
    
    .auth-table table,
    .params-table table {
        min-width: 200px;
    }
    
    .auth-table th,
    .params-table th {
        padding: 2px 3px;
        font-size: 6px;
    }
    
    .auth-table td,
    .params-table td {
        padding: 2px 3px;
        font-size: 5px;
    }
    
    .auth-table code,
    .params-table code {
        padding: 1px 2px;
        font-size: 4px;
    }
    
    /* Code badges - ultra compact */
    .code-badges {
        margin: 4px 0 3px 0;
        gap: 1px;
    }
    
    .code-badge {
        padding: 2px 4px;
        font-size: 5px;
        border-radius: 6px;
    }
    
    /* Code blocks - left aligned, ultra compact */
    .code-example pre[class*="language-"] {
        padding: 3px !important;
        font-size: 5px;
        line-height: 1.1;
        border-radius: 2px;
        text-align: left !important;
        white-space: pre-wrap !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    /* JSON specific wrapping */
    .code-example pre[class*="language-json"] {
        white-space: pre-wrap !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }
    
    .code-example pre[class*="language-json"] code {
        white-space: pre-wrap !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .code-example pre.line-numbers {
        padding-left: 1.5em !important;
    }
    
    /* Copy button - ultra compact */
    .copy-button {
        top: 0.1em !important;
        right: 0.1em !important;
        padding: 1px 2px !important;
        font-size: 4px !important;
        min-width: 16px !important;
        min-height: 16px !important;
    }
    
    /* Error handling - ultra compact */
    .error-handling-container {
        gap: 4px;
        margin-top: 4px;
    }
    
    .error-item {
        gap: 3px;
    }
    
    .error-code-block {
        max-width: 50px;
        padding: 3px;
    }
    
    .error-code-block .code {
        font-size: 8px;
    }
    
    .error-code-block .title {
        font-size: 4px;
    }
    
    .error-description {
        font-size: 5px;
        line-height: 1.2;
    }
    
    .error-description code {
        padding: 1px 2px;
        font-size: 4px;
    }
    
    /* List items - ultra compact */
    .doc-section ul li {
        font-size: 5px;
        padding: 2px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 1px;
    }
    
    .doc-section ul li strong {
        min-width: auto;
        margin-bottom: 1px;
        font-size: 4px;
    }

     .api-hero {
         padding: 60px 0 40px;
     }

    .api-hero h1 {
        font-size: 28px;
    }

    .api-hero p {
        font-size: 16px;
    }

    .api-overview {
        padding: 24px;
    }

    .api-overview h2 {
        font-size: 28px;
    }

    .feature {
        padding: 20px 16px;
    }

    .doc-section {
        padding: 4px;
        margin-bottom: 25px;
    }

    .doc-section h3 {
        font-size: 22px;
    }

    .doc-section h4 {
        font-size: 18px;
    }

    .auth-table,
    .params-table {
        margin: 15px auto;
    }

    .auth-table th,
    .params-table th {
        padding: 10px 12px;
        font-size: 13px;
    }

    .auth-table td,
    .params-table td {
        padding: 10px 12px;
        font-size: 11px;
    }

    .code-example pre[class*="language-"] {
        padding: 12px !important;
        font-size: 11px;
    }

    .code-example pre.line-numbers {
        padding-left: 3.2em !important;
    }

    .code-badge {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Dark theme enhancements */
.api-documentation {
    background: linear-gradient(135deg, #031B1B 0%, #0a2a2a 100%);
}

/* Scrollbar styling */
.code-example pre::-webkit-scrollbar {
    height: 8px;
}

.code-example pre::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.code-example pre::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.code-example pre::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Loading states */
.api-tab.loading {
    opacity: 0.7;
    pointer-events: none;
}

.code-example.loading {
    opacity: 0.7;
}

/* Focus states for accessibility */
.api-tab:focus,
.code-badge:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Print styles */
@media print {

    .api-tabs,
    .code-badges {
        display: none;
    }

    .api-section {
        display: block !important;
        page-break-inside: avoid;
    }

    .code-example {
        display: block !important;
    }
}

/* Disable legacy Prism line-number layout */
.code-example pre.line-numbers { padding-left: 0 !important; }
.line-numbers .line-numbers-rows { display: none !important; }

/* VS Code-like token colors (Prism fallback in case theme fails to load) */
.code-example pre .token.comment,
.code-example pre .token.prolog,
.code-example pre .token.doctype,
.code-example pre .token.cdata { color: #6A9955; }
.code-example pre .token.punctuation { color: #d4d4d4; }
.code-example pre .token.property,
.code-example pre .token.tag,
.code-example pre .token.constant,
.code-example pre .token.symbol,
.code-example pre .token.deleted { color: #569CD6; }
.code-example pre .token.boolean,
.code-example pre .token.number { color: #B5CEA8; }
.code-example pre .token.selector,
.code-example pre .token.attr-name,
.code-example pre .token.string,
.code-example pre .token.char,
.code-example pre .token.builtin,
.code-example pre .token.inserted { color: #CE9178; }
.code-example pre .token.operator,
.code-example pre .token.entity,
.code-example pre .token.url { color: #d4d4d4; }
.code-example pre .token.atrule,
.code-example pre .token.keyword { color: #C586C0; }
.code-example pre .token.function { color: #DCDCAA; }
.code-example pre .token.regex,
.code-example pre .token.important,
.code-example pre .token.variable { color: #9CDCFE; }
.code-example pre .token.italic { font-style: italic; }
.code-example pre .token.bold { font-weight: bold; }
.code-example pre .token.namespace { opacity: 0.8; }

 /* Paste the provided CSS here, then add the new styles below */

 /* API Documentation Styles */
 .api-documentation {
     background-color: #031B1B;
     min-height: 100vh;
     color: #ffffff;
 }

 /* What's New Section Styles */
 .doc-section ul[style*="text-align: left"] {
     list-style: none;
     padding: 0;
     margin: 20px auto;
     max-width: 800px;
     text-align: left;
 }

 .doc-section ul[style*="text-align: left"] li {
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     color: #cccccc;
     padding: 12px 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.05);
     display: flex;
     align-items: flex-start;
     gap: 10px;
     line-height: 1.6;
 }

 .doc-section ul[style*="text-align: left"] li:last-child {
     border-bottom: none;
 }

 .doc-section ul[style*="text-align: left"] li strong {
     color: #4CAF50;
     font-weight: 600;
     min-width: 60px;
     text-align: center;
     background: rgba(76, 175, 80, 0.1);
     padding: 4px 8px;
     border-radius: 4px;
     font-size: 14px;
     flex-shrink: 0;
     margin-top: 2px;
 }

 .doc-section ul[style*="text-align: left"] li code {
     background: rgba(255, 255, 255, 0.1);
     padding: 2px 6px;
     border-radius: 4px;
     font-family: 'Courier New', monospace;
     font-size: 13px;
     color: #4CAF50;
     border: 1px solid rgba(76, 175, 80, 0.2);
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 2px;
 }

 /* Hero Section */
 .api-hero {
     background: linear-gradient(135deg, #0a2a2a 0%, #031B1B 100%);
     padding: 200px 0 60px;
     text-align: center;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }

 .api-hero h1 {
     font-family: 'Poppins', sans-serif;
     font-size: 48px;
     font-weight: 700;
     margin-bottom: 20px;
     background: linear-gradient(135deg, #ffffff 0%, #a8e6cf 100%);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .api-hero p {
     font-family: 'Montserrat', sans-serif;
     font-size: 20px;
     color: #cccccc;
     max-width: 600px;
     margin: 0 auto;
 }

 /* API Tabs */
 .api-tabs {
     display: flex;
     justify-content: center;
     gap: 20px;
     margin: 40px 0;
     flex-wrap: wrap;
 }

 .api-tab {
     display: flex;
     align-items: center;
     gap: 12px;
     padding: 16px 24px;
     background: rgba(255, 255, 255, 0.1);
     border: 2px solid transparent;
     border-radius: 12px;
     color: #ffffff;
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
     backdrop-filter: blur(10px);
 }

 .api-tab:hover {
     background: rgba(255, 255, 255, 0.15);
     transform: translateY(-2px);
 }

 .api-tab.active {
     background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
     border-color: #4CAF50;
     box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
 }

 .api-logo {
     width: 24px;
     height: 24px;
     filter: brightness(0) invert(1);
 }

 /* API Content */
 .api-content {
     margin-top: 40px;
 }

 .api-section {
     display: none;
     animation: fadeIn 0.5s ease-in-out;
 }

 .api-section.active {
     display: block;
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* API Overview */
 .api-overview {
     text-align: center;
     margin-bottom: 60px;
     padding: 40px;
     background: rgba(255, 255, 255, 0.05);
     border-radius: 16px;
     border: 1px solid rgba(255, 255, 255, 0.1);
 }

 .api-overview h2 {
     font-family: 'Poppins', sans-serif;
     font-size: 36px;
     font-weight: 700;
     margin-bottom: 20px;
     color: #ffffff;
 }

 .api-overview>p {
     font-family: 'Montserrat', sans-serif;
     font-size: 18px;
     color: #cccccc;
     max-width: 800px;
     margin: 0 auto 40px;
     line-height: 1.6;
 }

 /* API Features */
 .api-features {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
     margin-top: 40px;
 }

 .feature {
     text-align: center;
     padding: 30px 20px;
     background: rgba(255, 255, 255, 0.05);
     border-radius: 12px;
     border: 1px solid rgba(255, 255, 255, 0.1);
     transition: transform 0.3s ease;
 }

 .feature:hover {
     transform: translateY(-5px);
     background: rgba(255, 255, 255, 0.08);
 }

 .feature i {
     font-size: 36px;
     color: #4CAF50;
     margin-bottom: 20px;
 }

 .feature h3 {
     font-family: 'Poppins', sans-serif;
     font-size: 20px;
     font-weight: 600;
     margin-bottom: 12px;
     color: #ffffff;
 }

 .feature p {
     font-family: 'Montserrat', sans-serif;
     font-size: 14px;
     color: #cccccc;
     line-height: 1.5;
 }

 /* Documentation Layout */
 .api-documentation-layout {
     display: grid;
     grid-template-columns: 1fr;
     gap: 40px;
     margin-top: 40px;
 }

 .documentation-column {
     max-width: 100%;
     width: 100%;
 }

 /* Documentation Sections */
 .doc-section {
     background: rgba(255, 255, 255, 0.05);
     border-radius: 16px;
     margin-bottom: 40px;
     border: 1px solid rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(10px);
     text-align: center;
     max-width: 1200px;
     margin-left: auto;
     margin-right: auto;
 }

 .doc-section h3 {
     font-family: 'Poppins', sans-serif;
     font-size: 28px;
     font-weight: 600;
     margin-bottom: 20px;
     color: #ffffff;
     text-align: center;
 }

 .doc-section h4 {
     font-family: 'Poppins', sans-serif;
     font-size: 22px;
     font-weight: 600;
     margin: 30px 0 20px 0;
     color: #ffffff;
     text-align: center;
 }

 .doc-section>p {
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     color: #cccccc;
     margin-bottom: 24px;
     line-height: 1.6;
     text-align: center;
     max-width: 800px;
     margin-left: auto;
     margin-right: auto;
 }

 /* Base URL Section */
 .doc-section p code {
     background: rgba(255, 255, 255, 0.1);
     padding: 8px 16px;
     border-radius: 8px;
     font-family: 'Courier New', monospace;
     font-size: 16px;
     color: #4CAF50;
     border: 1px solid rgba(76, 175, 80, 0.3);
     display: inline-block;
     margin: 10px 0;
 }

 /* Table Styles */
 .auth-table,
 .params-table {
     margin: 30px auto;
     max-width: 800px;
     background: rgba(255, 255, 255, 0.05);
     border-radius: 12px;
     overflow: hidden;
     border: 1px solid rgba(255, 255, 255, 0.1);
 }

 .auth-table table,
 .params-table table {
     width: 100%;
     border-collapse: collapse;
     font-family: 'Montserrat', sans-serif;
 }

 .auth-table th,
 .params-table th {
     background: rgba(76, 175, 80, 0.2);
     color: #ffffff;
     font-weight: 600;
     font-size: 16px;
     padding: 16px 20px;
     text-align: left;
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }

 .auth-table td,
 .params-table td {
     padding: 16px 20px;
     border-bottom: 1px solid rgba(255, 255, 255, 0.05);
     color: #cccccc;
     font-size: 14px;
     line-height: 1.5;
 }

 .auth-table tr:last-child td,
 .params-table tr:last-child td {
     border-bottom: none;
 }

 .auth-table tr:hover,
 .params-table tr:hover {
     background: rgba(255, 255, 255, 0.03);
 }

 .auth-table code,
 .params-table code {
     background: rgba(255, 255, 255, 0.1);
     padding: 4px 8px;
     border-radius: 4px;
     font-family: 'Courier New', monospace;
     font-size: 13px;
     color: #4CAF50;
     border: 1px solid rgba(76, 175, 80, 0.2);
 }

 /* Legacy Response Section */
 .doc-section ul {
     list-style: none;
     padding: 0;
     margin: 20px auto;
     max-width: 600px;
     text-align: left;
 }

 .doc-section ul li {
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     color: #cccccc;
     padding: 12px 0;
     border-bottom: 1px solid rgba(255, 255, 255, 0.05);
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .doc-section ul li:last-child {
     border-bottom: none;
 }

 .doc-section ul li strong {
     color: #ffffff;
     font-weight: 600;
     min-width: 60px;
     text-align: center;
     background: rgba(255, 255, 255, 0.1);
     padding: 4px 8px;
     border-radius: 4px;
     font-size: 14px;
 }

 /* Code Badges */
 .code-badges {
     display: flex;
     gap: 8px;
     margin: 30px 0 20px 0;
     flex-wrap: wrap;
     justify-content: center;
     align-items: center;
 }

 .code-badge {
     padding: 10px 20px;
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 25px;
     color: #ffffff;
     font-family: 'Montserrat', sans-serif;
     font-size: 14px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .code-badge:hover {
     background: rgba(255, 255, 255, 0.15);
     transform: translateY(-2px);
 }

 .code-badge.active {
     background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
     border-color: #4CAF50;
     box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
 }

 /* Code Examples */
 .code-examples {
     position: relative;

     max-width: 100%;
     overflow: hidden;
 }

 .code-example {
     display: none;
     animation: slideIn 0.3s ease-in-out;
     max-width: 100%;
     overflow: hidden;
 }

 .code-example.active {
     display: block;
 }

 @keyframes slideIn {
     from {
         opacity: 0;
         transform: translateX(10px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 pre[class*="language-"] {
     background: #1e1e1e !important;
     border-radius: 8px;
     border: 1px solid #333333;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
     text-align: left;
     font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
     margin: 0;
     position: relative;
     overflow: auto;
     max-width: 100%;
     word-wrap: break-word;
     white-space: pre-wrap;
 }

 pre[class*="language-"] code {
     word-wrap: break-word;
     white-space: pre-wrap;
     overflow-wrap: break-word;
     max-width: 100%;
 }

 /* Specific styles for JSON response examples */
 pre[class*="language-json"] {
     max-width: 100%;
     overflow-x: auto;
     margin: 10px;
 }

 pre[class*="language-json"] code {
     white-space: pre-wrap !important;
     word-break: break-word;
     overflow-wrap: break-word;
     margin: 10px;
 }

 /* Handle long strings in JSON responses */
 pre[class*="language-json"] .token.string {
     word-break: break-all;
     overflow-wrap: break-word;
     margin: 10px;
 }

 /***** NEW STYLES FOR ERROR HANDLING *****/
 .error-handling-container {
     display: flex;
     flex-direction: column;
     gap: 30px;
     margin-top: 30px;
     text-align: left;
     max-width: 900px;
     margin-left: auto;
     margin-right: auto;
 }

 .error-item {
     display: flex;
     align-items: flex-start;
     gap: 25px;
 }

 .error-code-block {
     background-color: rgba(60, 60, 60, 0.5);
     border: 1px solid rgba(255, 255, 255, 0.1);
     border-radius: 8px;
     padding: 15px;
     text-align: center;
     width: 150px;
     flex-shrink: 0;
 }

 .error-code-block .code {
     font-family: 'Poppins', sans-serif;
     font-size: 24px;
     font-weight: 700;
     color: #ffffff;
     display: block;
 }

 .error-code-block .title {
     font-family: 'Montserrat', sans-serif;
     font-size: 14px;
     color: #cccccc;
     display: block;
     margin-top: 5px;
     font-weight: 500;
 }

 .error-description {
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     color: #cccccc;
     line-height: 1.7;
     padding-top: 5px;
     text-align: left;
 }

 .error-description code {
     background: rgba(0, 0, 0, 0.3);
     padding: 4px 7px;
     border-radius: 4px;
     font-family: 'Courier New', monospace;
     font-size: 14px;
     color: #CE9178;
     border: 1px solid rgba(255, 255, 255, 0.1);
 }

 /* Expandable Response Styles */
 .expandable-response {
     position: relative;
     margin: 20px 0;
 }

 .expand-button {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     padding: 12px 24px;
     background: rgba(76, 175, 80, 0.1);
     border: 1px solid rgba(76, 175, 80, 0.3);
     border-radius: 8px;
     color: #4CAF50;
     font-family: 'Montserrat', sans-serif;
     font-size: 14px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
     margin: 0 auto 20px;
     backdrop-filter: blur(10px);
 }

 .expand-button:hover {
     background: rgba(76, 175, 80, 0.2);
     border-color: rgba(76, 175, 80, 0.5);
     transform: translateY(-2px);
     box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
 }

 .expand-icon {
     transition: transform 0.3s ease;
     font-size: 12px;
 }

 .expand-button.expanded .expand-icon {
     transform: rotate(180deg);
 }

 .response-preview {
     position: relative;
     overflow: hidden;
 }

 .response-preview::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     height: 60px;
     background: linear-gradient(transparent, rgba(30, 30, 30, 0.9));
     pointer-events: none;
 }

 .response-full {
     display: none;
     animation: fadeInExpand 0.5s ease-in-out;
 }

 .response-full.expanded {
     display: block;
 }

 @keyframes fadeInExpand {
     from {
         opacity: 0;
         max-height: 0;
         transform: translateY(-10px);
     }
     to {
         opacity: 1;
         max-height: none;
         transform: translateY(0);
     }
 }

 /* Processing Modes Styles */
 .processing-modes h5 {
     font-family: 'Poppins', sans-serif;
     font-size: 20px;
     font-weight: 600;
     margin: 25px 0 15px 0;
     color: #4CAF50;
     text-align: left;
     border-left: 4px solid #4CAF50;
     padding-left: 15px;
     background: rgba(76, 175, 80, 0.1);
     padding: 12px 15px;
     border-radius: 8px;
 }

 .processing-modes p {
     font-family: 'Montserrat', sans-serif;
     font-size: 16px;
     color: #cccccc;
     line-height: 1.6;
     margin-bottom: 20px;
     text-align: left;
     max-width: 800px;
 }

 /* Response Formats Styles */
 .response-formats h5 {
     font-family: 'Poppins', sans-serif;
     font-size: 20px;
     font-weight: 600;
     margin: 25px 0 15px 0;
     color: #4CAF50;
     text-align: left;
     border-left: 4px solid #4CAF50;
     padding-left: 15px;
     background: rgba(76, 175, 80, 0.1);
     padding: 12px 15px;
     border-radius: 8px;
 }

 /* Responsive adjustments for expandable response */
 @media (max-width: 768px) {
     .expand-button {
         padding: 10px 20px;
         font-size: 13px;
     }
     
     .response-preview::after {
         height: 40px;
     }

     .processing-modes h5,
     .response-formats h5 {
         font-size: 18px;
         padding: 10px 12px;
     }
 }