@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;
}

#download, #instructions{
    direction: rtl;
    text-align: right;
    padding: 20px;
    border-radius: 20px;
}

#langs{
    width: 84%;
}

#standardHeader{
    background-color: #058be4 !important;
    color: #fff;
}

#book-info{
    direction: rtl;
    text-align: right;
    display: none; /* Initially hide the div */
}


th{
    background-color: #2c597e !important;
    color: #fff !important;
}

.table td{
    border: none;
    min-height: 80px;
}

.modal-dialog{
    max-width: 60%;
}

.modal-body{
    direction: rtl;
    text-align: right;
}

#msg{
    direction: rtl;
    text-align: right;
    color: red;
    height: 40px;
}


#options{
    width: 100%;
    gap: 5px;
}

#options *{
    font-size: 16px;
    font-weight: bold;
}

select *{
    font-size: 16px;
    font-weight: bold;
}

.btn{
    font-size: 16px;
    font-weight: bold;
}

.btn-dark-blue{
    background-color:#2a579a;
    color: white;
    font-size: 16px;
}

.btn-dark-blue:hover{
    color: #e5dede;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
}

input[type=file] {
  width: 350px;
  max-width: 100%;
  color: #444;
  padding: 5px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #555;
}

input[type=file]::file-selector-button {
    margin-right: 20px;
    border: none;
    background: #084cdf;
    padding: 5px 10px;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    transition: background .2s ease-in-out;
}

input[type=file]::file-selector-button:hover {
      background: #0c53cc;
}

#congrat {
    position: absolute;
    top: 0;
    left: 0;
    width: 512px;
    height: 512px;
    opacity: 0;
    z-index: -1;
}


.select2-container .select2-selection--single {
    height: 40px;
    min-width: 200px;
}

.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: 500px;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
}

#FormatCollapse{
    border-radius: 5px;
    border: 1px solid #cbc8c8;
    padding: 10px;
}

#FormatDiv{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background: #efeeee;
}



.multiselect-container{
    float: right;
}


.multiselect-container>button>span>label {
    padding-right: 30px;
    font-size: 16px;
    
}

.multiselect-container>button>span{
    float: right;
    text-align: right;
}

#ResetFormBtn{
    font-size: 12px;
}

#stats-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
    padding: 1rem;
    justify-content: center;
}

#stat-card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    padding: 8px;
    border-radius: 5px;
}
  
  /* On mouse-over, add a deeper shadow */
#stat-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}


#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%);
    }
    
    #stats-grid{
        grid-template-columns: 1fr;
        justify-items: center;
    }

    #stat-card {
        width: 100%;
    }
}