/**
 * CTM Dokan Dashboard Overrides
 * Matches Experthive / Lumbre Theme Colors
 * Primary: #00876F (Teal)
 * Dark: #005052 (Deep Teal)
 * Bg: #FFF1E5 (Cream)
 */

/* Sidebar Background - Target ID and Class with high specificity */
div#dokan-navigation,
.dokan-dashboard .dokan-dash-sidebar,
.dokan-dash-sidebar {
    background-color: #005052 !important;
    /* Deep Teal */
}

/* Sidebar Menu Items */
div#dokan-navigation ul.dokan-dashboard-menu li a,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
    color: rgba(255, 255, 255, 0.8) !important;
}

div#dokan-navigation ul.dokan-dashboard-menu li a:hover,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Sidebar Active Item */
div#dokan-navigation ul.dokan-dashboard-menu li.active,
div#dokan-navigation ul.dokan-dashboard-menu li:hover,
div#dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links a:hover,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
    background-color: #00876F !important;
    /* Primary Teal */
}

div#dokan-navigation ul.dokan-dashboard-menu li.active:after,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active:after {
    border-color: transparent transparent transparent #00876F !important;
}

/* Primary Buttons & Active States */
.dokan-btn-theme,
input[type="submit"].dokan-btn-theme,
a.dokan-btn-theme,
div#dokan-navigation ul.dokan-dashboard-menu li.active,
.dokan-dashboard .dokan-dash-sidebar .dokan-dashboard-menu li.active,
.dokan-dashboard .dokan-dashboard-content article .dashboard-widget .widget-title {
    background-color: #00876F !important;
    border-color: #00876F !important;
    color: #fff !important;
}

.dokan-btn-theme:hover,
input[type="submit"].dokan-btn-theme:hover,
a.dokan-btn-theme:hover {
    background-color: #005052 !important;
    border-color: #005052 !important;
}

/* Dashboard Content Headers */
.dokan-dashboard .dokan-dashboard-content h1,
.dokan-dashboard .dokan-dashboard-content h2,
.dokan-dashboard .dokan-dashboard-content h3 {
    color: #005052 !important;
}

/* General Link Color */
.dokan-dashboard .dokan-dashboard-content a {
    color: #00876F;
}

.dokan-dashboard .dokan-dashboard-content a:hover {
    color: #005052;
}

/* Widget/Cards Background (Optional specific accents) */
.dokan-dashboard .dokan-dashboard-content .dashboard-widget {
    border-top: 3px solid #00876F !important;
}

/* Mobile Menu Toggle */
.dokan-dashboard .dokan-dash-sidebar .dokan-dashboard-menu-toggler {
    background-color: #005052 !important;
}

/* Tables */
.dokan-table thead th {
    background-color: #005052;
    color: #fff;
}

/* Pagination */
.dokan-pagination li a {
    color: #005052;
}

.dokan-pagination li.active span {
    background-color: #00876F !important;
    border-color: #00876F !important;
    color: #fff;
}

/* Alerts */
.dokan-alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.dokan-alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* Dashboard Widget Cards - Big Counters */
.dokan-dashboard-content .dashboard-widget .widget-title {
    background-color: #005052 !important;
    /* Widget headers */
}

/* Stats List (e.g. Sales, Earned) */
.dokan-dashboard .dokan-dashboard-content .dokan-general-stats li a strong {
    color: #00876F;
}