/**
 * Dokan Dashboard & Store Styling Fixes
 *
 * Aligns Dokan's default dashboard widgets and UI elements with
 * the Kunstwerk theme's visual style. Enqueued with 'dokan-style'
 * as a dependency so it loads after Dokan's own CSS.
 */

/* Dashboard widgets - consistent card style */
.dokan-dashboard-wrap .dashboard-widget,
.dokan-dashboard-wrap .postbox {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.dokan-dashboard-wrap .dashboard-widget .widget-title,
.dokan-dashboard-wrap .postbox .postbox-title {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
}

.dokan-dashboard-wrap .dashboard-widget .widget-title h3,
.dokan-dashboard-wrap .postbox .postbox-title h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Dashboard stat counters */
.dokan-dashboard-wrap .dashboard-widget .dokan-status {
    padding: 16px;
}

/* Table styling */
.dokan-dashboard-wrap table.dokan-table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
}

.dokan-dashboard-wrap table.dokan-table th {
    background: #f9fafb;
    font-weight: 600;
    font-size: 13px;
    text-transform: none;
}

.dokan-dashboard-wrap table.dokan-table td {
    font-size: 13px;
    vertical-align: middle;
}

/* Button consistency */
.dokan-dashboard-wrap .dokan-btn-theme {
    border-radius: 4px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.dokan-dashboard-wrap .dokan-btn-theme:hover {
    opacity: 0.9;
}

/* Dashboard sidebar profile cleanup */
.dokan-dashboard-wrap .dokan-dash-sidebar .profile-info-box {
    border-radius: 6px;
    overflow: hidden;
}

/* Alert/notice consistency */
.dokan-dashboard-wrap .dokan-alert {
    border-radius: 4px;
    border-left-width: 4px;
}
