* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif; background-color: #f5f5f5; color: #333; line-height: 1.6; } .container { max-width: 1200px; margin: 0 auto; padding: 20px; } header { text-align: center; margin-bottom: 40px; } header h1 { font-size: 2.5rem; color: #2c3e50; margin-bottom: 10px; } header p { font-size: 1.1rem; color: #7f8c8d; } .upload-section { background: white; border-radius: 10px; padding: 40px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin-bottom: 30px; } .upload-area { border: 2px dashed #3498db; border-radius: 10px; padding: 60px; text-align: center; cursor: pointer; transition: all 0.3s ease; } .upload-area:hover { border-color: #2980b9; background-color: #f8f9fa; } .upload-area.dragging { border-color: #2ecc71; background-color: #e8f8f5; } .upload-icon { width: 64px; height: 64px; color: #000000; margin-bottom: 20px; } .file-types { font-size: 0.9rem; color: #7f8c8d; margin: 10px 0 20px; } .browse-btn { background: #3498db; color: white; border: none; padding: 10px 30px; border-radius: 5px; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; } .browse-btn:hover { background: #2980b9; } .language-selector { background: white; border-radius: 10px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin-bottom: 30px; display: flex; align-items: center; gap: 20px; } .language-selector label { font-weight: 600; color: #2c3e50; } .language-selector select { padding: 10px 20px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; flex: 1; max-width: 300px; } .translate-btn { background: #2ecc71; color: white; border: none; padding: 10px 30px; border-radius: 5px; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; } .translate-btn:hover { background: #27ae60; } .progress-section { background: white; border-radius: 10px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); margin-bottom: 30px; } .progress-bar { height: 20px; background: #ecf0f1; border-radius: 10px; overflow: hidden; margin-bottom: 15px; } .progress-fill { height: 100%; background: linear-gradient(90deg, #3498db, #2ecc71); width: 0; transition: width 0.3s ease; } .progress-text { text-align: center; color: #7f8c8d; } .results-section { background: white; border-radius: 10px; padding: 30px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .document-viewer { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; } .viewer-pane { border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; } .viewer-pane h3 { color: #2c3e50; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #e0e0e0; } .text-content { max-height: 400px; overflow-y: auto; line-height: 1.8; white-space: pre-wrap; } .audio-section { border-top: 1px solid #e0e0e0; padding-top: 30px; margin-bottom: 30px; } .audio-section h3 { color: #2c3e50; margin-bottom: 20px; } .generate-audio-btn { background: #9b59b6; color: white; border: none; padding: 10px 30px; border-radius: 5px; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; margin-top: 15px; } .generate-audio-btn:hover { background: #8e44ad; } .download-section { border-top: 1px solid #e0e0e0; padding-top: 30px; } .download-section h3 { color: #2c3e50; margin-bottom: 20px; } .download-buttons { display: flex; gap: 20px; margin-bottom: 30px; } .download-btn { flex: 1; background: #34495e; color: white; border: none; padding: 15px 30px; border-radius: 5px; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; } .download-btn:hover:not(:disabled) { background: #2c3e50; } .download-btn:disabled { opacity: 0.5; cursor: not-allowed; } .download-btn svg { width: 20px; height: 20px; } .new-document-btn { width: 100%; background: #e74c3c; color: white; border: none; padding: 15px 30px; border-radius: 5px; font-size: 1rem; cursor: pointer; transition: background 0.3s ease; } .new-document-btn:hover { background: #c0392b; } @media (max-width: 768px) { .document-viewer { grid-template-columns: 1fr; } .download-buttons { flex-direction: column; } }