/*
 * Sagarithm Blog Stylesheet
 * Custom styles for Sagarithm Premium Editorial Blog Experience
 * Works with Bootstrap 5 variables. No Tailwind conflicts.
 */

/* ==========================================================================
   1. Typography & Base Layout
   ========================================================================== */

.blog-layout {
    font-family: var(--inter), sans-serif;
    max-width: 900px !important;
    margin: 0 auto;
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.blog-serif-editorial {
    font-family: var(--fraunces), Georgia, serif;
    font-weight: 300;
    letter-spacing: -1px;
}

/* ==========================================================================
   2. Blog Listing Dashboard (/blogs)
   ========================================================================== */

.blog-listing-header {
    text-align: center;
    margin-bottom: 5rem;
}

.blog-listing-title {
    font-size: 56px !important;
    line-height: 1.1 !important;
    letter-spacing: -2.5px;
    margin-bottom: 1.5rem;
}

.blog-listing-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Category Filter Tabs */
.blog-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 4rem;
}

.blog-filter-btn {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
    transform: translateY(-1px);
}

/* Blog Cards Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.blog-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(139, 92, 246, 0.05), transparent 40%);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.blog-card-meta {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-card-title {
    font-size: 24px;
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #8b5cf6;
}

.blog-card-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.blog-card-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.blog-card-read-more svg {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-read-more svg {
    transform: translateX(4px);
}

.blog-tag-pill {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   3. Code Block UI Component
   ========================================================================== */

