/* Estilos del Plugin TTS Pro */
.tts-wrapper {
    max-width: 800px;
    margin: 20px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e1e4e8;
    font-family: sans-serif;
}

.tts-title {
    text-align: center;
    color: #4A90E2;
    margin-bottom: 30px;
}

.tts-controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.tts-control-group {
    display: flex;
    flex-direction: column;
}

.tts-control-group.full-width {
    grid-column: 1 / -1;
}

.tts-control-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.tts-select, .tts-control-group input[type="range"] {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    width: 100%;
}

.tts-textarea {
    width: 100%;
    height: 150px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
}

.tts-help-text {
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    background: #f0f4f8;
    padding: 10px;
    border-radius: 6px;
}

.tts-btn-generate {
    width: 100%;
    padding: 15px;
    background-color: #4A90E2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.tts-btn-generate:hover {
    background-color: #357abd;
}

.tts-btn-generate:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.tts-history-section {
    margin-top: 40px;
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.tts-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #eee;
}

.tts-history-meta {
    font-size: 0.8em;
    color: #888;
}

.tts-btn-download {
    background: #27ae60;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9em;
    border: none;
    cursor: pointer;
}

.tts-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8em;
    color: #888;
}

@media (max-width: 600px) {
    .tts-controls-grid {
        grid-template-columns: 1fr;
    }
}