.box {
    padding: 20px;
    text-align: center;
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}
.box:hover {
    transform: translateY(-5px);
}
.mclose 
{
    background-color: white;
}
/* Add custom spacing on mobile devices */
@media (max-width: 768px) {
    .box {
        margin-bottom: 30px; /* Add space between boxes on mobile */
    }
} 
@media screen and (min-width: 280px) and (max-width: 480px) {
    .mres {
        width: 100%;
    }  
    .m-table {
        width: 100%; 
        padding-right:30px;
    }
    .m-head {
        width: 100%;
    }
} 
.table-responsive {
    overflow-x: auto;
}

/* Optional: Add some padding and adjust font sizes for better readability on smaller screens */
@media (max-width: 480px) {
    .m-table th, .m-table td {
        font-size: 10px;
        padding: 10px;
    }   

    .m-table-top 
    {
        font-size: 12px;
        padding: 10px;
    }  
    .m-close 
    {
        color:white;
    }
  
  
} 
@media screen and (max-width: 768px) { 
    .custom-btn,
    .table-responsive,
    .hai {
        width: 100%;
    } 
    .card 
    {
        width:100%;
    }
} 
@media screen and (max-width: 323px) { 
    .custom-btn,
    .table-responsive,
    .hai {
        width: 120%;
    } 
    .card,.card-body
    {
        width:90%; 
    } 
    .table 
    {
        width: 85%;

    }
    .custom-full-width-btn {
        width: 100%;
        float: none; /* Remove float for full width */
    }
}



.btn-close {
    filter: invert(1); /* This will invert the color of the icon to white */
}

.btn-close:focus, .btn-close:hover {
    color: #fff; /* White color for hover and focus states */
    background-color: transparent; /* Remove background color */
    box-shadow: none; /* Remove the shadow on focus */
}
 

.btn-dark {
    background-color: #343a40; /* Dark background */
    border-color: #343a40; /* Dark border */
}


