.card-footer {
    padding: 15px;
    display: flex;
}
.card-footer .btn {
    flex: 1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.card-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.card-footer .btn-danger {
    background-color: #6f0e0e;
    border-color: #7b0d0d;
}
.card-footer .btn-primary {
    background-color: #4ecdc4;
    border-color: #4ecdc4;
}



body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}
.card-header{
    display: flex;
    justify-content: space-between;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.header h1 {
    margin: 0;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-dark {
    background-color: #333;
    color: #fff;
    margin-right: 10px;
}

/* You can remove or comment out these styles if they're not used elsewhere */
/*
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
*/
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    padding: 25px;
    margin-bottom: 30px;
}

.card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    transition: box-shadow 0.3s ease;
}

.card h2 {
    margin-top: 0;
    font-size: 1.2em;
}

.card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin: 10px 0;
}

.green {
    color: #4CAF50;
}

.red {
    color: #F44336;
}

.call-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.summary-card {
    flex: 1;
    min-width: 0;
    /* Allow shrinking below content size */
    padding: 15px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.summary-card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.summary-card div:last-child {
    font-size: 1.2em;
    color: #666;
}

/* Media queries for consistent layout on all devices */
@media (max-width: 768px) {
    .container {
        padding: 10px;
}

.header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-title {
        font-size: 1.2em;
        max-width: 60%;
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 10px;
    }

    .summary-card .number {
        font-size: 2.6rem;
        font-weight: bold;
    }

    .summary-card div:last-child {
        font-size: 0.8em;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        max-width: 50%;
    }

    .summary-row {
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 8px;
    }

    .summary-card .number {
        font-size: 2.4rem;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 6px;
    }
}

/* Adjust the floating image for better mobile visibility */
.floating-image {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
}

.blue {
    color: #2196F3;
}

.status-interested {
    background-color: #063f0c;
    color: #ffffff;
}

.status-uninterested {
    background-color: #FFEBEE;
    color: #F44336;
}

.orange {
    color: #FF9800;
}

.status-answered {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.status-not-answered {
    background-color: #FFEBEE;
    color: #F44336;
}

.status-call-back {
    background-color: #FFF3E0;
    color: #FF9800;
}


@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
    display: flex;
    justify-content: space-between;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .call-summary {
        flex-wrap: nowrap;
        /* Ensure no wrapping on mobile */
    }

    .call-summary>div {
        flex: 1;
        margin-bottom: 0;
        min-width: 0;
    }

    .call-summary .number {
        font-size: 1.5em;
        /* Further reduce font size on mobile */
    }

    .call-summary div div:last-child {
        font-size: 1em;
        /* Reduce label font size */
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }

    .summary-row {
    flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 7.5px);
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }

    .card .number {
        font-size: 2em;
    }

    th,
    td {
        padding: 6px;
    }

    .status {
        font-size: 0.8em;
    }

    .call-summary .number {
        font-size: 1.2em;
        /* Even smaller font size for very small screens */
    }

    .call-summary div div:last-child {
        font-size: 1rem;
        /* Further reduce label font size */
    }

    .summary-card {
        flex-basis: 100%;
    }

    .summary-card .number {
        font-size: 1.2em;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }
}

.dashboard-title {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    /* Adjust this value as needed */
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        align-items: center;
    }

    .dashboard-title {
        font-size: 1.2em;
        /* Reduce font size on smaller screens */
        max-width: 60%;
        /* Adjust as needed */
}

.header-buttons {
        margin-top: 0;
        width: auto;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        /* Further reduce font size on very small screens */
        max-width: 50%;
        /* Adjust as needed */
    }
}

.floating-image {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    /* Add this line to show it's clickable */
    transition: transform 0.2s ease;
    /* Add this line for a smooth hover effect */
}

.floating-image:hover {
    transform: scale(1.1);
    /* Add this block for a hover effect */
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    margin-top: 15px;
    width: 20%;
    padding: 12px 0;
    font-size: 16px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 10px;
}

.btn-danger:hover {
    background-color: #c82333;
}

.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: 400px;
    border-radius: 5px;
    text-align: center;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    margin: 0 10px;
}

.current-date {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Add these styles for the table */
.table-responsive {
    overflow-x: auto;
}

.call-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.call-details-table th,
.call-details-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.call-details-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Improve mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
    display: flex;
        justify-content: space-between;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
    flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        margin-bottom: 10px;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.2em;
    }

    .summary-card {
        flex-basis: 100%;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.25rem;
    }
}

