.demo-container { display: flex; justify-content: center; align-items: center; height: 95vh; background-color: transparent; margin-right: 30px; } .demo-description { margin-bottom: 2rem; line-height: 1.6; font-size: 1.1rem; } .demo-form { display: flex; flex-direction: column; margin-bottom: 2rem; } .demo-input { padding: 1rem; border-radius: 8px; border: 1px solid #ccc; font-size: 1rem; margin-bottom: 1rem; background-color: var(--bg-color-secondary); color: var(--text-color); resize: vertical; } .demo-button { padding: 0.8rem 1.5rem; background-color: #6200ea; color: white; border: none; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: background-color 0.3s; align-self: flex-end; } .demo-button:hover { background-color: #7c4dff; } .demo-button:disabled { background-color: #b39ddb; cursor: not-allowed; } /* Audio Circle Styles */ .audio-circle-container { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; } .audio-circle { width: 450px; height: 450px; border-radius: 50%; background-color: rgba(0, 0, 0, 0.8); display: flex; justify-content: center; align-items: center; position: relative; overflow: visible; box-shadow: 0 0 0 10px rgba(98, 0, 234, 0.1), 0 0 30px 0 rgba(98, 0, 234, 0.5), inset 0 0 20px 5px rgba(98, 0, 234, 0.2); } .audio-circle::before { content: ''; position: absolute; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(45deg, transparent, rgba(98, 0, 234, 0.3)); z-index: 1; } .audio-circle::after { content: ''; position: absolute; width: 430px; height: 430px; border-radius: 50%; border: 2px solid rgba(98, 0, 234, 0.5); box-shadow: 0 0 20px rgba(98, 0, 234, 0.5), 0 0 40px rgba(98, 0, 234, 0.3), 0 0 60px rgba(98, 0, 234, 0.2); animation: pulse 2s infinite; } /* Add a new outer glow element */ .audio-circle-container::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(98, 0, 234, 0.2) 0%, rgba(0, 162, 255, 0.2) 50%, transparent 70%); z-index: 0; filter: blur(20px); } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(98, 0, 234, 0.5), 0 0 0 0 rgba(0, 162, 255, 0.5); } 50% { box-shadow: 0 0 20px 10px rgba(98, 0, 234, 0.3), 0 0 40px 20px rgba(0, 162, 255, 0.2); } 100% { box-shadow: 0 0 0 0 rgba(98, 0, 234, 0), 0 0 0 0 rgba(0, 162, 255, 0); } } .audio-player-container { position: relative; z-index: 10; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; } .audio-player { width: 250px; height: 40px; border-radius: 20px; background-color: rgba(0, 0, 0, 0.7); border: 1px solid rgba(98, 0, 234, 0.5); box-shadow: 0 0 10px rgba(98, 0, 234, 0.5); } .audio-info { color: white; max-width: 200px; overflow: hidden; } .audio-info h3 { font-size: 1.2rem; margin: 0.5rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .audio-info p { font-size: 0.8rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .demo-loading-circle { display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; z-index: 2; text-align: center; } .demo-spinner { width: 60px; height: 60px; border: 5px solid rgba(98, 0, 234, 0.2); border-radius: 50%; border-top-color: #6200ea; animation: spin 1s ease-in-out infinite; margin-bottom: 1rem; } @keyframes spin { to { transform: rotate(360deg); } } .empty-circle-message { color: white; text-align: center; padding: 1rem; z-index: 2; cursor: pointer; transition: opacity 0.3s; } .empty-circle-message:hover { opacity: 0.8; } .empty-circle-message p { font-size: 1.1rem; opacity: 0.7; } /* Original styles */ .demo-loading { display: flex; flex-direction: column; align-items: center; margin: 2rem 0; } .demo-result { background-color: var(--bg-color-secondary); border-radius: 12px; padding: 1.5rem; margin-top: 2rem; } .demo-podcast-card { background-color: var(--bg-color); border-radius: 8px; padding: 1.5rem; margin: 1rem 0; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .demo-podcast-card h3 { margin-top: 0; color: #6200ea; } .demo-podcast-meta { display: flex; justify-content: space-between; margin-top: 1rem; font-size: 0.9rem; color: var(--text-color-secondary); } .demo-note { font-style: italic; font-size: 0.9rem; color: var(--text-color-secondary); text-align: center; margin-top: 1.5rem; } /* Dark mode adjustments */ :root { --bg-color: #ffffff; --bg-color-secondary: #f5f5f5; --text-color: #333333; --text-color-secondary: #666666; } .dark { --bg-color: #121212; --bg-color-secondary: #1e1e1e; --text-color: #ffffff; --text-color-secondary: #aaaaaa; } /* Add these styles to your existing CSS file */ .audio-controls { display: flex; justify-content: center; gap: 10px; margin-top: 15px; } .audio-control-btn { background-color: rgba(98, 0, 234, 0.8); color: white; border: none; border-radius: 20px; padding: 8px 16px; font-size: 14px; cursor: pointer; transition: background-color 0.3s, transform 0.2s; } .audio-control-btn:hover { background-color: rgba(98, 0, 234, 1); transform: scale(1.05); } .audio-control-btn:active { transform: scale(0.95); } /* Make sure audio controls are visible */ audio::-webkit-media-controls-panel { background-color: rgba(25, 25, 25, 0.8); } audio::-webkit-media-controls-play-button { background-color: rgba(98, 0, 234, 0.8); border-radius: 50%; } audio::-webkit-media-controls-current-time-display, audio::-webkit-media-controls-time-remaining-display { color: white; }