/* Basic styling for the converter wrapper */
.bengali-converter-wrapper {
    font-family: Arial, sans-serif;
    max-width: 980px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background-color: #fff;
    border-radius: 8px;
}



/* Styling for the Unicode input textarea */
#unicode-input {
    font-family: 'SolaimanLipi', 'Tiro Bangla', sans-serif; /* Example Bengali Unicode fonts */
}

/* Styling for the Bijoy output textarea */
#bijoy-output {
    font-family: 'SutonnyMJ', 'Kalpurush', 'Tiro Bangla', monospace;  font-size: 29px; /* Add Bijoy fonts here */
    /* Ensure these fonts are installed on the user's system for proper display */
}

.converter-textarea {
    width: calc(100% - 30px);
    height: 150px;
    padding: 15px;
    border: none;
    box-sizing: border-box;
    font-size: 24px;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    /* font-family property for individual textareas are defined above */
}










/* Styling for each input/output box */
.converter-box {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden; /* Ensures border radius applies to children */
}

.converter-header {
    background-color: #e6ffe6; /* Light green background */
    padding: 10px 15px;
    border-bottom: 1px solid #cceccc;
    font-family: 'Hind Siliguri';
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.converter-header p {
    margin: 0;
    font-size: 16px;
}


/* Actions (copy/clear buttons) */
.converter-actions {
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.converter-actions button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s ease-in-out;
}

.converter-actions button.copy-button {
    background-color: #6c757d; /* Grey for copy */
}

.converter-actions button.clear-button {
    background-color: #dc3545; /* Red for delete */
}

.converter-actions button:hover {
    opacity: 0.9;
}

.converter-actions button svg {
    vertical-align: middle;
}


/* Middle conversion buttons */
.converter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.convert-btn {
    background-color: #28a745; /* Green for convert buttons */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease-in-out;
}

.convert-btn:hover {
    background-color: #218838;
}

.convert-btn svg {
    vertical-align: middle;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .bengali-converter-wrapper {
        padding: 15px;
        margin: 10px;
        font-family: 'Tiro Bangla';
    }
    .converter-textarea {
        height: 120px;
        font-size: 16px;
    }
    .converter-buttons {
        flex-direction: column;
    }
    .convert-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}