.stt-container {
    max-width: 700px;
    margin: 20px auto;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.stt-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.stt-description {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.5;
}

.stt-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stt-mic-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFC904;
    color: black;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stt-mic-button:hover {
    background-color: #CCA104;
}

.stt-mic-button.recording {
    background-color: #ff4d4d;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.stt-mic-icon {
    width: 24px;
    height: 24px;
}

.stt-language-select {
    padding: 8px;
    border: 1px solid #FFC904;
    border-radius: 4px;
    background-color: white;
}

.stt-status {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.stt-result {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #eee;
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    line-height: 1.5;
}

.stt-result p {
    margin: 0;
}

.stt-result .interim {
    color: #999;
}

.stt-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.stt-button {
    padding: 8px 16px;
    background-color: #FFC904;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.stt-button:hover {
    background-color: #CCA104;
}

.stt-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stt-container {
        padding: 15px;
    }
    
    .stt-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}
