.custom-col {
    flex: 0 0 20%;
    max-width: 20%;
}

.tb-maktab-img {
    height: 45px;
    padding: 2px;
}

.st-maktab-img {
    height: 25px;
    width: 25px;
}

@media (max-width: 767.98px) {
    .custom-col {
        flex: 0 0 50%; /* 2 columns on small screens */
        max-width: 50%;
    }
}

.custom-col-7 {
    flex: 0 0 14.2857%; /* 100% ÷ 7 = 14.2857% */
    max-width: 14.2857%;
}

@media (max-width: 767.98px) {
    .custom-col-7 {
        flex: 0 0 50%; /* Adjust for small screens (optional) */
        max-width: 50%;
    }
}

.custom-col-4 {
    flex: 0 0 25%; /* 100% ÷ 4 = 25% */
    max-width: 25%;
}

@media (max-width: 767.98px) {
    .custom-col-4 {
        flex: 0 0 50%; /* Adjust for small screens (optional) */
        max-width: 50%;
    }
}

/*---Dropdown----*/
.custom-select {
    appearance: none; /* Remove default styles (Chrome/Safari) */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
    width: 100%;
    color: #4B465C;
    padding: 10px 30px 10px 10px;
    font-size: 15px;
    background: none;
    border: none;
    background-image: url('../../assets/img/icons/icon-arrow-down.svg'); /* Custom dropdown arrow */
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.select-wrapper {
    height: 37px;
    position: relative;
    display: flex;
    /*text-align: center;*/
    justify-items: center;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #DBDADE;
    border-radius: 5px;
}

.custom-select-container {
    width: 100%;
    position: relative;
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    margin-top: 5px;
    display: none;
    z-index: 999;
}

.custom-options div {
    padding: 7px;
    cursor: pointer;
    /*border-bottom: 1px solid #eee;*/
    transition: background 0.3s;
    margin: 5px;
    font-size: 15px;
    border-radius: 8px;
}

.custom-options div:hover {
    background-color: #f0f0f0;
    color: #AA3050;
    border-radius: 8px;
    margin: 5px;

}

.custom-options .item.active {
    background-color: #AA3050;
    color: white;
    border-radius: 8px;
    margin: 5px;
}

.table-divider-line {
    height: 1px;
    background: #ccc;
    border: none;
    margin: 10px -12px 10px -12px;
}

.table:not(.table-dark) thead:not(.table-dark) th {
    color: #5d596c;
    font-size: 12px;
}

.text-muted {
    --bs-text-opacity: 1;
    color: #a5a3ae !important;
    font-size: 12px;
}

.custom-options div:last-child {
    border-bottom: none;
}

.custom-select.open + .custom-options {
    display: block;
}

/*---Dropdown----*/

/*tables*/
.dtable th {
    font-size: 14px;
}


.circular-image-wrapper {
    width: 70px;
    height: 70px;
    background-color: #DDACB94D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.circular-image-wrapper img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* Remove border from Select2 container */
.select2-container--default .select2-selection--multiple {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent;
}


/*#preloader {*/
    /*position: fixed;*/
    /*top: 0;*/
    /*left: 0;*/
    /*width: 100vw;*/
    /*height: 100vh;*/
    /*background-color: #ffffff; !* Optional: white background *!*/
    /*z-index: 9999;*/
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
/*}*/
#preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50; /* enough to appear above content */
}

.content-wrapper {
    position: relative; /* ensure it's positioned for absolute child */
}

