html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.overall {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header,
footer {
    flex-shrink: 0;
}

.nav-links a.active {
    color: #4CAF50;
}

/* .container.content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
} */

/* .content-inner {
    text-align: center;
}

.input-container, .button-group {
    margin-bottom: 20px;
}

/* Top line */
.p-4{
    margin:5px;
}
.top-line {
    width: 100%;
    height: 6px;
    background-color: #5e9400;
}

.input-container {
    position: relative;
    width: 100%;
}

.input-container input {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    padding-right: 40px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

.paste-icon {
    position: absolute;
    right: 15px;
    top: 48%;
    padding-bottom: 5px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #5e9400;
    font-size: 35px;
}

/* Header starts here */

.header {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header-logo {
    margin-top: 10px;
}

.nav-links nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-links nav a {
    text-decoration: none;
    color: #616161;
    position: relative;
    padding: 5px 0;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-links nav a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #5e9400;
    transition: width 0.3s ease;
}

.nav-links nav a:hover::before {
    width: 100%;
}

.nav-links nav a:hover {
    color: #7cc006;
    /* Change color on hover */
}

/* f5cece */
/* dd5454 */
.header-buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-buttons button {
    background-color: #5e9400;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.header-buttons button a {
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.pencil-button {
    background-color: #5e9400;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    color: white;
    transition: background-color 0.3s ease;
    cursor: pointer;
}
.pencil-button:hover {
    background-color: #5e9400d9;

    font-size: 18px;
}
.header-buttons button:hover {
    background-color: #5e9400d9;
}

.header-buttons i {
    color: white;
    font-size: 18px;
}

.mobile-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* Sliding menu styles */
.sliding-menu {
    position: fixed;
    right: -100%; /* Start off-screen */
    top: 0;
    width: 75%; /* Adjust width as needed */
    height: 100%;
    background-color: #f8f9fa; /* Menu background color */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1; /* Sit on top */
    transition: right 0.3s ease; /* Sliding animation */
}

.sliding-menu.active {
    right: 0; /* Slide in */
}

.menu-content {
    padding: 20px;
    height: 100%; /* Ensure it takes full height */
}

nav a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
}

.button-row {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 30px; /* Space below the buttons */
}

.button-row button {
    border: none;
    background: #5e9400; /* Button background color */
    padding: 10px;
    border-radius: 5px;
}

.button-row a {
    color: #fff;
    font-size: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

/* landing page content  */

/* Content area styles */
.content {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    text-align: center;
}

.input-container {
    position: relative;
    width: 100%;
}

#mobileNumber {
    width: 100%;
    padding: 20px;
 
    margin-bottom: 10px;
    border: 2px solid #5e9400;
    /* Border color */
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  
}

#mobileNumber::-webkit-outer-spin-button,
#mobileNumber::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.paste-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #5e9400;
    font-size: 18px;
}

.error-message {
    color: red;
    display: none;
    margin-bottom: 10px;
}

.button-group {
    display: flex;
    justify-content: space-around;
}

button {
    background-color: #5e9400;
    /* Button background color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease;
}

button i {
    font-size: 18px;
}

button:hover {
    background-color: #4a7a00;
    /* Darker shade for hover */
}


/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.button-group {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.assignedCalls {
    background: linear-gradient(90deg, #7abf00, #5e9400, #456e00);
    border: none;
    color: white;
    padding: 30px 60px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
    animation: buttonPulse 2s infinite;
}

.assignedCalls:hover {
    background: linear-gradient(90deg, #5e9400, #456e00, #3b5900);
    transform: scale(1.05);
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    }
}


button {
    background-color: #5e9400;
    /* Button background color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #4a7a00;
    /* Darker shade for hover */
}

.call-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.call-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #000;
    font-size: 16px;
}

.call-container a i {
    margin-right: 10px;
    color: #5e9400;
}

.call-container button {
    background-color: #5e9400;
    /* Button background color */
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.call-container button:hover {
    background-color: #4a7a00;
    /* Darker shade for hover */
}

/* Second Modal styles */
#batteryDetailsModal,
#customerDetailsModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

#batteryDetailsModal .modal-content,
#customerDetailsModal .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center;
}

#batteryDetailsModal .close,
#customerDetailsModal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#batteryDetailsModal .close:hover,
#batteryDetailsModal .close:focus,
#customerDetailsModal .close:hover,
#customerDetailsModal .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    margin-top: 5px;
}

#batteryDetailsModal button,
#customerDetailsModal button {
    background-color: #5e9400;
    /* Button background color */
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#batteryDetailsModal button:hover,
#customerDetailsModal button:hover {
    background-color: #4a7a00;
    /* Darker shade for hover */
}




/* footer section starts here  */

footer {
    background-color: #f0f0f0;
    padding: 20px 0;
    text-align: center;
}

footer p i {
    margin-right: 5px;
    color: #5e9400;
}

footer .rights {
    text-align: left;
}

footer .footer-contact {
    display: flex;
    justify-content: space-around;
}



/* completed calls section  */

.modal-content p {
    font-size: 16px;
    margin: 10px 0;
    padding: 10px;
    background: #f1f1f1;
    background-color: #79ab24b8;
    border-radius: 5px;
}




/* Modal Styles */
.log-modal-css {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    animation: slideDown 0.4s;
}

.log-modal-content-css {
    position: fixed;
    top: 0;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s;
}

@keyframes slideDown {
    from {
        top: -300px;
        opacity: 0;
    }

    to {
        top: 0;
        opacity: 1;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.logs-content {
    max-height: 400px;
    overflow-y: auto;
}

@media (max-width: 600px) {
    .log-modal-content-css {
        width: 95%;
    }
}


.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
}

.popup-content p {
    font-size: 16px;
    margin: 10px 0;
    padding: 10px;
    background: #f1f1f1;
    background-color: #79ab24b8;
    border-radius: 5px;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.pointers{
    cursor: pointer;
}



.tele-container {
    background-color: white;
    padding: 10px 50px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width:50%;
    height: 60vh;
    overflow-y: auto;
    margin: auto;
}



.tele-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.callManager-div h1{ 
    margin-top: 20px;
    margin-bottom: 20px;
}

.callManager-div .addTeleCaller{
    margin-top: 20px;
    margin-bottom: 20px;
}


.trash{
    margin-left: 10px;
    margin-top: 15px;
}


table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    overflow-x: auto;
    display: block;
}

table thead th {
    background-color: #f2f2f2;
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

table tbody td {
    padding: 10px;
    border: 1px solid #ddd;
}

table thead th, table tbody td {
    white-space: nowrap;
}

.actions {
    display: flex;
    justify-content: space-around;
}

td .action-icons {
    display: flex;
    gap: 10px;
}


.telecallerList {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.telecallerList button {
    margin: 10px;
    padding: 10px;
   
    border: none;
    cursor: pointer;
}


.text-center{
    text-align: center;
}
@media (max-width: 600px) {

    .callManager-div{
        width: 95%;
    }
    .callManager-table{
        width: 100%;
        overflow-x: auto;
    }
    .tele-container{
        padding: 10px 10px;
    }
}
#pagination {
    display: flex;
    flex-wrap: nowrap; /* Ensure items don't wrap to the next line */
    flex-direction: row; /* Align items in a row */

    margin-top: 10px; /* Add some space above the pagination */
}

#pagination .page-item {
    margin: 0 5px; /* Add some space between pagination items */
    padding: 10px 15px; /* Add padding to pagination items */
    border: 1px solid #ccc; /* Add a border to pagination items */
    border-radius: 5px; /* Add rounded corners to pagination items */
    cursor: pointer; /* Change cursor to pointer on hover */
}
.assign_calls{
    overflow-y: auto;
    max-height: 500px;
}
.table-container {
    position: relative;
    overflow-x: auto;
    margin: 10px;
  }
/* Container for logs with gradient background and scrollable content */
.logs-content {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    justify-content: flex-start; /* Align items to the top vertically */
    height: 500px; /* Fixed height for container */
    overflow-y: auto; /* Scrollable content if exceeds height */
    background: linear-gradient(135deg, #1e90ff, #ff6347); /* Gradient background */
    padding: 20px; /* Padding around the container */
    box-sizing: border-box; /* Include padding in total width/height */
}

/* Style for each log item */
.log-item {
    display: flex;
    flex-direction: column; /* Stack child elements vertically */
    background-color: #ffffff; /* White background for items */
    color: #333333; /* Dark text color */
    border-radius: 8px; /* Rounded corners */
    padding: 15px; /* Padding inside the log item */
    margin: 10px 0; /* Vertical margin between items */
    width: 100%; /* Full width of the container */
    max-width: 600px; /* Max width for readability */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    box-sizing: border-box; /* Include padding in total width */
}

/* Style for individual log elements */
.log-time,
.log-event,
.log-actor {
    margin-bottom: 8px; /* Space between each element */
}

/* Optional: Specific styles for each log element */
.log-time {
    font-weight: bold; /* Bold text for time */
    color: #555555; /* Slightly lighter color */
}

.log-event {
    font-size: 1.2em; /* Larger text for the event */
    color: #000000; /* Black text color for better visibility */
}

.log-actor {
    font-style: italic; /* Italic text for actor */
    color: #666666; /* Lighter color for the actor */
}

@media print {
    /* Ensure the table takes up the full page width */
    table.dataTable {
        width: 100% !important;
        page-break-inside: auto;
    }

    /* Page break rules to handle long tables */
    table.dataTable thead {
        display: table-header-group;
    }

    table.dataTable tbody {
        display: table-row-group;
    }

    table.dataTable tfoot {
        display: table-footer-group;
    }

    /* Adjust table layout to fit on pages */
    table.dataTable td, table.dataTable th {
        word-wrap: break-word;
        overflow: hidden;
    }
    
    /* Adjust font size for better fit */
    body {
        font-size: 10pt;
    }
}

.callhubbuttons i{
 margin-right:3px;
}
