body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: #404040;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

/* Main Container - Vertical Stack */
.directory-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow: hidden;
}

/* Top Navigation - Contains Categories and Workbooks Horizontally */
.top-navigation {
    flex: 0 0 auto;
    border-bottom: 2px solid #d6d6d6;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100px; /* Compact minimum height */
    max-height: 140px; /* Compact maximum height - just categories */
    overflow: hidden; /* Prevent content overflow */
    transition: max-height 0.4s ease;
}

/* Expanded state for top navigation */
.top-navigation.workbooks-visible {
    max-height: 280px; /* Allow space when workbooks are visible */
}

.top-navigation.workbooks-expanded {
    max-height: 460px; /* Allow more space when workbooks are expanded */
}

/* Categories Section - Horizontal Pills */
.categories-section {
    border-bottom: 1px solid #e1e1e1;
    background-color: #57068c;
    padding: 8px 0;
}

.categories-header {
    padding: 8px 20px 4px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-header h2 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.categories-container {
    overflow: visible; /* Remove scrollbar */
    padding: 0 20px; /* Add horizontal padding */
}

.categories-list {
    list-style: none;
    padding: 4px 0 12px 0; /* Remove horizontal padding since container has it */
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap; /* Allow wrapping to multiple rows */
    align-items: flex-start;
}

.category-item {
    padding: 6px 16px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    background-color: transparent;
}

.category-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.category-item.active {
    background-color: white;
    color: #57068c;
    border-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Workbooks Section - Horizontal Pills */
.workbooks-section {
    background-color: white;
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    max-height: 0; /* Hidden by default */
    opacity: 0;
    pointer-events: none; /* Disable interactions when hidden */
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.workbooks-section.visible {
    max-height: 160px; /* Compact height when visible */
    opacity: 1;
    pointer-events: auto; /* Enable interactions when visible */
}

.workbooks-section.visible.expanded {
    max-height: 400px; /* Expanded height */
}

.workbooks-header {
    padding: 12px 20px 8px 20px;
    border-bottom: 1px solid #e1e1e1;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.workbooks-title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #57068c;
}

/* Search functionality in top right */
.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-icon-btn {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.search-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.search-icon-btn.active {
    background-color: white;
    color: #57068c;
    border-color: white;
}

#search-bar {
    width: 0;
    max-width: 300px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-family: "Inter", sans-serif;
    border-radius: 20px;
    border: 1px solid white;
    box-sizing: border-box;
    transition: all 0.4s ease;
    background-color: white;
    opacity: 0;
    overflow: hidden;
}

#search-bar.search-bar-expanded {
    width: 250px;
    opacity: 1;
}

#search-bar.search-bar-hidden {
    width: 0;
    padding: 6px 0;
    opacity: 0;
    border: 1px solid transparent;
}

#search-bar:focus {
    outline: none;
    border-color: white;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

/* Expand toggle button */
.expand-toggle-btn {
    background-color: transparent;
    color: #57068c;
    border: 1px solid #d6d6d6;
    padding: 6px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.expand-toggle-btn:hover {
    background-color: #f0f0f0;
    border-color: #57068c;
}

.expand-toggle-btn.expanded {
    background-color: #57068c;
    color: white;
    border-color: #57068c;
    transform: rotate(180deg);
}

/* Hide expand button when workbooks section is not visible */
.workbooks-section:not(.visible) .expand-toggle-btn {
    opacity: 0.5;
    cursor: not-allowed;
}

.workbooks-section:not(.visible) .expand-toggle-btn:hover {
    background-color: transparent;
    border-color: #d6d6d6;
}

.workbooks-container {
    overflow-y: auto; /* Add vertical scrolling */
    overflow-x: hidden;
    flex: 1;
    position: relative;
    padding: 0 20px; /* Add horizontal padding */
    max-height: 4rem; /* Compact container height */
    transition: max-height 0.4s ease;
}

.workbooks-section.expanded .workbooks-container {
    max-height: 360px; /* Expanded container height */
}

.workbook-list {
    list-style: none;
    padding: 6px 0 12px 0; /* Compact padding */
    margin: 0;
    display: flex;
    gap: 6px; /* Compact gap */
    flex-wrap: wrap; /* Allow wrapping to multiple rows */
    align-items: flex-start;
}

.workbook-item {
    padding: 6px 12px; /* Compact padding */
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.75rem; /* Compact font size */
    font-weight: 600;
    color: #404040;
    transition: all 0.3s ease;
    border: 1px solid #d6d6d6;
    background-color: white;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
    overflow: visible;
    text-overflow: clip;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: inline-block; /* Ensure proper sizing */
    pointer-events: auto; /* Ensure clicks work */
    position: relative; /* Ensure proper stacking */
    z-index: 1; /* Above any background elements */
}

.workbook-item:hover {
    background-color: #eee6f3;
    border-color: #57068c;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(87, 6, 140, 0.15);
}

.workbook-item.active {
    background-color: #57068c;
    color: white;
    border-color: #57068c;
    box-shadow: 0 3px 8px rgba(87, 6, 140, 0.3);
}

/* Details Pane - Full Width, Takes Remaining Space */
.details-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: #fdfdfd;
}

/* Persistent note styling */
.persistent-note {
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 20px 40px 0 40px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.persistent-note a {
    color: #57068c;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.persistent-note a:hover {
    color: #440567;
    text-decoration: none;
}

/* Details content container */
.details-content {
    flex-grow: 1;
    padding: 0 20px 20px 20px;
    overflow-y: auto;
}

.details-content h1 {
    margin: 0 0 24px 0;
    font-size: 2.25rem;
    font-weight: 700;
    color: #000000;
}

.details-content h1 a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.details-content h1 a:hover {
    color: #57068c;
    text-decoration: underline;
}

.metadata-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 24px;
    margin: 24px;
}

.metadata-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.metadata-item .label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6d6d6d;
    margin-bottom: 8px;
}

