@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; } .file-card { transition: all 0.3s ease; height: 100%; position: relative; } .file-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); } .split-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; } /* Page range input */ .page-range-input { transition: all 0.3s ease; } .page-range-input:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); } /* Split option tabs */ .tab-active { border-bottom: 2px solid #3b82f6; color: #3b82f6; } /* Page selection styles */ .pages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; margin-top: 1rem; } .page-item { border: 2px solid #e5e7eb; border-radius: 0.5rem; overflow: hidden; cursor: pointer; transition: all 0.3s ease; } .page-item:hover { border-color: #3b82f6; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); } .page-item.selected { border-color: #3b82f6; background-color: rgba(59, 130, 246, 0.05); } .page-preview { height: 150px; display: flex; align-items: center; justify-content: center; background-color: #f9fafb; overflow: hidden; } .page-preview img { max-width: 100%; max-height: 100%; object-fit: contain; } .page-number { padding: 0.5rem; text-align: center; background-color: #fff; font-size: 0.875rem; font-weight: 500; } /* 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 i { margin-right: 0.75rem; font-size: 1.25rem; } .toast.success i { color: #10b981; } .toast.error i { color: #ef4444; } /* Progress bar */ .progress-bar { height: 8px; background-color: #e5e7eb; border-radius: 4px; margin-top: 1rem; overflow: hidden; display: none; } .progress-bar.active { display: block; } .progress-fill { height: 100%; background-color: #3b82f6; width: 0%; transition: width 0.3s ease; } /* 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; }