/* Adjust the floating image for better mobile visibility */
.floating-image {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
}

/* Default styles for larger screens */


@media (max-width: 768px) {
    .summary-row.secondrow {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .summary-card.answredcalls,
    .summary-card.unanswredcalls {
        flex-basis: calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 0;
        margin-bottom: 10px;
    }

    .summary-card.answredcalls .number,
    .summary-card.unanswredcalls .number {
        font-size: 1.7rem;
    }

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.header h1 {
    margin: 0;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-dark {
    background-color: #333;
    color: #fff;
    margin-right: 10px;
}

/* You can remove or comment out these styles if they're not used elsewhere */
/*
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
*/
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    padding: 25px;
    margin-bottom: 30px;
}

.card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    transition: box-shadow 0.3s ease;
}

.card h2 {
    margin-top: 0;
    font-size: 1.2em;
}

.card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin: 10px 0;
}

.green {
    color: #4CAF50;
}

.red {
    color: #F44336;
}

.call-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.summary-card {
    flex: 1;
    min-width: 0;
    /* Allow shrinking below content size */
    padding: 15px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.summary-card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.summary-card div:last-child {
    font-size: 1.2em;
    color: #666;
}

/* Media queries for consistent layout on all devices */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-title {
        font-size: 1.2em;
        max-width: 60%;
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 10px;
    }

    .summary-card .number {
        font-size: 2.6rem;
        font-weight: bold;
    }

    .summary-card div:last-child {
        font-size: 0.8em;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        max-width: 50%;
    }

    .summary-row {
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 8px;
    }

    .summary-card .number {
        font-size: 2.4rem;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 6px;
    }
}

/* Adjust the floating image for better mobile visibility */
.floating-image {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
}

.blue {
    color: #2196F3;
}


.status-uninterested {
    background-color: #FFEBEE;
    color: #F44336;
}

.orange {
    color: #FF9800;
}

.status-answered {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.status-not-answered {
    background-color: #FFEBEE;
    color: #F44336;
}

.status-call-back {
    background-color: #FFF3E0;
    color: #FF9800;
}



@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .call-summary {
        flex-wrap: nowrap;
        /* Ensure no wrapping on mobile */
    }

    .call-summary>div {
        flex: 1;
        margin-bottom: 0;
        min-width: 0;
    }

    .call-summary .number {
        font-size: 1.5em;
        /* Further reduce font size on mobile */
    }

    .call-summary div div:last-child {
        font-size: 1em;
        /* Reduce label font size */
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }

    .summary-row {
        flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 7.5px);
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }

    .card .number {
        font-size: 2em;
    }

    th,
    td {
        padding: 6px;
    }

    .status {
        font-size: 0.8em;
    }

    .call-summary .number {
        font-size: 1.2em;
        /* Even smaller font size for very small screens */
    }

    .call-summary div div:last-child {
        font-size: 1rem;
        /* Further reduce label font size */
    }

    .summary-card {
        flex-basis: 100%;
    }

    .summary-card .number {
        font-size: 1.2em;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }
}

.dashboard-title {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    /* Adjust this value as needed */
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        align-items: center;
    }

    .dashboard-title {
        font-size: 1.2em;
        /* Reduce font size on smaller screens */
        max-width: 60%;
        /* Adjust as needed */
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        /* Further reduce font size on very small screens */
        max-width: 50%;
        /* Adjust as needed */
    }
}

.floating-image {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    /* Add this line to show it's clickable */
    transition: transform 0.2s ease;
    /* Add this line for a smooth hover effect */
}

.floating-image:hover {
    transform: scale(1.1);
    /* Add this block for a hover effect */
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    margin-top: 15px;
    width: 100%;
    /* Make the button full width */
    padding: 12px 0;
    /* Increase vertical padding for a larger button */
    font-size: 16px;
    /* Increase font size */
    font-weight: bold;
    /* Make the text bold */
}

.btn-danger:hover {
    background-color: #c82333;
}

.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: 400px;
    border-radius: 5px;
    text-align: center;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    margin: 0 10px;
}

.current-date {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Add these styles for the table */
.table-responsive {
    overflow-x: auto;
}

.call-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.call-details-table th,
.call-details-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.call-details-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Improve mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
        flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        margin-bottom: 10px;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.2em;
    }

    .summary-card {
        flex-basis: 100%;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.25rem;
    }
}

/* Adjust the floating image for better mobile visibility */
.floating-image {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
}

/* Default styles for larger screens */


