/* PDF to JPG Converter Styles */

.upload-area {
    border: 2px dotted #3b82f6; 
    padding: 2rem; 
    border-radius: 0.75rem;
    margin-bottom: 1.5rem; 
    text-align: center; 
    position: relative;
    cursor: pointer; 
    transition: all 0.3s ease-in-out;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.upload-area.drag-over { 
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%); 
    border-color: #1d4ed8; 
    transform: scale(1.02);
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.page-card {
    background: white;
    border-radius: 0.75rem;
    border: 2px solid #e5e7eb;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.page-card.selected {
    border-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.page-preview {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #e5e7eb;
}

.quality-slider {
    width: 100%;
    margin: 1rem 0;
}

.stats-pulse {
    animation: statsPulse 0.6s ease-in-out;
}

@keyframes statsPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.processing-animation {
    animation: processing 2s infinite;
}

@keyframes processing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hidden { 
    display: none; 
}
