.tts-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.tts-header {
    text-align: center;
    margin-bottom: 30px;
}

.tts-header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
}

.tts-header p {
    color: #666;
    font-size: 1.1em;
}

.tts-controls {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tts-controls select,
.tts-controls input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.tts-controls label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.tts-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.tts-buttons button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.tts-buttons button:first-child {
    background-color: #007bff;
    color: white;
}

.tts-buttons button:last-child {
    background-color: #6c757d;
    color: white;
}

.tts-buttons button:hover {
    opacity: 0.9;
}

.tts-buttons button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.tts-status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.tts-status.error {
    background-color: #f8d7da;
    color: #721c24;
}

.tts-status.success {
    background-color: #d4edda;
    color: #155724;
}

.tts-audio {
    width: 100%;
    margin-top: 20px;
}

.tts-features {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.tts-features h2 {
    color: #333;
    margin-bottom: 15px;
}

.tts-features ul {
    list-style: none;
    padding: 0;
}

.tts-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tts-features li:before {
    content: "✓";
    color: #28a745;
    position: absolute;
    left: 0;
}

@media (max-width: 600px) {
    .tts-container {
        padding: 10px;
    }
    
    .tts-header h1 {
        font-size: 2em;
    }
    
    .tts-buttons {
        flex-direction: column;
    }
} 