.dataTables_filter {
    display: flex !important;
    margin: 10px 0 10px auto !important;
}

.dataTables_paginate {
    margin-left: auto !important;
    margin: 10px 0 10px auto !important;
}

.dataTables_info {
    align-self: center !important;
}

thead {
    background-color: #f9f9f9;
    font-weight: bolder;
    color: #030749;
}

.dashboard-separator {
    padding: 0 !important;
    height: 75px !important;
    margin: auto 0 !important;
    border: 1px solid #e2e8f0 !important;
}

.line-separator {
    padding: 0 1rem !important;
    border-color: #f1f5f9 !important;
}

.auth-screen {
    overflow-y: auto;
    box-sizing: content-box;
    object-fit: cover;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.auth-screen::-webkit-scrollbar {
    width: 0;
    display: none;
}

.auth-container {
    height: 100dvh;
    box-sizing: border-box;
    object-fit: cover;
}

.auth-img {
    background-size: cover;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: grayscale(50%);
}

.search-results {
    min-width: 300px;
    max-width: 350px;
    height: 100dvh;
    position: absolute;
    top: 0px;
    right: 200px;
    overflow: hidden;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    background: #ffffff;
}

.result_div {
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-scrollbar-width: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
    padding: 20px;
}

.result_div::-webkit-scrollbar {
    display: none;
    width: 0;
}

.not_found {
    background-image: url(../media/not_found.gif) !important;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.payment-overview-page {
    --payment-bg: #f6f6f6;
    --payment-text: #111827;
    --payment-muted: #8b929e;
    --payment-line: #edf0f3;
    --payment-blue: #365cff;
    --payment-sky: #4bc6f3;
    --payment-green: #12bd72;
    --payment-red: #ff4b35;
    --payment-yellow: #ffb91d;
    --payment-orange: #ff7a2f;
    --payment-purple: #d63ee8;
    background: var(--payment-bg);
    color: var(--payment-text);
    font-family: Inter, Poppins, Helvetica, sans-serif;
    min-height: calc(100vh - 75px);
    padding: 28px;
}

.payment-overview-page * {
    letter-spacing: 0;
}

.payment-card {
    background: #fff;
    border: 1px solid rgba(232, 235, 240, .9);
    border-radius: 8px;
}

.payment-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 24px 0;
}

.metric-cell {
    border-right: 1px dashed #cfd5dd;
    min-height: 82px;
    padding: 6px 28px;
}

.metric-cell:nth-child(4n) {
    border-right: 0;
}

.metric-cell:nth-child(n + 5) {
    border-top: 1px dashed #e1e5ea;
    padding-top: 28px;
}

.metric-label {
    color: var(--payment-muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.metric-change {
    color: var(--payment-green, #12bd72);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
}

.metric-change.down {
    color: var(--payment-red, #ff4b35);
}
.mini-bars {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(14, 1fr);
    height: 22px;
    max-width: 170px;
    width: 100%;
}

.mini-bars span {
    background: #eceff2;
    border-radius: 2px;
}

.mini-bars .blue {
    background: var(--payment-blue);
}

.mini-bars .green {
    background: var(--payment-green);
}

.mini-bars .sky {
    background: var(--payment-sky);
}

.mini-bars .red {
    background: var(--payment-red);
}
@media (max-width: 767.98px) {
    .payment-overview-page {
        padding: 14px;
    }

    .payment-card.p-4 {
        padding: 16px !important;
    }

    .payment-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 4px 0;
    }

    .metric-cell {
        padding: 14px 12px;
        min-height: 86px;
        border-bottom: 1px dashed #e1e5ea;
    }

    .metric-label {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .metric-value {
        font-size: 17px;
        margin-bottom: 4px;
    }

    .metric-change {
        font-size: 10px;
    }

    .metric-cell:nth-child(4n) {
        border-right: 1px dashed #cfd5dd;
    }

    .metric-cell:nth-child(3n) {
        border-right: 0;
    }

    .metric-cell:nth-child(8) {
        border-right: 0;
    }

    .metric-cell:nth-child(n + 5) {
        border-top: none;
        padding-top: 14px;
    }

    .metric-cell:nth-child(n + 7) {
        border-bottom: 0;
    }

    .wallet-breakdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-top: 18px;
    }

    .wallet-item {
        padding: 16px 14px;
        border-bottom: 1px dashed #e1e5ea;
    }

    .wallet-item:nth-child(even) {
        border-right: 0;
    }

    .wallet-item:nth-child(n + 3) {
        border-bottom: 0;
    }

    .wallet-item p {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .wallet-item strong {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .mini-bars {
        max-width: 120px;
        height: 18px;
        gap: 3px;
    }

    .donut-wrap canvas {
        max-height: 150px;
        max-width: 150px;
    }

    .donut-center-label strong {
        font-size: 18px;
    }

    .summary-stat strong {
        font-size: 17px;
    }

    .performance-table {
        overflow-x: auto;
    }

    .performance-row {
        min-width: 620px;
    }

    .patient-row {
        grid-template-columns: 1.2fr .6fr .6fr .7fr;
        min-width: 520px;
    }

    .patient-table {
        overflow-x: auto;
    }

    .weekly-chart {
        gap: 8px;
        height: 170px;
        padding-top: 20px;
    }

    .week-bar {
        width: 30px;
    }

    .week-col {
        gap: 6px;
    }
}

@media (max-width: 575.98px) {
    .payment-card.p-4 {
        padding: 14px !important;
    }

    .payment-metrics {
        padding: 10px 0;
    }

    .metric-cell {
        padding: 3px 10px;
        min-height: 48px;
    }

    .metric-value {
        font-size: 15px;
    }

    .metric-change {
        font-size: 9px;
    }

    .wallet-item {
        padding: 14px 10px;
    }

    .wallet-item strong {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .mini-bars {
        max-width: 105px;
        height: 16px;
        gap: 2px;
    }

    .donut-wrap canvas {
        max-height: 130px;
        max-width: 130px;
    }

    .donut-center-label strong {
        font-size: 16px;
    }

    .summary-stats {
        gap: 10px;
    }

    .summary-stat strong {
        font-size: 15px;
    }

    .weekly-chart {
        gap: 6px;
        height: 150px;
        padding-top: 16px;
    }

    .week-bar {
        width: 24px;
    }

    .week-col {
        gap: 4px;
    }
}

@media (max-width: 380px) {
    .payment-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-cell:nth-child(3n) {
        border-right: 1px dashed #cfd5dd;
    }

    .metric-cell:nth-child(2n) {
        border-right: 0;
    }

    .metric-cell {
        padding: 12px 10px;
        min-height: 72px;
    }

    .metric-value {
        font-size: 14px;
    }

    .wallet-item {
        padding: 12px 10px;
    }

    .wallet-item strong {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .mini-bars {
        max-width: 105px;
        height: 16px;
    }
}
.stat-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.counter {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}



.company-card{
    position:relative;
    border:none;
    border-radius:8px;
    overflow:hidden;
    transition:.25s ease;
    background:#fff;
}

.company-card:hover{
    transform:translateY(-3px);
    box-shadow:0 .5rem 1rem rgba(0,0,0,.12)!important;
}

/* STATUS */
.company-status{
    position:absolute;
    top:12px;
    right:0;
    padding:4px 12px;
    font-size:12px;
    font-weight:600;
    color:#fff;
    text-transform:lowercase;
    border-radius:3px 0 0 3px;
    letter-spacing:.3px;
    z-index:2;
}

.company-status.active{
    background: var(--kt-primary);
}

.company-status.inactive{
    background:var(--kt-secondary);
}