﻿.content-wrapper {
    margin-left: 240px;
    margin-top: 50px;
    transition: margin-left 0.3s ease;
}

    .content-wrapper.hide {
        margin-left: 0;
    }

.top-chart-earn {
    border-radius: 5px;
    padding-top: 15px;
    box-shadow: -2px 3px 13px 0px #dd6;
}

.last-month {
    text-align: center;
    line-height: 20px;
    /* font-weight: 600; */
}

    .last-month h5 {
        font-size: 20px;
        font-weight: 600;
    }

    .last-month p {
        font-size: 12px;
        color: #777;
    }

.earn {
    margin: 12px 0;
}

    .earn h2 {
        font-size: 26px;
        font-weight: 600;
    }

.sale h2 {
    font-size: 25px;
    font-weight: 600;
}
/*Tab style */
.chart-nav {
    color: var(--second-color);
    padding: 0 15px;
    transition: .3s;
}

    .chart-nav.active {
        background-color: #fff !important;
        color: var(--main-color) !important;
        border-bottom: 2px solid var(--main-color) !important;
        border-radius: 0;
    }

    .chart-nav:hover {
        color: var(--main-color);
    }

.chart-header-tab {
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}
/* Top section bottom chart style*/
.bdr-cls {
    border-right: 1px solid #dddddd6b;
}

.wre-sec {
    overflow: hidden;
    border-top: 1px solid #dddddd6b;
}

.earn-view {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
}

.earn-icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    padding: 3px;
    line-height: 20px;
    font-size: 10px;
    color: var(--white-color);
}

#searchResults {
    max-height: 200px; /* Adjust the height as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    border: 1px solid #ccc; /* Optional: Add a border for visual distinction */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    list-style-type: none; /* Remove default list styling */
}

.result-item {
    padding: 8px; /* Add padding for better readability */
    cursor: pointer; /* Change cursor on hover */
}

    .result-item:hover {
        background-color: #f0f0f0; /* Highlight item on hover */
    }

.traffice-title {
    text-align: center;
    font-size: 17px;
    font-weight: 600;
}

#chart-2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-blue {
    color: #8bcf0d;
    border-radius: 50%;
}

.Total.patient-banner {
    display: flex;
    text-align: center;
    margin-left: 5px;
    margin-right: auto;
}

.data-verticle {
    display: flex;
    flex-direction: column;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    border: 3px solid var(--second-color);
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: -2px 3px 13px 0px #88bf81dd;
}
.appointment {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px; /* Add some spacing between appointments */
}


.appointment-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* Ensures equal-width columns for both headers and values */
    gap: 10px;
    margin-bottom: 20px;
    padding: 0; /* Removes unnecessary padding */
}
.appointment-confirm-container {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}
.appointment-row.header {
    font-weight: bold;
    background-color: #f5f5f5; /* Header background color */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Shadow for headers */
    display: contents; /* Makes headers align correctly within the grid */
}

.appointment-header, .appointment-value {
    text-align: center; /* Centers both headers and values */
    padding: 10px; /* Applies consistent padding to both */
}

.appointment-header {
    background-color: #f5f5f5; /* Light gray for headers */
}

.appointment-value {
    background-color: #ffffff; /* White background for values */
}


.appointment-status-confirmed {
    color: green;
}

.appointment-status-cancelled {
    color: red;
}

.appointment-status-pending {
    color: orange;
}
.appointment-row {
    display: contents; /* Ensures proper alignment inside the grid */
    padding:10px;
}
@media (max-width: 768px) {
    .appointment-container {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Adjusts minimum column width */
    }

    .top-chart-earn {
        margin-top: 100px;
    }
}
.pagination li {
    display: inline-block; /* Ensure inline display */
    margin: 0 5px; /* Add horizontal spacing */
}

.pagination a {
    text-decoration: none;
    padding: 5px 10px; /* Add padding inside the anchor for better appearance */
    border: 1px solid #ddd; /* Optional: Add border around links */
    border-radius: 5px; /* Optional: Rounded edges */
}

.pagination .active a {
    background-color: #007bff; /* Active page highlight */
    color: white;
    border-color: #007bff;
}
