@font-face {
    font-family: 'DroidArabicKufiRegular';
    src: url("../../fonts/DroidArabicKufiRegular.ttf");
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: 'DroidArabicKufiRegular';
}

#logo {
    height: 48px;
  }

#brand a{
    float: right;
}

#dashboard {
    direction: rtl;
    text-align: right;
}

#ai-types{
    background-color: #e8ebee;
    padding: 5px;
    border-radius: 5px;
}


footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;/* Adjust bottom padding for spacing */
    text-align: center;
}

select {
    padding: 5px;
    font-size: 16px;
    width: 100%;
}

button {
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    width: 15%;
}

.translation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 5px;
    box-sizing: border-box;
}

.input-area, .translation-area {
    width: 50%;
    padding: 0 5px;
}


.input-area textarea{
    width: 100%;
    height: 250px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    
}

.translation-area textarea {
    background-color: #e8ebee;
    direction: ltr;    
    width: 100%;
    height: 250px;/* Adjust bottom padding for spacing */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;    
}

.select2-container .select2-selection--single {
    height: 40px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;

}

.select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 40px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 1px;
}

.select2-results__option {
    padding: 8px;
}

.select2-results__options {
    min-height: 400px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .translation-container {
        flex-direction: column;
    }

    .input-area, .translation-area {
        width: 100%;
    }
 
    textarea {
        height: 150px;
    }

    button {
        padding: 10px 20px;
        font-size: 18px;
        cursor: pointer;
        width: 20%;
    }
}

#login-btn, #logout-btn{
    font-size: 12px;
    font-weight: 500;
}

#navbarIcon {
    display: none;
}

@media screen and (max-width: 768px) {

    .login-form{
        width: 100%;
    }

    #content {
        margin-right: 0px;
        padding: 4px;
    }

    #content.active {
        margin-right: 0px;
    }

    #navbarIcon {
        display: block;
    }

    #user-info {
        display: none;
    }

    #sidebar {
        transform: translateX(100%);
    }

    #sidebar.active {
        transform: translateX(0%);
    }
}