/* File: app/static/css/main/pdf_readers.css */
/* PDF Readers page specific styles */

/* Product card styling */
.product-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--text-primary);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

/* Product icon styling */
.product-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Sidebar container styling */
.sidebar-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 1rem;
    height: calc(100vh - 180px);
}

/* Force scrollbar to always show */
.sidebar-container {
    scrollbar-width: thin;
    scrollbar-color: #6b7280 #374151;
}

/* Custom scrollbar for sidebar - Always visible */
.sidebar-container::-webkit-scrollbar {
    width: 8px;
    background-color: #374151;
}

.sidebar-container::-webkit-scrollbar-track {
    background: #374151;
    border-radius: 4px;
    border: 1px solid #4b5563;
}

.sidebar-container::-webkit-scrollbar-thumb {
    background: #6b7280;
    border-radius: 4px;
    border: 1px solid #4b5563;
}

.sidebar-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.sidebar-container::-webkit-scrollbar-corner {
    background: #374151;
}

/* Dark mode adjustments */
[data-theme="dark"] .sidebar-container {
    background: var(--card-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* Responsive improvements for mobile */
@media (max-width: 768px) {
    .sidebar-container {
        max-height: 400px;
        margin-bottom: 1rem;
        height: 400px !important;
    }
    
    .position-sticky {
        position: relative !important;
        height: auto !important;
    }
} 