/* Custom styles for PDF Nugget Miner */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* PDF viewer container */
#pdf-viewer {
    height: 500px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
/* Ultra-compact cheat sheet styling */
.key-point-item {
    transition: all 0.1s ease;
    break-inside: avoid;
    page-break-inside: avoid;
    min-height: 0;
    padding: 0.25rem !important;
    line-height: 1.2 !important;
}
.key-point-item:hover {
    background-color: #f0f4ff !important;
    transform: none;
    border-color: #93c5fd !important;
}
.key-point-item p {
    margin: 0;
    padding: 0;
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
    word-break: break-word;
}
@media print {
    .key-point-item {
        border: none !important;
        background: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}
