# frontend/css.py CSS = """ .gradio-container { max-width: 1200px !important; margin: auto; background-color: #1a1a1a !important; color: #e5e5e5 !important; } .dark .gradio-container { background-color: #1a1a1a !important; } .section-header { background: linear-gradient(135deg, #2563eb, #1d4ed8) !important; padding: 25px; border-radius: 12px; border-left: 6px solid #60a5fa; margin: 25px 0; color: #ffffff !important; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); } .section-header h2, .section-header h3 { color: #ffffff !important; margin-bottom: 10px; } .section-header p { color: #e0e7ff !important; opacity: 0.95; } .clip-container { background: #2d2d2d !important; padding: 20px; border-radius: 12px; border: 2px solid #3f3f46; margin: 15px 0; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); } .clip-container:hover { border-color: #60a5fa; box-shadow: 0 6px 16px rgba(96, 165, 250, 0.2); } .comparison-container { background: #2a2a2a !important; padding: 25px; border-radius: 12px; border: 2px solid #4f46e5; margin: 20px 0; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2); } .reference-container { background: linear-gradient(135deg, #059669, #047857) !important; padding: 20px; border-radius: 12px; border: 2px solid #10b981; margin: 15px 0; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); } .reference-container h4, .reference-container p { color: #ffffff !important; } .audio-info { background: #374151 !important; padding: 15px; border-radius: 8px; border-left: 4px solid #60a5fa; margin: 10px 0; font-family: 'Courier New', monospace; } .audio-info .info-label { color: #60a5fa !important; font-weight: bold; font-size: 0.9em; } .audio-info .info-value { color: #e5e5e5 !important; margin-left: 10px; } .transcript-box { background: #1f2937 !important; padding: 15px; border-radius: 8px; border: 1px solid #4b5563; font-style: italic; color: #d1d5db !important; line-height: 1.6; } .progress-text { background: linear-gradient(135deg, #1e40af, #1d4ed8) !important; border-left: 4px solid #60a5fa !important; padding: 12px 16px; border-radius: 8px; font-weight: 600; color: #ffffff !important; box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3); } .gr-button { background: linear-gradient(135deg, #2563eb, #1d4ed8) !important; border: none !important; color: #ffffff !important; padding: 12px 24px !important; border-radius: 8px !important; font-weight: 600 !important; transition: all 0.3s ease !important; } .gr-button:hover { background: linear-gradient(135deg, #1d4ed8, #1e40af) !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4) !important; } .gr-button.secondary { background: linear-gradient(135deg, #6b7280, #4b5563) !important; color: #ffffff !important; } .gr-button.secondary:hover { background: linear-gradient(135deg, #4b5563, #374151) !important; box-shadow: 0 6px 16px rgba(107, 114, 128, 0.3) !important; } .gr-textbox, .gr-slider, .gr-radio, .gr-accordion { background-color: #2d2d2d !important; border-color: #4b5563 !important; color: #e5e5e5 !important; } h1, h2, h3, h4, h5, h6, p, span, div { color: #e5e5e5 !important; } a { color: #60a5fa !important; } a:hover { color: #93c5fd !important; } .gr-accordion .label-wrap { background-color: #374151 !important; color: #e5e5e5 !important; border-color: #4b5563 !important; } """