.metadata-item .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #57068c;
    line-height: 1.2;
}

.details-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    border-bottom: 2px solid #57068c;
    padding-bottom: 12px;
}

/* Views Header with Button */
.views-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.views-header h3 {
    color: #333;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    text-transform: none;
}

.header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Tableau Button - Clean, minimal design */
.tableau-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tableau-button:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #212529;
}

.tableau-button:active {
    transform: translateY(1px);
}

.tableau-button svg {
    width: 16px;
    height: 16px;
}

/* Share Button - NYU Purple theme */
.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f3f0ff;
    border: 1px solid #d1c4e9;
    border-radius: 6px;
    color: #57068c;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 10px;
}

.share-button:hover {
    background: #e8dcff;
    border-color: #b39ddb;
    color: #4a0e4e;
}

.share-button:active {
    transform: translateY(1px);
}

.share-button svg {
    width: 16px;
    height: 16px;
}

.share-button.copied {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Share Modal Styles */
.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal-overlay.show {
    display: flex;
    opacity: 1;
}

.share-modal {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.share-modal-overlay.show .share-modal {
    transform: translateY(0);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ecef;
}

.share-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6c757d;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.share-modal-close:hover {
    background: #f8f9fa;
    color: #495057;
}

.share-modal-content {
    margin-bottom: 20px;
}

.share-modal-message {
    color: #495057;
    margin-bottom: 16px;
    font-size: 14px;
}

.share-url-container {
    position: relative;
    margin-bottom: 16px;
}

.share-url-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 14px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #f8f9fa;
    color: #495057;
    box-sizing: border-box;
    resize: none;
}

.share-url-input:focus {
    outline: none;
    border-color: #57068c;
    box-shadow: 0 0 0 2px rgba(87, 6, 140, 0.1);
}

.share-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.share-modal-button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid;
}

.share-modal-button.primary {
    background: #57068c;
    color: white;
    border-color: #57068c;
}

.share-modal-button.primary:hover {
    background: #4a0e4e;
    border-color: #4a0e4e;
}

.share-modal-button.secondary {
    background: #f8f9fa;
    color: #495057;
    border-color: #dee2e6;
}

.share-modal-button.secondary:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

/* Help Callout Section */
.help-callout {
    background-color: #f8f9ff;
    border: 1px solid #d1d9ff;
    border-left: 4px solid #57068c;
    border-radius: 6px;
    padding: 16px 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.help-callout-content h4 {
    margin: 0 0 12px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #57068c;
}

.help-callout-content p {
    margin: 0 0 8px 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #444;
}

.help-callout-content p:last-child {
    margin-bottom: 0;
}

.help-form-link {
    color: #57068c;
    text-decoration: none;
    font-weight: 600;
}

.help-form-link:hover {
    text-decoration: underline;
}

.help-note {
    font-size: 0.8rem !important;
    color: #000 !important;
    font-style: italic;
    margin-top: 8px !important;
}

#workbook-description {
    font-size: 0.9rem;
    color: #404040;
    line-height: 1.7;
}

.worksheet-list {
    list-style: none;
    padding: 0;
}

.worksheet-item {
    background-color: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #330662;
    display: flex;
    line-height: 1rem;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.worksheet-item:hover {
    background-color: #f8f8ff;
}

.worksheet-name {
    flex: 1;
    margin-right: 12px;
}

.worksheet-name a {
    color: #330662;
    text-decoration: none;
    transition: color 0.2s ease;
}

.worksheet-name a:hover {
    color: #57068c;
    text-decoration: underline;
}

.worksheet-views {
    font-size: 0.85rem;
    color: #6d6d6d;
    font-weight: 500;
    white-space: nowrap;
    background-color: #f0f0f0;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 60px;
    text-align: center;
}

.empty-state {
    text-align: center;
    color: #6c757d;
    margin-top: 40px;
    font-style: italic;
    font-size: 0.75rem;
}

/* Link styling for details sections */
.details-section a {
    color: #57068c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.details-section a:hover {
    color: #440567;
    text-decoration: underline;
}

/* Worksheet link styling (spans that act like links) */
.worksheet-link {
    color: #57068c;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.worksheet-link:hover {
    color: #440567;
    text-decoration: underline;
}

/* External link icon styling */
.external-link-icon {
    display: inline-block;
    margin-left: 8px;
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
    vertical-align: text-top;
}

.worksheet-name:hover .external-link-icon,
.details-content h1 a:hover .external-link-icon {
    opacity: 1;
}

/* Footnote section styling */
.footnote-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 16px 20px;
}

