.openai-tts-player {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.tts-generate-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tts-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tts-generate-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.tts-loading {
    color: white;
    font-size: 14px;
    margin-top: 10px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.tts-audio-element {
    width: 100%;
    max-width: 500px;
    outline: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.tts-audio-element::-webkit-media-controls-panel {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
}