@media (max-width: 768px) {
    .summary-row.secondrow {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .summary-card.answredcalls,
    .summary-card.unanswredcalls {
        flex-basis: calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 0;
        margin-bottom: 10px;
    }

    .summary-card.answredcalls .number,
    .summary-card.unanswredcalls .number {
        font-size: 1.7rem;
    }

body {
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.header h1 {
    margin: 0;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-dark {
    background-color: #333;
    color: #fff;
    margin-right: 10px;
}

/* You can remove or comment out these styles if they're not used elsewhere */
/*
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
*/
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    padding: 25px;
    margin-bottom: 30px;
}

.card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    transition: box-shadow 0.3s ease;
}

.card h2 {
    margin-top: 0;
    font-size: 1.2em;
}

.card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin: 10px 0;
}

.green {
    color: #4CAF50;
}

.red {
    color: #F44336;
}

.call-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.summary-card {
    flex: 1;
    min-width: 0;
    /* Allow shrinking below content size */
    padding: 15px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.summary-card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.summary-card div:last-child {
    font-size: 1.2em;
    color: #666;
}

/* Media queries for consistent layout on all devices */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-title {
        font-size: 1.2em;
        max-width: 60%;
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 10px;
    }

    .summary-card .number {
        font-size: 2.6rem;
        font-weight: bold;
    }

    .summary-card div:last-child {
        font-size: 0.8em;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        max-width: 50%;
    }

    .summary-row {
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 8px;
    }

    .summary-card .number {
        font-size: 2.4rem;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 6px;
    }
}

/* Adjust the floating image for better mobile visibility */
.floating-image {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
}

.blue {
    color: #2196F3;
}


.status-uninterested {
    background-color: #FFEBEE;
    color: #F44336;
}

.orange {
    color: #FF9800;
}

.status-answered {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.status-not-answered {
    background-color: #FFEBEE;
    color: #F44336;
}

.status-call-back {
    background-color: #FFF3E0;
    color: #FF9800;
}



@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .call-summary {
        flex-wrap: nowrap;
        /* Ensure no wrapping on mobile */
    }

    .call-summary>div {
        flex: 1;
        margin-bottom: 0;
        min-width: 0;
    }

    .call-summary .number {
        font-size: 1.5em;
        /* Further reduce font size on mobile */
    }

    .call-summary div div:last-child {
        font-size: 1em;
        /* Reduce label font size */
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }

    .summary-row {
        flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 7.5px);
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }

    .card .number {
        font-size: 2em;
    }

    th,
    td {
        padding: 6px;
    }

    .status {
        font-size: 0.8em;
    }

    .call-summary .number {
        font-size: 1.2em;
        /* Even smaller font size for very small screens */
    }

    .call-summary div div:last-child {
        font-size: 1rem;
        /* Further reduce label font size */
    }

    .summary-card {
        flex-basis: 100%;
    }

    .summary-card .number {
        font-size: 1.2em;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }
}

.dashboard-title {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    /* Adjust this value as needed */
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        align-items: center;
    }

    .dashboard-title {
        font-size: 1.2em;
        /* Reduce font size on smaller screens */
        max-width: 60%;
        /* Adjust as needed */
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        /* Further reduce font size on very small screens */
        max-width: 50%;
        /* Adjust as needed */
    }
}

.floating-image {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    /* Add this line to show it's clickable */
    transition: transform 0.2s ease;
    /* Add this line for a smooth hover effect */
}

.floating-image:hover {
    transform: scale(1.1);
    /* Add this block for a hover effect */
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    margin-top: 15px;
    width: 100%;
    /* Make the button full width */
    padding: 12px 0;
    /* Increase vertical padding for a larger button */
    font-size: 16px;
    /* Increase font size */
    font-weight: bold;
    /* Make the text bold */
}

.btn-danger:hover {
    background-color: #c82333;
}

.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: 400px;
    border-radius: 5px;
    text-align: center;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    margin: 0 10px;
}

.current-date {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Add these styles for the table */
.table-responsive {
    overflow-x: auto;
}

.call-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.call-details-table th,
.call-details-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.call-details-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Improve mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
        flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        margin-bottom: 10px;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.2em;
    }

    .summary-card {
        flex-basis: 100%;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.25rem;
    }
}

/* Adjust the floating image for better mobile visibility */
.floating-image {
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
}

/* Default styles for larger screens */


