.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of other elements */
}
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.switcher-active-item{
    display: none;
}
.modal-body{
    height: 500px;
    overflow: scroll;
}
.custom-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}
.custom-row {
    display: table-row;
}
.cell, .header {
    display: table-cell;
    padding: 8px;
    border: 1px solid black;
}
.header {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: left;
}
.cell {
    text-align: left;
}
.user-permission{
    height: 200px;
    overflow: scroll;
}
.employee-body{
    background-image: url("../images/employee-bg-image.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    -moz-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
.hr-policy-section{
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 20px;
}
.navbar-toggler{
    background: #ffffff !important;
}

footer {
    background-color: #f1f1f1;
    padding: 10px;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Small mobile devices (e.g., phones in portrait mode) */
@media only screen and (max-width: 480px) {
    /* Styles for small mobile devices */
    .custom-main{
        padding: 0 10px;
    }
    .hr-policy-content{
        font-size: 18px;
    }
}

/* Larger mobile devices (e.g., phones in landscape mode) */
@media only screen and (max-width: 768px) and (min-width: 481px) {
    /* Styles for larger mobile devices */
}
