@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; } /* Text output area */ .text-output { background-color: #f9fafb; border: 1px solid #e5e7eb; border-radius: 0.5rem; padding: 1rem; font-family: 'Courier New', monospace; font-size: 0.875rem; line-height: 1.5; max-height: 400px; overflow-y: auto; white-space: pre-wrap; word-wrap: break-word; } /* 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; } /* 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; } /* Copy button animation */ .copy-button.copied { background-color: #10b981; color: white; } .copy-button.copied i { animation: checkmark 0.5s ease; } @keyframes checkmark { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }