/* Custom Styles from input.css - Tailwind build failed, so loading these manually */

/* Custom Scrollbar */
.custom-scroll::-webkit-scrollbar {
    width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(156, 163, 175, 0.5);
    border-radius: 20px;
}

/* Sidebar Navigation */
.sidebar-link {
    transition: all 0.2s ease-in-out;
}

.sidebar-link:hover {
    transform: translateX(4px);
}

.sidebar-link.active {
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1) 0%, transparent 100%);
    border-left: 3px solid #3498db;
    color: #3498db;
}

/* Publication Card Styles */
.pub-card {
    transition: all 0.3s ease-in-out;
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    /* gray-100 */
}

.dark .pub-card {
    background-color: #1f2937;
    /* gray-800 */
    border-color: #374151;
    /* gray-700 */
}

.pub-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* BibTeX Toggle */
.bibtex-content {
    display: none;
    margin-top: 1rem;
    background-color: #f9fafb;
    /* gray-50 */
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: monospace;
    color: #4b5563;
    /* gray-600 */
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    /* gray-200 */
    animation: fadeIn 0.3s ease;
}

.dark .bibtex-content {
    background-color: #111827;
    /* gray-900 */
    color: #9ca3af;
    /* gray-400 */
    border-color: #374151;
    /* gray-700 */
}

.bibtex-content.show {
    display: block;
}

/* Jump-to Navigation */
.jump-link {
    transition: all 0.2s ease-in-out;
    color: #6b7280;
    /* gray-500 */
    cursor: pointer;
    font-size: 0.875rem;
}

.jump-link:hover {
    color: #3498db;
    /* primary */
    transform: translateX(2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}