/* Custom styles for PDF Resizer application */

/* Drop area styling */
.drop-area {
    border: 2px dashed var(--bs-secondary);
    transition: all 0.3s ease;
    background-color: rgba(var(--bs-secondary-rgb), 0.1);
}

.drop-area.drag-over {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-color: var(--bs-primary);
    transform: scale(1.01);
}

.border-dashed {
    border-style: dashed !important;
}

/* PDF Preview Styling */
.pdf-preview-container {
    max-width: 100%;
    overflow-x: auto;
    background-color: rgba(255, 255, 255, 0.05);
}

#pdf-preview {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

#pdf-preview canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    #pdf-controls {
        flex-direction: column;
        gap: 10px;
    }
}
