/* Amharic Voice Post: Core Styling */

.amharic-input-container {
    font-family: 'Noto Sans Ethiopic', sans-serif;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #fafafa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.amharic-input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.amharic-input-header h3 {
    font-size: 20px;
    margin: 0;
    color: #444;
}

.amharic-status {
    font-size: 14px;
    color: #666;
}

.amharic-controls,
.amharic-export-controls {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.amharic-btn {
    background-color: #3e60d5;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.amharic-btn:hover {
    background-color: #2b47b2;
}

.amharic-language-selector {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lang-option {
    background: #eee;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #444;
}

.lang-option.active {
    background: #3e60d5;
    color: white;
}

.amharic-input-area textarea,
#voice_text {
    width: 100%;
    min-height: 180px;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    resize: vertical;
    background: #fff;
    font-family: 'Noto Sans Ethiopic', sans-serif;
}

.amharic-virtual-keyboard {
    margin-top: 15px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amharic-virtual-keyboard button {
    background: #eee;
    border: none;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

#results {
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 100px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
}

.final {
    color: black;
    padding-right: 3px;
}

.interim {
    color: gray;
}

#linked_preview {
    border: 1px dashed #999;
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    background-color: #fcfcfc;
    font-size: 15px;
    line-height: 1.5;
}

/* Post Success Message */
.success-message {
    background: #e0f7df;
    color: #2e7d32;
    padding: 10px 12px;
    border: 1px solid #a5d6a7;
    border-radius: 8px;
    margin-top: 10px;
}
