/**
 * High-Realism Immersive Financial App Shell UI Stylesheet
 * Author: Edu Brazeal
 * Website: edubrazeal.com
 */

/* 1. Reset Content Container Constraints */
.site-content, .page-wrap, .entry-content, .post-inner {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* 2. Main Dashboard Layout Grid Frame */
.edu-wb-dashboard-app {
    display: block;
    width: 100%;
    min-height: 100vh;
    background-color: #f4f5f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1f2937;
    margin: 0;
    padding: 0;
    position: relative;
}

.edu-wb-dashboard-app * {
    box-sizing: border-box;
}

/* 3. Structural Flex Split - Sidebar Left, App Right */
.edu-wb-app-layout {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

/* Left Sidebar Engine */
.edu-wb-sidebar-nav {
    display: table-cell;
    width: 260px;
    background: linear-gradient(180deg, #6d28d9 0%, #4c1d95 100%);
    vertical-align: top;
    padding: 35px 0;
    height: 100vh;
    position: sticky;
    top: 0;
}

/* Right Content Screen Engine */
.edu-wb-main-workspace {
    display: table-cell;
    vertical-align: top;
    padding: 40px;
    background-color: #f3f4f6;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .edu-wb-sidebar-nav {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
    }
    .edu-wb-main-workspace {
        display: block;
        width: 100%;
        padding: 20px;
    }
}

/* 4. Left Sidebar Components */
.edu-wb-sidebar-brand {
    padding: 0 30px;
    margin-bottom: 40px;
}
.edu-wb-sidebar-brand h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.5px;
}
.edu-wb-sidebar-label {
    padding: 0 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.edu-wb-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.edu-wb-menu-item a {
    display: block;
    padding: 14px 30px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.edu-wb-menu-item a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}
.edu-wb-menu-item.active a {
    color: #4c1d95;
    background: #ffffff;
    font-weight: 600;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    margin-left: 15px;
}

/* 5. Top Bar Headers Dashboard */
.edu-wb-workspace-header {
    display: block;
    margin-bottom: 35px;
}
.edu-wb-header-split {
    display: table;
    width: 100%;
}
.edu-wb-header-title-cell {
    display: table-cell;
    vertical-align: middle;
}
.edu-wb-header-search-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    width: 400px;
}
.edu-wb-workspace-header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.edu-wb-search-input {
    width: 300px;
    background: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 14px;
    outline: none;
    color: #111827;
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}

/* 6. Dynamic Colored Financial KPI Matrix Cards */
.edu-wb-kpi-deck {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 35px;
}
.edu-wb-kpi-card {
    border-radius: 18px;
    padding: 24px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}
.edu-wb-kpi-card.purple { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.edu-wb-kpi-card.red    { background: linear-gradient(135deg, #f87171 0%, #ef4444 100%); }
.edu-wb-kpi-card.blue   { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.edu-wb-kpi-card.orange { background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%); }

.edu-wb-kpi-meta-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.edu-wb-kpi-title {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.9;
}
.edu-wb-kpi-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}
.edu-wb-kpi-label {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-bottom: 4px;
}
.edu-wb-kpi-value {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* 7. Middle Core Analytical Segment Splits */
.edu-wb-analytics-split-block {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 35px;
}
@media (max-width: 991px) {
    .edu-wb-analytics-split-block {
        grid-template-columns: 1fr;
    }
}
.edu-wb-panel-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.01);
}
.edu-wb-panel-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.edu-wb-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.edu-wb-timeline-tabs {
    display: flex;
    gap: 15px;
}
.edu-wb-tab-node {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
}
.edu-wb-tab-node.active {
    color: #ef4444;
}

/* 8. Bottom Information Segments Substructures */
.edu-wb-bottom-split-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}
@media (max-width: 991px) {
    .edu-wb-bottom-split-block {
        grid-template-columns: 1fr;
    }
}

/* Recent Activity Timelines UI Elements */
.edu-wb-activity-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}
.edu-wb-activity-time {
    font-size: 12px;
    color: #9ca3af;
    width: 80px;
    font-weight: 500;
}
.edu-wb-activity-icon-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 14px;
}
.edu-wb-activity-icon-dot.blue { background: #dbeafe; color: #3b82f6; }
.edu-wb-activity-icon-dot.cyan { background: #ecfeff; color: #06b6d4; }

.edu-wb-activity-details h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}
.edu-wb-activity-details p {
    margin: 2px 0 0 0;
    font-size: 11px;
    color: #6b7280;
}

/* Premium Operations Data Table Modules */
.edu-wb-app-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.edu-wb-app-table th {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    padding: 15px 10px;
    border-bottom: 1px solid #f3f4f6;
}
.edu-wb-app-table td {
    padding: 18px 10px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}
.edu-wb-badge-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 11px;
    text-align: center;
}
.edu-wb-badge-status.process {
    background: #fdf2f8;
    color: #db2777;
}
.edu-wb-badge-status.open {
    background: #f5f3ff;
    color: #7c3aed;
}

/* Control Buttons row for order status header */
.edu-wb-action-pill-row {
    display: flex;
    gap: 8px;
}
.edu-wb-action-btn-pill {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.edu-wb-action-btn-pill.grey {
    background: #e5e7eb;
    color: #4b5563;
}