/* this is lead status base search fileter start */
    #custom-page-header {
        padding: 5px;
        background-color: #f8f9fa;
        margin-bottom: 20px;
    }

    #custom-page-header .page-title {
        font-size: 1.5rem;
        font-weight: bold;
    }

    #custom-page-header .lead-status-cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap; /* Allow wrapping */
        gap: 0.5rem; /* Adjust the gap as needed */
    }

    #custom-page-header .lead-status-card {
        flex: 0 0 12%; /* Adjust the width percentage as needed to fit all cards in one row */
        min-width: 100px; /* Minimum width of the cards */
        max-width: 150px; /* Maximum width of the cards */
        border: none;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        border-radius: 0.5rem;
        padding: 1rem;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    #custom-page-header .lead-status-card:hover {
        transform: scale(1.05);
    }

    #custom-page-header .card-body {
        padding: 1rem;
    }

    #custom-page-header .card-title {
        font-size: 0.875rem; /* Smaller font size */
        font-weight: 600;
    }

    #custom-page-header .card-text {
        font-size: 1rem; /* Smaller font size */
        font-weight: bold;
    }

    #custom-page-header .badge {
        font-size: 1rem; /* Smaller font size */
        padding: 0.25rem 0.5rem; /* Smaller padding */
        border-radius: 0.5rem;
    }

    @media (max-width: 1200px) {
        #custom-page-header .lead-status-card {
            flex: 0 0 20%;
        }
    }

    @media (max-width: 992px) {
        #custom-page-header .lead-status-card {
            flex: 0 0 30%;
        }
    }

    @media (max-width: 768px) {
        #custom-page-header .lead-status-card {
            flex: 0 0 45%;
        }
    }

    @media (max-width: 576px) {
        #custom-page-header .lead-status-card {
            flex: 0 0 100%;
        }
    }
/* this is lead status base search fileter end */


/* Lead Status table css those are show the interview status */

.badge-link {
    text-decoration: none;
}
.badge-custom {
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.badge-custom i {
    margin-right: 0.25rem;
}
.badge-custom:hover {
    transform: scale(1.05);
}
.badge-primary {
    background-color: #007bff;
    color: #fff;
}
.badge-secondary {
    background-color: #6c757d;
    color: #fff;
}
.badge-info {
    background-color: #17a2b8;
    color: #fff;
}
.badge-success {
    background-color: #28a745;
    color: #fff;
}
.badge-warning {
    background-color: #ffc107;
    color: #212529;
}
.badge-danger {
    background-color: #dc3545;
    color: #fff;
}
.badge-dark {
    background-color: #343a40;
    color: #fff;
}
.badge-light {
    background-color: #f8f9fa;
    color: #212529;
}

    /* <!-- End of Email Count Section --> */

/* Ensuring responsive design */
.email-status-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center; /* Center the cards */
}

.email-status-card {
    flex: 1;
    min-width: 200px;
    max-width: 300px; /* Add max-width for better responsiveness */
    border: 1px solid #dee2e6;
    border-radius: 50px;
    background: #f8f9fa;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.email-status-card .card-body {
    text-align: center;
}

.email-status-card .badge {
    font-size: 1.0em; /* Reduce the font size for smaller circles */
    padding: 10px; /* Adjust padding for smaller circles */
    border-radius: 50%; /* Ensure the badges are circular */
    display: inline-block; /* Ensure proper display */
    /* width: 50px;  */
    /* height: 50px;  */
    line-height: 30px; /* Center the text/icon vertically */
}

.email-status-card .badge .fas {
    line-height: 30px; /* Ensure the icon is centered vertically */
}

.email-status-card .card-title-email {
    margin-top: 10px;
    font-weight: bold;
}

.email-status-card .card-text {
    margin: 5px 0;
}
/* Example of media query for additional responsiveness */
@media (max-width: 576px) {
    .email-status-card {
        min-width: 100%;
    }

    .email-status-card .badge {
        width: 40px; /* Smaller width for very small screens */
        height: 40px; /* Smaller height for very small screens */
        line-height: 20px; /* Adjust line height accordingly */
    }
}
