* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background-color: #000000;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(255,255,255,0.1);
}

.welcome-text {
    margin-bottom: 30px;
    color: #888;
    font-size: 16px;
    line-height: 1.5;
}

.audio-controls, .language-selection {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    color: white;
    width: 100%;
    max-width: 300px;
}

.record-btn, .upload-btn {
    background-color: #1A1A1A;
    border: 1px solid #333;
}

.language-selection {
    display: none;
}

.language-prompt {
    color: #888;
    margin-bottom: 15px;
}

.language-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
}

.language-dropdown {
    background-color: #1A1A1A;
    color: white;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 50%;
}

.transcribe-btn {
    background-color: #1A1A1A;
    border: 1px solid #333;
    margin-top: 15px;
}

.transcribing-status {
    margin-bottom: 20px;
    color: #888;
    min-height: 20px;
    font-style: italic;
}

.text-container {
    display: none;
    flex-direction: column;
    gap: 15px;
}

textarea {
    width: 100%;
    height: 200px;
    background-color: #1A1A1A;
    color: white;
    border: 1px solid #333;
    border-radius: 5px;
    padding: 15px;
    resize: none;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.copy-btn, .transcribe-again-btn {
    background-color: #1A1A1A;
    border: 1px solid #333;
    align-self: center;
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .audio-controls {
        gap: 10px;
    }

    .btn, .language-options, .language-dropdown {
        width: 100%;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }
}