@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .fade-in { animation: fadeIn 0.3s ease-out; } .drag-over { background-color: rgba(59, 130, 246, 0.1); border-color: #3b82f6; } .progress-bar { transition: width 0.3s ease; } .convert-button:hover { animation: pulse 0.3s ease-in-out; } .drop-zone { transition: all 0.3s ease; } .drop-zone:hover { border-color: #3b82f6; background-color: rgba(59, 130, 246, 0.05); } .spinner { border: 3px solid #f3f3f3; border-top: 3px solid #3b82f6; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Smooth scroll behavior */ html { scroll-behavior: smooth; } /* Adjust main content padding */ main { padding-top: 2rem; padding-bottom: 2rem; } /* Toast notification */ .toast { position: fixed; bottom: 2rem; right: 2rem; background-color: #fff; border-radius: 0.5rem; padding: 1rem 1.5rem; box-shadow: 0 10px 25px rgba(0,0,0,0.1); display: flex; align-items: center; transform: translateY(150%); transition: transform 0.3s ease; z-index: 1000; } .toast.show { transform: translateY(0); } .toast.success { border-left: 4px solid #10b981; } .toast.error { border-left: 4px solid #ef4444; } .toast.warning { border-left: 4px solid #f59e0b; } .toast i { margin-right: 0.75rem; font-size: 1.25rem; } .toast.success i { color: #10b981; } .toast.error i { color: #ef4444; } .toast.warning i { color: #f59e0b; } /* Loader overlay */ .loader-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .loader-overlay.active { opacity: 1; visibility: visible; } /* Page thumbnails */ .page-thumbnail { position: relative; border-radius: 0.5rem; overflow: hidden; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; cursor: pointer; } .page-thumbnail:hover { box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1); transform: translateY(-5px); } .page-thumbnail.selected { border: 2px solid #3b82f6; } .page-thumbnail.removed { opacity: 0.4; border: 2px dashed #ef4444; } .page-number { position: absolute; top: 0.5rem; left: 0.5rem; background-color: rgba(0, 0, 0, 0.7); color: white; border-radius: 0.25rem; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: bold; } .page-actions { position: absolute; top: 0.5rem; right: 0.5rem; display: flex; gap: 0.25rem; } .page-action { background-color: rgba(255, 255, 255, 0.9); border-radius: 0.25rem; padding: 0.25rem; cursor: pointer; transition: all 0.2s ease; } .page-action:hover { background-color: white; transform: scale(1.1); } .page-action.remove:hover { color: #ef4444; } .page-action.restore:hover { color: #10b981; } /* Pages grid */ .pages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1.5rem; } /* Error message */ .error-message { background-color: #fef2f2; border: 1px solid #fecaca; color: #dc2626; padding: 1rem; border-radius: 0.5rem; margin-top: 1rem; } /* Selection controls */ .selection-controls { background-color: #f9fafb; border-radius: 0.5rem; padding: 1rem; margin-bottom: 1rem; }