@media (max-width: 768px) {
    .summary-row.secondrow {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .summary-card.answredcalls,
    .summary-card.unanswredcalls {
        flex-basis: calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 0;
        margin-bottom: 10px;
    }

    .summary-card.answredcalls .number,
    .summary-card.unanswredcalls .number {
        font-size: 1.7rem;
    }

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.header h1 {
    margin: 0;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.btn-dark {
    background-color: #333;
    color: #fff;
    margin-right: 10px;
}

/* You can remove or comment out these styles if they're not used elsewhere */
/*
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
*/
.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    padding: 25px;
    margin-bottom: 30px;
}

.card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    transition: box-shadow 0.3s ease;
}

.card h2 {
    margin-top: 0;
    font-size: 1.2em;
}

.card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin: 10px 0;
}

.green {
    color: #4CAF50;
}

.red {
    color: #F44336;
}

.call-summary {
    display: flex;
        flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    }

    .summary-card {
    flex: 1;
    min-width: 0;
    /* Allow shrinking below content size */
    padding: 15px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.summary-card .number {
    font-size: 3.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.summary-card div:last-child {
    font-size: 1.2em;
    color: #666;
}

/* Media queries for consistent layout on all devices */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .dashboard-title {
        font-size: 1.2em;
        max-width: 60%;
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 10px;
    }

    .summary-card .number {
        font-size: 2.6rem;
        font-weight: bold;
    }

    .summary-card div:last-child {
        font-size: 0.8em;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        max-width: 50%;
    }

    .summary-row {
        flex-wrap: nowrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        padding: 8px;
    }

    .summary-card .number {
        font-size: 2.4rem;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 6px;
    }
}

/* Adjust the floating image for better mobile visibility */
    .floating-image {
    bottom: 10px;
    right: 10px;
        width: 50px;
        height: 50px;
}

.blue {
    color: #2196F3;
}



.status-uninterested {
    background-color: #FFEBEE;
    color: #F44336;
}

.orange {
    color: #FF9800;
}

.status-answered {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.status-not-answered {
    background-color: #FFEBEE;
    color: #F44336;
}

.status-call-back {
    background-color: #FFF3E0;
    color: #FF9800;
}


@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .call-summary {
        flex-wrap: nowrap;
        /* Ensure no wrapping on mobile */
    }

    .call-summary>div {
        flex: 1;
        margin-bottom: 0;
        min-width: 0;
    }

    .call-summary .number {
        font-size: 1.5em;
        /* Further reduce font size on mobile */
    }

    .call-summary div div:last-child {
        font-size: 1em;
        /* Reduce label font size */
    }

    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }

    .summary-row {
        flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 7.5px);
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
    }

    .card .number {
        font-size: 2em;
    }

    th,
    td {
        padding: 6px;
    }

    .status {
        font-size: 0.8em;
    }

    .call-summary .number {
        font-size: 1.2em;
        /* Even smaller font size for very small screens */
    }

    .call-summary div div:last-child {
        font-size: 1rem;
        /* Further reduce label font size */
    }

    .summary-card {
        flex-basis: 100%;
    }

    .summary-card .number {
        font-size: 1.2em;
    }

    .summary-card div:last-child {
        font-size: 0.7em;
    }
}

.dashboard-title {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
    /* Adjust this value as needed */
}

@media (max-width: 768px) {
    .header {
        flex-direction: row;
        align-items: center;
    }

    .dashboard-title {
        font-size: 1.2em;
        /* Reduce font size on smaller screens */
        max-width: 60%;
        /* Adjust as needed */
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1em;
        /* Further reduce font size on very small screens */
        max-width: 50%;
        /* Adjust as needed */
    }
}

.floating-image {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    cursor: pointer;
    /* Add this line to show it's clickable */
    transition: transform 0.2s ease;
    /* Add this line for a smooth hover effect */
}

.floating-image:hover {
    transform: scale(1.1);
    /* Add this block for a hover effect */
}

.floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
    margin-top: 15px;
    width: 100%;
    /* Make the button full width */
    padding: 12px 0;
    /* Increase vertical padding for a larger button */
    font-size: 16px;
    /* Increase font size */
    font-weight: bold;
    /* Make the text bold */
}

.btn-danger:hover {
    background-color: #c82333;
}

.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: 400px;
    border-radius: 5px;
    text-align: center;
}

.modal-buttons {
    margin-top: 20px;
}

.modal-buttons button {
    margin: 0 10px;
}