.code-block-wrapper {
    background: #0d0e15;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin: 2.2rem 0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.code-block-header {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

/* Mac terminal dots */
.mac-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.mac-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.mac-dot-close {
    background: #ff5f56;
}

.mac-dot-minimize {
    background: #ffbd2e;
}

.mac-dot-maximize {
    background: #27c93f;
}

.code-block-filename {
    font-family: var(--mono), monospace;
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: auto; /* Push to the right */
}

.code-block-lang {
    font-family: var(--mono), monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.code-block-container {
    position: relative;
}

.code-block-copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.code-block-wrapper:hover .code-block-copy-btn {
    opacity: 1;
    pointer-events: auto;
}

.code-block-copy-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.code-block-pre {
    margin: 0;
    padding: 18px 24px;
    overflow-x: auto;
    font-family: var(--mono), monospace;
    font-size: 14px;
    line-height: 1.6;
    background: transparent;
    color: #e2e8f0;
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

.code-block-pre::-webkit-scrollbar {
    display: none !important;
}

/* Syntax Token Colors (Editorial Theme) */
.code-token-keyword { color: #f43f5e; font-weight: 600; }
.code-token-string { color: #10b981; }
.code-token-comment { color: #64748b; font-style: italic; }
.code-token-number { color: #f59e0b; }
.code-token-function { color: #3b82f6; }
.code-token-class { color: #a855f7; }
.code-token-operator { color: #cbd5e1; }

/* ==========================================================================
   4. Callouts & Alert Blocks (Admonitions)
   ========================================================================== */

.alert-block {
    display: flex;
    gap: 1.2rem;
    padding: 1.5rem 1.8rem;
    border-radius: 12px;
    border-left: 4px solid;
    margin: 2.2rem 0;
    line-height: 1.6;
}

.alert-block-icon {
    flex-shrink: 0;
    margin-top: 3px;
}

.alert-block-content {
    flex-grow: 1;
}

.alert-block-title {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.alert-block-content p {
    margin: 0;
    font-size: 15px;
    color: var(--text-primary);
}

/* Alert Block Variants */
.alert-note {
    background: rgba(139, 92, 246, 0.03);
    border-color: #8b5cf6;
}
.alert-note .alert-block-icon,
.alert-note .alert-block-title {
    color: #8b5cf6;
}

.alert-tip {
    background: rgba(16, 185, 129, 0.03);
    border-color: #10b981;
}
.alert-tip .alert-block-icon,
.alert-tip .alert-block-title {
    color: #10b981;
}

.alert-important {
    background: rgba(59, 130, 246, 0.03);
    border-color: #3b82f6;
}
.alert-important .alert-block-icon,
.alert-important .alert-block-title {
    color: #3b82f6;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.03);
    border-color: #f59e0b;
}
.alert-warning .alert-block-icon,
.alert-warning .alert-block-title {
    color: #f59e0b;
}

.alert-caution {
    background: rgba(239, 68, 68, 0.03);
    border-color: #ef4444;
}
.alert-caution .alert-block-icon,
.alert-caution .alert-block-title {
    color: #ef4444;
}

/* ==========================================================================
   5. Responsive Tables & Content Extras
   ========================================================================== */

.blog-table-wrapper {
    margin: 2.5rem 0;
}

.blog-table {
    width: 100%;
    margin-bottom: 0;
    color: var(--text-primary);
    border-collapse: collapse;
    font-size: 15px;
}

.blog-table th,
.blog-table td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.blog-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.02);
}

.blog-table tbody tr:nth-of-type(even) {
    background: rgba(255, 255, 255, 0.01);
}

.blog-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Diagram Frame */
.blog-diagram-container {
    background: #0d0e15;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
}

.blog-diagram-fallback {
    font-family: var(--mono), monospace;
    font-size: 13px;
    color: var(--text-secondary);
    width: 100%;
}

/* Math Block */
.blog-math-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    font-family: var(--inter), sans-serif;
    font-size: 18px;
    color: var(--text-primary);
    overflow-x: auto;
}

/* Back Link Style */
.blog-back-link {
    font-family: var(--mono), monospace !important;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: var(--text-primary);
}

/* ==========================================================================
   6. Advanced Components: Accordions, Tabs, Steps, Buttons, and Media
   ========================================================================== */

/* Accordion / Spoiler */
.blog-details {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-details[open] {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(139, 92, 246, 0.3);
}

.blog-details-summary {
    padding: 14px 20px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.blog-details-summary::-webkit-details-marker {
    display: none;
}

.blog-details-arrow {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.blog-details[open] .blog-details-arrow {
    transform: rotate(180deg);
    color: #8b5cf6;
}

.blog-details-content {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Multi-tab Code Blocks */
.code-tab-header {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.code-tab-btn {
    padding: 12px 20px;
    font-family: var(--mono), monospace;
    font-size: 12px;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
}

.code-tab-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.code-tab-btn.active {
    background: #0d0e15;
    color: #8b5cf6;
    border-bottom: 2px solid #8b5cf6;
    font-weight: 600;
}

/* Step list */
.step-list {
    position: relative;
    padding-left: 2.5rem;
    margin: 2.5rem 0;
}

.step-list::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: dashed var(--border-color);
}

.step-item {
    position: relative;
    margin-bottom: 2rem;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -2.5rem;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--mono), monospace;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    border-color: #8b5cf6;
    color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Custom Buttons & Links */
.blog-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.blog-btn-default {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.blog-btn-default:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.blog-btn-download {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.blog-btn-download:hover {
    background: #8b5cf6;
    color: #fff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.blog-btn-wa {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

.blog-btn-wa:hover {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.blog-btn-buy {
    background: rgba(236, 72, 153, 0.08);
    border-color: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.blog-btn-buy:hover {
    background: #ec4899;
    color: #fff;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    transform: translateY(-2px);
}

/* Paragraph Typography */
.paragraph-indent {
    text-indent: 2rem;
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

.paragraph-dropcap::first-letter {
    font-family: var(--fraunces), Georgia, serif;
    font-size: 4rem;
    float: left;
    margin-top: -0.3rem;
    margin-right: 0.5rem;
    line-height: 1;
    font-weight: 300;
    color: #ec4899;
}

.highlight-text {
    background: linear-gradient(120deg, rgba(244, 63, 94, 0.15) 0%, rgba(244, 63, 94, 0.15) 100%);
    color: #f43f5e;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

/* Image Galleries & Lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2.2rem 0;
}

.gallery-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin: 2.2rem 0;
    scroll-snap-type: x mandatory;
}

.gallery-scroll-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
}

.gallery-img-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.gallery-img-wrapper:hover {
    transform: scale(1.02);
    border-color: rgba(139, 92, 246, 0.4);
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 11, 16, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

/* Lists and Lists Roman */
ol.list-roman {
    list-style-type: lower-roman;
}

/* FAQ Card styling */
.faq-section {
    margin: 3rem 0;
}

.faq-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-question {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   7. View Switcher, Grid/Column Toggles, and 16:9 Cards
   ========================================================================== */

/* View switcher */
.blog-view-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 4px;
}

.blog-view-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-view-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.blog-view-btn.active {
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.1);
}

/* Card image / title 16:9 container */
.blog-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.03) 100%);
    border: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.blog-card:hover .blog-card-media {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

.blog-card-media-title {
    font-family: var(--fraunces), Georgia, serif;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.blog-card-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media-img {
    transform: scale(1.05);
}

/* Column/List View styles */
.blog-list-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 2rem 0;
}

.blog-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.blog-list-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}

.blog-list-left {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

.blog-list-date {
    font-family: var(--mono), monospace;
    font-size: 13px;
    color: var(--text-secondary);
    min-width: 120px;
    flex-shrink: 0;
}

.blog-list-title {
    font-family: var(--fraunces), Georgia, serif;
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 500;
    margin: 0;
}

.blog-list-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.blog-list-category {
    font-family: var(--mono), monospace;
    font-size: 11px;
    text-transform: uppercase;
    color: #8b5cf6;
    background: rgba(139, 92, 246, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
}

/* Responsive List Index Row for Mobile */
@media (max-width: 768px) {
    .blog-list-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem;
    }

    .blog-list-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .blog-list-date {
        min-width: auto;
    }

    .blog-list-right {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.25rem;
        border-top: 1px solid var(--border-color);
        padding-top: 0.5rem;
    }
}

/* ==========================================================================
   8. Theme-Aware / Light Theme Code Block Overrides
   ========================================================================== */

[data-theme="light"] .code-block-wrapper {
    background: #f8f9fa;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

[data-theme="light"] .code-block-header {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .code-block-copy-btn {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .code-block-copy-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .code-block-pre {
    color: #24292e;
}

[data-theme="light"] .code-token-comment {
    color: #6a737d;
}

[data-theme="light"] .code-token-keyword {
    color: #d73a49;
}

[data-theme="light"] .code-token-string {
    color: #032f62;
}

[data-theme="light"] .code-token-number {
    color: #005cc5;
}

[data-theme="light"] .code-tab-header {
    background: rgba(0, 0, 0, 0.01);
}

[data-theme="light"] .code-tab-btn {
    color: #586069;
}

[data-theme="light"] .code-tab-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    color: #24292e;
}

[data-theme="light"] .code-tab-btn.active {
    background: #f8f9fa;
}

