:root { --primary-color: #4361ee; --secondary-color: #3f37c9; --success-color: #4cc9f0; --danger-color: #f72585; --warning-color: #f8961e; --light-color: #f8f9fa; --dark-color: #212529; --gray-color: #6c757d; --border-radius: 8px; --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .tool-part h2 { font-size: 20px; padding-bottom: 10px; } .header { text-align: center; margin-bottom: 30px; } .header h1 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 700; } .header p { font-size: 1.1rem; color: var(--gray-color); max-width: 700px; margin: 0 auto; } .upload-section { margin-bottom: 30px; } .drop-zone { border: 2px dashed var(--primary-color); border-radius: var(--border-radius); padding: 50px 20px; text-align: center; cursor: pointer; transition: all 0.3s ease; background-color: rgba(67, 97, 238, 0.05); } .drop-zone:hover, .drop-zone.dragover { background-color: rgba(67, 97, 238, 0.1); border-color: var(--secondary-color); } .drop-zone i { font-size: 3rem; color: #764ba2; margin-bottom: 15px; } .drop-zone h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--dark-color); } .drop-zone p { color: var(--gray-color); margin-bottom: 20px; } .file-input { display: none; } .btn { display: inline-block; padding: 12px 24px; background:linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: var(--border-radius); cursor: pointer; font-size: 1rem; font-weight: 500; transition: all 0.3s ease; text-decoration: none; position: relative; } .btn:hover { background-color: var(--secondary-color); transform: translateY(-2px); } .btn:disabled { background-color: var(--gray-color); cursor: not-allowed; transform: none; } .btn-success { background-color: var(--success-color); } .btn-success:hover { background-color: #3db9e6; } .btn-danger { background-color: var(--danger-color); } .btn-danger:hover { background-color: #e51170; } .gradient-text { background: linear-gradient(90deg, #8B5CF6, #3B82F6); -webkit-background-clip: text; background-clip: text; color: transparent; } .gradient-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .glass-effect { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; } .card-hover:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); } .feature-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: white; font-size: 24px; } .fade-in { opacity: 0; transform: translateY(20px); animation: fadeIn 0.6s ease forwards; } @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } } .faq-item { transition: background-color 0.2s ease; } .faq-item:hover { background-color: rgba(139, 92, 246, 0.05); } .file-list { margin-top: 30px; } .file-item { display: flex; align-items: center; justify-content: space-between; padding: 15px; border: 1px solid #e9ecef; border-radius: var(--border-radius); margin-bottom: 15px; background-color: white; } .file-info { display: flex; align-items: center; } .file-icon { width: 40px; height: 40px; background-color: rgba(67, 97, 238, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; } .file-icon i { color: var(--primary-color); font-size: 1.2rem; } .file-details h4 { font-size: 1rem; margin-bottom: 5px; } .file-details p { font-size: 0.85rem; color: var(--gray-color); } .file-actions { display: flex; align-items: center; } .file-status { margin-right: 15px; font-size: 0.9rem; } .status-pending { color: var(--warning-color); } .status-processing { color: var(--primary-color); } .status-completed { color: var(--success-color); } .status-error { color: var(--danger-color); } .progress-bar { width: 200px; height: 8px; background-color: #e9ecef; border-radius: 4px; overflow: hidden; margin-right: 15px; } .progress-fill { height: 100%; background-color: var(--primary-color); width: 0%; transition: width 0.3s ease; } .loader { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: white; animation: spin 1s ease-in-out infinite; } @keyframes spin { to { transform: rotate(360deg); } } .results-section { margin-top: 30px; } .result-item { display: flex; align-items: center; justify-content: space-between; padding: 20px; border: 1px solid #e9ecef; border-radius: var(--border-radius); margin-bottom: 20px; background-color: white; } .result-preview { width: 100px; height: 140px; border: 1px solid #e9ecef; border-radius: var(--border-radius); overflow: hidden; margin-right: 20px; } .result-preview img { width: 100%; height: 100%; object-fit: cover; } .result-info { flex: 1; } .result-info h4 { font-size: 1.1rem; margin-bottom: 10px; } .result-stats { display: flex; margin-bottom: 10px; } .stat-item { margin-right: 20px; } .stat-item p { font-size: 0.85rem; color: var(--gray-color); } .stat-item strong { color: var(--dark-color); } .compression-ratio { font-weight: 600; color: var(--success-color); } .bulk-actions { display: flex; justify-content: space-between; margin-top: 20px; padding-top: 20px; border-top: 1px solid #e9ecef; } .countdown { color: var(--gray-color); font-size: 0.9rem; margin-left: 10px; } .countdown-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; border-radius: var(--border-radius); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); padding: 30px; text-align: center; z-index: 1000; display: none; max-width: 400px; width: 90%; } .countdown-container.show { display: block; } .countdown-container h3 { margin-bottom: 15px; color: var(--dark-color); } .countdown-container .countdown-timer { font-size: 3rem; font-weight: 700; color: var(--primary-color); margin: 20px 0; } .countdown-container p { margin-bottom: 20px; color: var(--gray-color); } .countdown-actions { display: flex; justify-content: center; gap: 15px; } .overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 999; display: none; } .overlay.show { display: block; } .notification { position: fixed; top: 20px; right: 20px; padding: 15px 20px; background-color: white; border-radius: var(--border-radius); box-shadow: var(--box-shadow); display: flex; align-items: center; transform: translateX(150%); transition: transform 0.3s ease; z-index: 1000; } .notification.show { transform: translateX(0); } .notification.success i { color: var(--success-color); } .notification.error i { color: var(--danger-color); } .notification p { margin: 0; font-weight: 500; } @media (max-width: 768px) { .header h1 { font-size: 2rem; } .file-item { flex-direction: column; align-items: flex-start; } .file-actions { width: 100%; margin-top: 15px; justify-content: space-between; } .progress-bar { width: 100%; } .result-item { flex-direction: column; align-items: flex-start; } .result-preview { margin-right: 0; margin-bottom: 15px; } .bulk-actions { flex-direction: column; } .bulk-actions .btn { width: 100%; margin-bottom: 10px; } .countdown-container { padding: 20px; } .countdown-container .countdown-timer { font-size: 2.5rem; } }