
/* Base styles */
body {
    font-size: 1rem;
}

.frm1:invalid #submitbtn {
    pointer-events: none !important;
    cursor: not-allowed;
    color: white;
    background: #53a6b3;
}

.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #3c8dbc;
    color: #fff;
}

.help-block {
    color: #fc4242 !important;
}

.content-wrapper>.content {
    padding: 20px 0.5rem !important;
}

.dt-button {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
    box-shadow: none;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s;
}

.btn {
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.0 !important;
}

.nav-sidebar>.nav-item .nav-icon.fa,
.nav-sidebar>.nav-item .nav-icon.fab,
.nav-sidebar>.nav-item .nav-icon.far,
.nav-sidebar>.nav-item .nav-icon.fas,
.nav-sidebar>.nav-item .nav-icon.glyphicon,
.nav-sidebar>.nav-item .nav-icon.ion {
    font-size: 1rem;
}

/* Mobile styles (max-width: 767px) */
@media (max-width: 767px) {
    .content-wrapper>.content {
        padding: 10px !important;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
    .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
        background-color: #5a9bd5;
    }

    .circle-avatar {
        width: 50px;
        height: 50px;
    }
}

/* Zebra striping for table rows */
.table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table tbody tr:nth-child(even) {
    background-color: #fff;
}

/* Freezing the # and name columns */
.table {
    border-collapse: collapse;
    width: 100%;
}

.table thead th,
.table tbody td {
    padding: 8px;
    text-align: left;
}

/* Frozen columns */
.table thead th:nth-child(1),
.table tbody td:nth-child(1) {
    position: sticky;
    left: 0;
    background-color: #f9f9f9; /* Match zebra striping */
    z-index: 2; /* Ensure the # column stays on top */
    border-right: 1px solid #ddd; /* Optional: add a border for better visual separation */
}

.table thead th:nth-child(2),
.table tbody td:nth-child(2) {
    position: sticky;
    left: 50px; /* Adjust based on the width of the # column */
    background-color: #f9f9f9; /* Match zebra striping */
    z-index: 3; /* Ensure the name column stays on top of the # column */
    border-right: 1px solid #ddd; /* Optional: add a border for better visual separation */

}
.col-sm-4 {
    width: 100%; /* Make the column full width on mobile */
    padding-top: 5px;
    float: none; /* Remove the float for better layout */
    text-align: center;
}



.col-sm-8 {
    
    width: 100%; /* Make the column full width on mobile */
    padding-top: 5px;
    float: none; /* Remove the float for better layout */
    
    
}
/* Tablet styles (min-width: 768px and max-width: 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .content-wrapper>.content {
        padding: 15px !important;
    }

    .btn {
        font-size: 0.9375rem;
        padding: 0.5rem 1.25rem;
    }

    .sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
    .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
        background-color: #4a89dc;
    }

    .circle-avatar {
        width: 75px;
        height: 75px;
    }
}