.footnote-item {
    font-size: 0.75rem;
    color: #666;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

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

.footnote-item strong {
    color: #333;
    font-weight: 600;
}

/* Worksheet Pills Styling */
.worksheet-pills-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.worksheet-pill {
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #404040;
    transition: all 0.3s ease;
    border: 1px solid #d6d6d6;
    background-color: white;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
    overflow: visible;
    text-overflow: clip;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.worksheet-pill:hover {
    background-color: #eee6f3;
    border-color: #57068c;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(87, 6, 140, 0.15);
}

.worksheet-pill a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.worksheet-pill a:hover {
    color: #57068c;
}

.worksheet-pill .external-link-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.worksheet-views-badge {
    background-color: #57068c;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    white-space: nowrap;
}

.worksheet-pill.no-worksheets {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 2px dashed #d6d6d6;
    cursor: default;
    font-style: italic;
}

.worksheet-pill.no-worksheets:hover {
    background-color: #f8f9fa;
    border-color: #d6d6d6;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Update responsive design */
@media (max-width: 1200px) {
    .category-item,
    .workbook-item {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .workbook-list {
        gap: 6px;
    }
    
    .categories-list {
        gap: 6px;
    }
    
    .worksheet-pill {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .worksheet-pills-list {
        gap: 6px;
    }
    
    .worksheet-views-badge {
        font-size: 0.6rem;
        padding: 1px 4px;
    }
}

@media (max-width: 768px) {
    .categories-container,
    .workbooks-container {
        padding: 0 16px;
    }
    
    .categories-list,
    .workbook-list {
        gap: 6px;
    }
    
    .category-item,
    .workbook-item {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
    
    .top-navigation {
        min-height: 100px;
    }
    
    .categories-header {
        padding: 6px 16px 4px 16px;
    }
    
    #search-bar.search-bar-expanded {
        width: 200px;
    }
    
    .workbooks-header {
        padding: 8px 16px 6px 16px;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 1% auto;
    padding: 0;
    width: 98%;
    height: 96%;
    max-width: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 8px;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e1e5e9;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    width: auto;
    height: auto;
    line-height: 1;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #333;
}

.modal-body {
    flex: 1;
    padding: 0;
    overflow-y: auto;
    overflow-x: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.modal-body tableau-viz {
    width: 100%;
    max-width: 1200px;
    height: 100vh;
    min-height: 600px;
    border: none;
    flex-shrink: 0;
}

/* Preview Section Styling */
.preview-section {
    margin-top: 10px;
}

.preview-section h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    border-bottom: 2px solid #57068c;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.preview-button {
    background-color: #57068c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.preview-button:hover {
    background-color: #440567;
    transform: translateY(-1px);
}

.preview-button.secondary {
    background-color: #f0f0f0;
    color: #333;
}

.preview-button.secondary:hover {
    background-color: #e0e0e0;
}

.preview-container {
    background-color: #f8f9fa;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 20px;
    margin-top: 16px;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.preview-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    color: #666;
    font-style: italic;
}

.preview-container tableau-viz {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.preview-empty {
    text-align: center;
    color: #6c757d;
    padding: 60px 20px;
    font-style: italic;
    background-color: #f8f9fa;
    border: 2px dashed #d6d6d6;
    border-radius: 8px;
}

.external-indicator {
    background-color: #57068c;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 12px;
    letter-spacing: 0.5px;
}

/* Remove scroll-related styles that are no longer needed */
/* Remove or comment out these styles:

.categories-container::-webkit-scrollbar,
.workbooks-container::-webkit-scrollbar {
    height: 6px;
}

.categories-container::-webkit-scrollbar-track,
.workbooks-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.categories-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.workbooks-container::-webkit-scrollbar {
    height: 8px;
}

.workbooks-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 0 20px;
}

.workbooks-container::-webkit-scrollbar-thumb {
    background: rgba(87, 6, 140, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.workbooks-container::-webkit-scrollbar-thumb:hover {
    background: rgba(87, 6, 140, 0.5);
}

.workbooks-container::before,
.workbooks-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 20px;
    width: 20px;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.workbooks-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.workbooks-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.workbooks-container:not([data-scrollable])::before,
.workbooks-container:not([data-scrollable])::after {
    opacity: 0;
}
*/

/* Custom scrollbar for workbooks container */
.workbooks-container::-webkit-scrollbar {
    width: 8px;
}

.workbooks-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    margin: 4px 0;
}

.workbooks-container::-webkit-scrollbar-thumb {
    background: rgba(87, 6, 140, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.workbooks-container::-webkit-scrollbar-thumb:hover {
    background: rgba(87, 6, 140, 0.5);
}

/* Firefox scrollbar styling */
.workbooks-container {
    scrollbar-width: thin;
    scrollbar-color: rgba(87, 6, 140, 0.3) rgba(0, 0, 0, 0.05);
}

/* Keep all other existing CSS unchanged */