#filters {
    text-align: left;
}

#filters select {
    padding: 4px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--font);
    color: var(--color-teal);
    height: 2rem;
    width: 5.5rem;
} 

/* Hover effect for pagination buttons */
.dataTables_paginate .paginate_button {
    border-radius: 4px;
    margin: 0 4px;
    background-color: #F5F5F5;
    font-size: 12px;
    border-bottom: 2px solid #EEEEEE;
}

.dataTables_paginate .paginate_button:hover {
    background-color: var(--color-green) !important;
    color: white !important;
    border-color: var(--color-green) !important;
    background-image: none !important; 
}

.dataTables_paginate .paginate_button.current {
    background-color: var(--color-green) !important;
    color: white !important;
    border-color: var(--color-green) !important;
    background-image: none !important;
    box-shadow: none !important; 
}

th {
    border: none !important;
}

table {
    border: none !important;
}

td {
    text-align: left;
    white-space: nowrap;
    width: 150px;
    color: var(--color-green);
    border-bottom: 2px solid var(--color-cadetblue);
    line-height: 40px;
}

.updatebutton, .deletebutton {
    width: 100%;
    min-width: 60px; 
    max-width: 5.5rem; 
}

.updatebutton {
    width: 5.5rem;
    height: 2rem;
    border-radius: 4px;
    background-color: rgba(128, 173, 160, 0.8);
    border: 1px solid var(--color-green);
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
}

.deletebutton {
    width: 5.5rem;
    height: 2rem;
    border-radius: 4px;
    background-color: #ffc5c5;
    border: 1px solid #df0404;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #df0404;
}

.islamicFrame {
    min-width: 40px !important;
    min-height: 40px !important;
    max-width:  40px !important;
    max-height: 40px !important;
}

.panel {
    width: 80%;
    height: 70%;
    background-color: var(--color-white);
    border-radius: 30px;
    position: absolute;
    top: 55%;
    left: 50%;
    display: flex;
    flex-direction: column; 
    padding-top: 50px;  
    align-items: center; 
    gap: 1rem;
    transform: translate(-50%, -50%);
    overflow-y: auto; 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive styles for screens smaller than 580px */
@media screen and (max-width: 900px) {
    table {
        font-size: 10px;
    }

    td, th {
        padding: 1px;
        white-space: nowrap;
        width: 30px !important; 
    }

    .updatebutton, .deletebutton {
        font-size: 12px;
        width: 20px !important;
    }

    #filters {
        padding-left: 15px;
    }
    
    #filters select{
        font-size: 10px;
    }

    .image-with-number span {
        font-size: 10px;
    }
}

