/**
 * PiraNOT TTS Widget - Design Profissional Premium
 * Alinhado, clean, estratégia de marketing
 */

/* Widget - Container clean */
.piranot-tts-widget {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #0066cc;
    border-radius: 0;
    padding: 16px 20px;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    max-width: 100%;
    box-sizing: border-box;
}

/* Header - Alinhado à esquerda */
.piranot-tts-widget__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

/* Ícone - Simples e profissional */
.piranot-tts-widget__icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
}

/* Títulos - Alinhados à esquerda */
.piranot-tts-widget__title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.piranot-tts-widget__title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
    margin: 0;
}

.piranot-tts-widget__subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    line-height: 1.3;
}

/* Botão - Profissional */
.piranot-tts-widget__button-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.piranot-tts-widget__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.piranot-tts-widget__button:hover {
    background: linear-gradient(135deg, #0052a3 0%, #004080 100%);
    transform: translateY(-1px);
}

.piranot-tts-widget__button--playing {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
}

/* Duração - Simples */
.piranot-tts-widget__duration {
    font-size: 12px;
    color: #888888;
    font-family: monospace;
}

/* Barra de progresso */
.piranot-tts-widget__progress {
    margin-top: 12px;
    display: none;
}

.piranot-tts-widget__progress-bar {
    height: 3px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
}

.piranot-tts-widget__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #0088ff);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.piranot-tts-widget__time {
    font-size: 11px;
    color: #888888;
    margin-top: 6px;
    text-align: right;
    font-family: monospace;
}

/* Áudio escondido */
.piranot-tts-widget__audio {
    display: none;
}

/* Proteção contra anúncios */
.piranot-tts-widget iframe,
.piranot-tts-widget ins,
.piranot-tts-widget .adsbygoogle {
    display: none !important;
}