/* ================================
   DASHBOARD LAYOUT
================================ */

.cca-dashboard-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

/* ================================
   SIDEBAR
================================ */

.cca-dashboard-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.cca-dashboard-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cca-dashboard-sidebar li {
    margin-bottom: 12px;
}

.cca-dashboard-sidebar a {
    display: block;
    padding: 12px 16px;
    background: #f4f6f9;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cca-dashboard-sidebar a:hover {
    background: #e9eef6;
}

.cca-dashboard-sidebar a.active {
    background: #1e73be;
    color: #ffffff;
}

/* ================================
   MAIN CONTENT
================================ */

.cca-dashboard-main {
    flex: 1;
    max-width: 1000px;
}

/* ================================
   STAT CARDS
================================ */

.cca-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.cca-stat-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-size: 16px;
}

/* ================================
   OPTIONAL LIGHT BACKGROUND IMAGE
================================ */

.cca-dashboard-main {
    position: relative;
}

.cca-dashboard-main::after {
    content: "";
    position: absolute;
    right: 0;
    top: 60px;
    width: 300px;
    height: 300px;
    background: url('/wp-content/uploads/dashboard-illustration.png') no-repeat center;
    background-size: contain;
    opacity: 0.05;
    pointer-events: none;
}

/* ================================
   MOBILE RESPONSIVE
================================ */

@media (max-width: 768px) {

    .cca-dashboard-wrapper {
        flex-direction: column;
    }

    .cca-dashboard-sidebar {
        width: 100%;
    }

    .cca-stats-grid {
        grid-template-columns: 1fr;
    }
}