.current-date {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Add these styles for the table */
.table-responsive {
    overflow-x: auto;
}

.call-details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.call-details-table th,
.call-details-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.call-details-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Improve mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .call-summary {
        flex-direction: column;
    }

    .summary-row {
        flex-wrap: wrap;
    }

    .summary-card {
        flex-basis: calc(50% - 5px);
        margin-bottom: 10px;
    }

    .call-details-table {
        font-size: 14px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-title {
        font-size: 1.2em;
    }

    .summary-card {
        flex-basis: 100%;
    }

    .call-details-table {
        font-size: 12px;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.25rem;
    }
}

/* Adjust the floating image for better mobile visibility */
.floating-image {
        bottom: 10px;
        right: 10px;
    width: 50px;
    height: 50px;
}

/* Default styles for larger screens */


@media (max-width: 768px) {
    .summary-row.secondrow {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .summary-card.answredcalls,
    .summary-card.unanswredcalls {
        flex-basis: calc(50% - 5px);
        width: calc(50% - 5px);
        min-width: 0;
        margin-bottom: 10px;
    }

    .summary-card.answredcalls .number,
    .summary-card.unanswredcalls .number {
        font-size: 1.7rem;
    }

    .summary-card.answredcalls div:last-child,
    .summary-card.unanswredcalls div:last-child {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .summary-row.secondrow {
        flex-direction: row;
    }

    body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        margin: 0;
        padding: 20px;
        background-color: #f4f4f4;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        flex-wrap: nowrap;
    }

    .header h1 {
        margin: 0;
    }

    .header-buttons {
        display: flex;
        gap: 10px;
    }

    .btn {
        padding: 8px 16px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }

    .btn-dark {
        background-color: #333;
        color: #fff;
        margin-right: 10px;
    }

    /* You can remove or comment out these styles if they're not used elsewhere */
    /*
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}
*/
    .card {
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        padding: 25px;
        margin-bottom: 30px;
    }

    .card:hover {
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
        transition: box-shadow 0.3s ease;
    }

    .card h2 {
        margin-top: 0;
        font-size: 1.2em;
    }

    .card .number {
        font-size: 3.5em;
        font-weight: bold;
        margin: 10px 0;
    }

    .green {
        color: #4CAF50;
    }

    .red {
        color: #F44336;
    }

    .call-summary {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .summary-row {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .summary-card {
        flex: 1;
        min-width: 0;
        /* Allow shrinking below content size */
        padding: 15px;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .summary-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .summary-card .number {
        font-size: 3.5em;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .summary-card div:last-child {
        font-size: 1.2em;
        color: #666;
    }

    /* Media queries for consistent layout on all devices */
    @media (max-width: 768px) {
    .container {
        padding: 10px;
    }

        .header {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }

    .dashboard-title {
        font-size: 1.2em;
            max-width: 60%;
        }

        .header-buttons {
            margin-top: 0;
            width: auto;
        }

        .call-summary {
            flex-direction: column;
        }

        .summary-row {
            flex-direction: row;
            flex-wrap: nowrap;
        }

        .summary-card {
            flex-basis: calc(50% - 5px);
            padding: 10px;
        }

        .summary-card .number {
            font-size: 2.6rem;
            font-weight: bold;
        }

        .summary-card div:last-child {
        font-size: 0.8em;
    }

        .call-details-table {
            font-size: 14px;
        }

        .call-details-table th,
        .call-details-table td {
            padding: 8px;
        }
    }

    @media (max-width: 480px) {
        .dashboard-title {
            font-size: 1em;
            max-width: 50%;
        }

        .summary-row {
            flex-wrap: nowrap;
        }

        .summary-card {
            flex-basis: calc(50% - 5px);
            padding: 8px;
        }

    .summary-card .number {
            font-size: 2.4rem;
        }

        .summary-card div:last-child {
            font-size: 0.7em;
    }

    .call-details-table {
        font-size: 12px;
    }

        .call-details-table th,
        .call-details-table td {
            padding: 6px;
        }
    }

    /* Adjust the floating image for better mobile visibility */
    .floating-image {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }

    .blue {
        color: #2196F3;
    }


    .status-uninterested {
        background-color: #FFEBEE;
        color: #F44336;
    }

    .orange {
        color: #FF9800;
    }

    .status-answered {
        background-color: #E8F5E9;
        color: #4CAF50;
    }

    .status-not-answered {
        background-color: #FFEBEE;
        color: #F44336;
    }

    .status-call-back {
        background-color: #FFF3E0;
        color: #FF9800;
    }

   

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

        .header {
            flex-direction: column;
            align-items: flex-start;
        }

        .header-buttons {
            margin-top: 10px;
            width: 100%;
            display: flex;
            justify-content: space-between;
        }

        .cards {
            grid-template-columns: 1fr;
        }

        .call-summary {
            flex-wrap: nowrap;
            /* Ensure no wrapping on mobile */
        }

        .call-summary>div {
            flex: 1;
            margin-bottom: 0;
            min-width: 0;
        }

        .call-summary .number {
            font-size: 1.5em;
            /* Further reduce font size on mobile */
        }

        .call-summary div div:last-child {
            font-size: 1em;
            /* Reduce label font size */
        }

        table {
            font-size: 14px;
        }

        th,
        td {
            padding: 8px;
        }

        .summary-row {
            flex-wrap: wrap;
        }

        .summary-card {
            flex-basis: calc(50% - 7.5px);
            margin-bottom: 15px;
        }
    }

    @media (max-width: 480px) {
        .card {
            padding: 15px;
        }

        .card .number {
            font-size: 2em;
        }

        th,
        td {
            padding: 6px;
        }

        .status {
            font-size: 0.8em;
        }

        .call-summary .number {
            font-size: 1.2em;
            /* Even smaller font size for very small screens */
        }

        .call-summary div div:last-child {
            font-size: 1rem;
            /* Further reduce label font size */
        }

        .summary-card {
            flex-basis: 100%;
        }

        .summary-card .number {
            font-size: 1.2em;
        }

        .summary-card div:last-child {
            font-size: 0.7em;
        }
    }

    .dashboard-title {
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70%;
        /* Adjust this value as needed */
    }

    @media (max-width: 768px) {
    .header {
        flex-direction: row;
        align-items: center;
    }

    .dashboard-title {
        font-size: 1.2em;
            /* Reduce font size on smaller screens */
        max-width: 60%;
            /* Adjust as needed */
    }

    .header-buttons {
        margin-top: 0;
        width: auto;
    }
    }

    @media (max-width: 480px) {
        .dashboard-title {
            font-size: 1em;
            /* Further reduce font size on very small screens */
            max-width: 50%;
            /* Adjust as needed */
        }
    }

    .floating-image {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        cursor: pointer;
        /* Add this line to show it's clickable */
        transition: transform 0.2s ease;
        /* Add this line for a smooth hover effect */
    }

    .floating-image:hover {
        transform: scale(1.1);
        /* Add this block for a hover effect */
    }

    .floating-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .btn-danger {
        background-color: #dc3545;
        color: white;
        margin-top: 15px;
        width: 100%;
        /* Make the button full width */
        padding: 12px 0;
        /* Increase vertical padding for a larger button */
        font-size: 16px;
        /* Increase font size */
        font-weight: bold;
        /* Make the text bold */
    }

    .btn-danger:hover {
        background-color: #c82333;
    }

    .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: 400px;
        border-radius: 5px;
        text-align: center;
    }

    .modal-buttons {
        margin-top: 20px;
    }

    .modal-buttons button {
        margin: 0 10px;
    }

    .current-date {
        text-align: center;
        font-size: 1.2em;
        margin-bottom: 20px;
        font-weight: bold;
    }

    /* Add these styles for the table */
    .table-responsive {
        overflow-x: auto;
    }

    .call-details-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1rem;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 0.75rem;
        text-align: left;
        border-bottom: 1px solid #dee2e6;
    }

    .call-details-table th {
        background-color: #f8f9fa;
        font-weight: bold;
    }

    /* Improve mobile responsiveness */
    @media (max-width: 768px) {
        .container {
            padding: 10px;
        }

        .header {
            flex-direction: column;
            align-items: flex-start;
        }

        .header-buttons {
            margin-top: 10px;
            width: 100%;
            display: flex;
            justify-content: space-between;
        }

    .call-summary {
        flex-direction: column;
        }

        .summary-row {
            flex-wrap: wrap;
        }

        .summary-card {
            flex-basis: calc(50% - 5px);
            margin-bottom: 10px;
        }

        .call-details-table {
            font-size: 14px;
        }

        .call-details-table th,
        .call-details-table td {
            padding: 0.5rem;
        }
    }

    @media (max-width: 480px) {
        .dashboard-title {
            font-size: 1.2em;
        }

        .summary-card {
            flex-basis: 100%;
        }

        .call-details-table {
            font-size: 12px;
        }

        .call-details-table th,
        .call-details-table td {
            padding: 0.25rem;
        }
    }

    /* Adjust the floating image for better mobile visibility */
    .floating-image {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }

    /* Default styles for larger screens */


    @media (max-width: 768px) {
        .summary-row.secondrow {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            flex-wrap: nowrap;
        }

        .summary-card.answredcalls,
        .summary-card.unanswredcalls {
            flex-basis: calc(50% - 5px);
            width: calc(50% - 5px);
            min-width: 0;
            margin-bottom: 10px;
        }

        .summary-card.answredcalls .number,
        .summary-card.unanswredcalls .number {
            font-size: 1.7rem;
        }

        .summary-card.answredcalls div:last-child,
        .summary-card.unanswredcalls div:last-child {
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .summary-row.secondrow {
            flex-direction: row;
        }

        .summary-card.answredcalls,
        .summary-card.unanswredcalls {
            flex-basis: calc(50% - 5px);
            width: calc(50% - 5px);
        }
    }

    @media (max-width: 768px) {
        .summary-row.thirdrow {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            flex-wrap: nowrap;
        }

        .summary-card.callbackcalls,
        .summary-card.intreastedcalls {
            flex-basis: calc(50% - 5px);
            width: calc(50% - 5px);
            min-width: 0;
            margin-bottom: 10px;
        }

        .summary-card.callbackcalls .number,
        .summary-card.intreastedcalls .number {
            font-size: 1.7rem;
        }

        .summary-card.callbackcalls div:last-child,
        .summary-card.intreastedcalls div:last-child {
            font-size: 1rem;
        }
    }

    @media (max-width: 480px) {
        .summary-row.thirdrow {
            flex-direction: row;
        }

        .summary-card.callbackcalls,
        .summary-card.intreastedcalls {
            flex-basis: calc(50% - 5px);
            width: calc(50% - 5px);
        }
    }

    .back-button {
        position: fixed;
        top: 20px;
        right: 20px;
        display: flex;
        align-items: center;
        padding: 8px 16px;
        background-color: white;
        color: black;
        border: 1px solid #d1d5db;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: background-color 0.2s, box-shadow 0.2s;
    }

    .back-button:hover {
        background-color: #f3f4f6;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

    .back-icon {
        margin-right: 8px;
        width: 16px;
        height: 16px;
    }

    @media screen and (max-width: 768px) {
        .summary-card .number {
            font-size: 3.2rem;
            font-weight: bold;
        }

        .summary-card div:last-child {
            font-size: 1.1rem;
        }
    }

    @media screen and (max-width: 480px) {
        .summary-card {
            padding: 15px 10px;
        }

        .summary-card .number {
            font-size: 2.8rem;
        }

        .summary-card div:last-child {
            font-size: 1rem;
        }

        .summary-row {
            flex-direction: column;
        }

        .summary-card {
            width: 100%;
            margin-bottom: 15px;
        }
    }


    
}
}
}}}
.summary-card {
    border-radius: 7px;
    padding: 7px;
    text-align: center;
    transition: all 0.3s ease;
}

.status-interested {
    background-color: #063f0c;
    color: white;
    border-radius: 7px;
    padding: 7px;
}

.status-not-interested {
    background-color: #F44336;
    color: white;
    border-radius: 7px;
    padding: 7px;
}

.status-unanswered {
    background-color: #FFC107;
    color: black;
    border-radius: 7px;
    padding: 7px;
}

.status-callback {
    background-color: #2196F3;
    color: white;
    border-radius: 7px;
    padding: 7px;
}

.summary-card .number {
    font-size: 47px;
    font-weight: bold;
    margin-bottom: 5px;
}

.summary-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}







