.panel-chart {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);

    width: 100%;
    min-width: 0;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 300px;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.section-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    color: var(--primary-teal);
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--white);
    padding: 22px 22px 22px 24px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.stat-data p {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text-muted);
}

.stat-data h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-teal);
    margin: 4px 0;
}

.time-label {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-soft);
    letter-spacing: 0.02em;
}

.stat-icon-bg {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--primary-teal) 0%, var(--primary-teal-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.25);
}

.stat-icon-bg img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.dashboard-row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 22px;
    align-items: stretch;
}

.panel-card {
    background: var(--white);
    border-radius: 18px;
    padding: 20px 22px 22px;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-height: 0;
}

.panel-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    color: var(--primary-teal);
    margin-bottom: 18px;
}
.welcome-banner {
    background: linear-gradient(90deg, #3BC1A8 0%, var(--primary-teal-dark) 100%);
    border-radius: 20px;
    padding: 48px 40px 40px 260px;
    min-height: 200px;
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 28px;
    overflow: visible;
}

.banner-img {
    position: absolute;
    left: 30px;
    bottom: -22.5px;
    height: 280px;
    width: auto;
    max-width: 46%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.banner-info {
    position: relative;
    z-index: 2;
}

.banner-info h1 {
    font-family: 'inter', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: var(--white);
}

.banner-info p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    max-width: 560px;
    color: rgba(255, 255, 255, 0.95);
}

.chart-wrap {
    display: flex;
    gap: 10px;
    min-height: 220px;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0 28px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
    text-align: right;
    width: 64px;
    flex-shrink: 0;
    line-height: 1.2;
}

.chart-area {
    flex: 1;
    position: relative;
    min-width: 0;
    padding-bottom: 26px;
}

.chart-svg {
    width: 100%;
    height: auto;
    max-height: 170px;
    display: block;
}

.chart-grid {
    stroke: #e5e7eb;
    stroke-width: 1;
}

.chart-line {
    filter: drop-shadow(0 1px 2px rgba(0, 128, 128, 0.2));
}

.chart-dot {
    fill: var(--white);
    stroke: var(--primary-teal);
    stroke-width: 2;
}

.chart-dot-end {
    fill: var(--primary-teal);
    stroke: var(--white);
    stroke-width: 2;
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding-right: 4px;
    font-size: 10px;
    font-weight: 500;
    color: var(--text-muted);
}

.chart-tooltip {
    position: absolute;
    top: 6%;
    right: 4%;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-heading);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #eef2f6;
    white-space: nowrap;
    z-index: 3;
}

.stats-table-scroll {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e8ecf1;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.4;
}

.stats-table thead th {
    background: #ECEFF1;
    color: var(--text-heading);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #dde3e8;
}

.stats-table tbody td {
    padding: 12px 14px;
    color: var(--text-heading);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    border-bottom: 1px solid #eef2f6;
}

.stats-table tbody tr:nth-child(even) {
    background: #F8F9FA;
}

.stats-table tbody tr:nth-child(odd) {
    background: var(--white);
}

.stats-table tbody tr:last-child td {
    border-bottom: none;
}

.stats-table th:nth-child(2),
.stats-table td:nth-child(2),
.stats-table th:nth-child(3),
.stats-table td:nth-child(3) {
    text-align: right;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
  
    .welcome-banner {
        padding: 140px 20px 24px 20px;
        min-height: 0;
    }

    .banner-img {
        height: 160px;
        left: 50%;
        transform: translateX(-50%);
        bottom: auto;
        top: 12px;
    }
    
}

.content-panel{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.admin-profile{
    display:flex;
    align-items:center;
    gap:12px;

    text-decoration:none;
    color:inherit;
    cursor:pointer;
}

.admin-profile:hover{
    opacity:0.85;
}