/*html, body {*/
/*    font-size: 16px;*/
/*    zoom: 1;*/
/*    transform: none;*/
/*    max-width: 100%;*/
/*    overflow-x: hidden;*/
/*}*/




/* Optional: improve sidebar appearance */
/*.sidebar {*/
/*    height: 100vh;*/
/*    background-color: #343a40;*/
/*    padding-top: 20px;*/
/*}*/
/*.sidebar .nav-link {*/
/*    color: #ffffff;*/
/*}*/
/*.sidebar .nav-link:hover {*/
/*    background-color: #495057;*/
/*    color: #ffffff;*/
/*}*/




/*.nav-link.active {*/
/*    background-color: #ffffff !important;*/
/*    color: #000000 !important;*/
    /*font-weight: bold;*/
/*    border-radius: 4px;*/
/*}*/

/*.nav-link:hover {*/
/*    background-color: #e9ecef;*/
/*    color: #000000;*/
/*}*/
/*.nav-link.active {*/
/*    background-color: #fff;*/
/*    color: #000;*/
/*}*/



/*.card {*/
/*    border-radius: 12px;*/
/*}*/


/* Reset and base styles */
html, body {
    font-size: 16px;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

/* Container and sidebar */
.container-fluid {
    padding: 0;
}

.sidebar {
    height: 100vh;
    background-color: #343a40;
    padding-top: 20px;
}

.sidebar .nav-link {
    color: #ffffff;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #495057;
    color: #ffffff;
}

/* Main content area */
main {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    overflow-x: auto;
}

#agent-resp{
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; 
}
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Table Styling */
#leadsTable {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 0.95rem;
    background-color: #ffffff;
}

#leadsTable th, 
#leadsTable td {
    white-space: nowrap;
    text-align: left;
    padding: 10px 12px;
    vertical-align: middle;
}

#leadsTable th {
    background-color: #f1f3f5;
    color: #333;
    font-weight: 600;
}

#leadsTable td {
    border-bottom: 1px solid #dee2e6;
}

#leadsTable .btn {
    font-size: 0.8rem;
    padding: 4px 8px;
    line-height: 1.2;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}

/* Responsive table fixes */
@media screen and (max-width: 768px) {
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_length {
        float: none;
        text-align: left;
    }

    #leadsTable_wrapper {
        overflow-x: auto;
    }

    #leadsTable {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    #leadsTable th,
    #leadsTable td {
        white-space: nowrap;
    }
}

/* Modal content padding */
.modal-body label {
    font-weight: 500;
}

.modal-content {
    border-radius: 10px;
}

/* Status buttons */
.bg-success,
.bg-danger,
.bg-warning,
.bg-info,
.btn-primary {
    color: white !important;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    display: inline-block;
}

/* Fix modal responsiveness */
.modal-dialog {
    max-width: 800px;
    width: 95%;
}

/* Optional card enhancements */
.card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Button spacing */
.btn i {
    margin-right: 5px;
}


/*//sidebar btn for movile*/
/* Sidebar styling for mobile */
#sidebar.active {
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 250px;
        transform: translateX(-100%);
        z-index: 1050;
        background: #343a40;
        color: #fff;
    }
}

/* Hamburger button styling */
#sidebarToggle {
    background-color: #343a40;
    border: none;
}

#sidebarToggle i {
    color: #fff;
}