.call-details-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.call-details-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.call-details-card h2 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.call-details-card .btn-danger {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.call-details-card .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 400px;
    overflow-y: auto;
}

.call-details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.call-details-table th,
.call-details-table td {
    padding: 12px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.call-details-table th {
    position: sticky;
    top: 0;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #6c757d;
    border-bottom: 2px solid #dee2e6;
    z-index: 1;
}

.call-details-table td {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8em;
}

@media (max-width: 768px) {
    .call-details-card .card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .call-details-card .btn-danger {
        margin-top: 10px;
        align-self: flex-end;
    }

    .call-details-table {
        font-size: 0.9rem;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 480px) {
    .call-details-card .card-header {
        padding: 12px 15px;
    }

    .call-details-card h2 {
        font-size: 1.1rem;
    }

    .call-details-card .btn-danger {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .call-details-table {
        font-size: 0.8rem;
    }

    .call-details-table th,
    .call-details-table td {
        padding: 8px 6px;
    }
}






.status-badge {
    padding: 3px 6px;
    border-radius: 10px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.7em;
    display: inline-block;
}

.status-interested {
    background-color: #063f0c;
    color: #f6f7f8;
    
}

.status-uninterested {
    background-color: #FFEBEE;
    color: #F44336;
}

.status-answered {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.status-not-answered {
    background-color: #FFEBEE;
    color: #F44336;
}

.status-call-back {
    background-color: #FFF3E0;
    color: #FF9800;
}



@media (max-width: 768px) {
   

    .status-badge {
        font-size: 0.6em;
        padding: 2px 4px;
    }
}

@media (max-width: 480px) {
    

    .status-badge {
        font-size: 0.5em;
        padding: 1px 3px;
    }
}






.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn + .btn {
    margin-left: 0.5rem;
}







.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.btn + .btn {
    margin-left: 0.3rem;
    text-decoration: none;
    }




    body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        margin: 0;
        padding: 0;
        background-color: #f4f4f4;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 20px;
        box-sizing: border-box;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    
    .dashboard-title {
        margin: 0;
        font-size: 1.5em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 8px 16px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9em;
    }
    
    .btn-dark {
        background-color: #333;
        color: #fff;
    }
    
    .card {
        background-color: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .call-summary {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-row {
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }
    
    .summary-card {
        flex: 1;
        padding: 15px;
        background-color: #ffffff;
        border-radius: 12px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .summary-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }
    
    .summary-card .number {
        font-size: 2em;
        font-weight: bold;
        margin-bottom: 5px;
    }
    
    .green { color: #4CAF50; }
    .red { color: #F44336; }
    .orange { color: #FF9800; }
    .blue { color: #2196F3; }
    
    .call-details-card {
        overflow: hidden;
    }
    
    .table-responsive {
        overflow-x: auto;
    }
    
    .call-details-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .call-details-table th,
    .call-details-table td {
        padding: 10px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }
    
    .call-details-table th {
        background-color: #f8f9fa;
        font-weight: bold;
    }
    
    .status-badge {
        padding: 3px 6px;
        border-radius: 12px;
        font-size: 0.8em;
        font-weight: bold;
    }
    
    .floating-image {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        transition: transform 0.2s ease;
    }
    
    .floating-image:hover {
        transform: scale(1.1);
    }
    
    .floating-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
        line-height: 1.5;
        border-radius: 0.2rem;
    }
    
    .btn-success {
        color: #fff;
        background-color: #28a745;
        border-color: #28a745;
    }
    
    .btn-primary {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
    }
    
    .btn + .btn {
        margin-left: 0.3rem;
    }
    
    @media (max-width: 768px) {
        .header {
            flex-direction: column;
            align-items: flex-start;
        }
    
        .header-buttons {
            margin-top: 10px;
            width: 100%;
            justify-content: space-between;
        }
    
        .summary-row {
            flex-direction: column;
        }
    
        .summary-card {
            margin-bottom: 15px;
        }
    
        .call-details-table {
            font-size: 14px;
        }
    
        .status-badge {
            font-size: 0.7em;
            padding: 2px 4px;
        }
    
        .floating-image {
            width: 50px;
            height: 50px;
            bottom: 10px;
            right: 10px;
        }
    }
    
    @media (max-width: 480px) {
        .container {
            padding: 10px;
        }
    
        .dashboard-title {
            font-size: 1.2em;
        }
    
        .btn {
            padding: 6px 12px;
            font-size: 0.8em;
        }
    
        .summary-card .number {
            font-size: 1.5em;
        }
    
        .call-details-table {
            font-size: 12px;
        }
    
        .status-badge {
            font-size: 0.6em;
            padding: 1px 3px;
        }
    }






    .button-container {
        display: flex;
        justify-content: space-between;
        margin-top: 1rem;
    }
    
    .action-btn {
        flex: 1;
        margin: 0 0.5rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    .btn-danger {
        background-color: #ff4757;
        border-color: #ff4757;
    }
    
    .btn-primary {
        background-color: #3742fa;
        border-color: #3742fa;
    }





    .button-container {
        display: flex;
        justify-content: space-between;
        margin-top: 1rem;
    }
    
    .action-btn {
        flex: 1;
        margin: 0 0.5rem;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        text-transform: uppercase;
        font-weight: bold;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .action-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }
    
    .btn-danger {
        background-color: #ff4757;
        border-color: #ff4757;
    }
    
    .btn-primary {
        background-color: #3742fa;
        border-color: #3742fa;
    }



    .table-responsive::-webkit-scrollbar {
        width: 10px;
    }
    
    .table-responsive::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .table-responsive::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 5px;
    }
    
    .table-responsive::-webkit-scrollbar-thumb:hover {
        background: #555;
    }