/*
 * CubeWeb Tutor LMS 4.x dashboard skin
 * Scope: frontend Tutor dashboard only.
 * The site theme CSS is intentionally not loaded on this shell.
 */

body.ws-tutor-dashboard-page,
body.ws-tutor-dashboard-shell {
    --cw-tutor-bg: #f3f7f6;
    --cw-tutor-panel: #ffffff;
    --cw-tutor-panel-soft: #f8fbfa;
    --cw-tutor-border: #dbe8e6;
    --cw-tutor-border-strong: #c8dcd9;
    --cw-tutor-text: #12383d;
    --cw-tutor-muted: #667b7f;
    --cw-tutor-accent: #149f99;
    --cw-tutor-accent-dark: #0d7d79;
    --cw-tutor-accent-soft: #e8f7f5;
    --cw-tutor-shadow: 0 12px 34px rgba(17, 70, 73, 0.07);

    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    background: var(--cw-tutor-bg) !important;
    color: var(--cw-tutor-text) !important;
    font-family: "tt-commons-pro", Arial, sans-serif !important;
}

body.ws-tutor-dashboard-page *,
body.ws-tutor-dashboard-shell * {
    box-sizing: border-box;
}

body.ws-tutor-dashboard-page .tutor-dashboard-layout,
body.ws-tutor-dashboard-shell .tutor-dashboard-layout {
    min-height: 100vh !important;
    background: var(--cw-tutor-bg) !important;
}

/* Sidebar */
body.ws-tutor-dashboard-page .tutor-dashboard-sidebar,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar {
    width: 276px !important;
    min-width: 276px !important;
    background: var(--cw-tutor-panel) !important;
    border: 0 !important;
    border-right: 1px solid var(--cw-tutor-border) !important;
    box-shadow: 8px 0 28px rgba(19, 61, 64, 0.035) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-logo,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-logo {
    display: flex !important;
    align-items: center !important;
    min-height: 104px !important;
    padding: 24px 26px !important;
    border-bottom: 1px solid var(--cw-tutor-border) !important;
    color: var(--cw-tutor-text) !important;
    text-decoration: none !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-logo .site-title,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-logo .site-title {
    color: var(--cw-tutor-text) !important;
    font-size: 25px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-logo img,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-logo img {
    display: block !important;
    width: auto !important;
    max-width: 178px !important;
    max-height: 52px !important;
    object-fit: contain !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav {
    padding: 20px 14px !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav ul,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav ul {
    display: grid !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav li,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav li::before,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav li::before {
    content: none !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav a,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 48px !important;
    padding: 11px 14px !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #4b6469 !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    transition: background .16s ease, color .16s ease, border-color .16s ease !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav a span,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav a span,
body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav a svg,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav a svg {
    color: inherit !important;
    opacity: 1 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav a:hover,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav a:hover {
    background: var(--cw-tutor-panel-soft) !important;
    border-color: var(--cw-tutor-border) !important;
    color: var(--cw-tutor-text) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-sidebar-nav a.active,
body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar-nav a.active {
    background: var(--cw-tutor-accent) !important;
    border-color: var(--cw-tutor-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(20, 159, 153, 0.18) !important;
}

body.ws-tutor-dashboard-page .tutor-see-all-courses,
body.ws-tutor-dashboard-shell .tutor-see-all-courses {
    margin: auto 14px 18px !important;
    min-height: 46px !important;
    border: 1px solid var(--cw-tutor-border) !important;
    border-radius: 12px !important;
    color: var(--cw-tutor-text) !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

/* Main shell */
body.ws-tutor-dashboard-page .tutor-dashboard-main,
body.ws-tutor-dashboard-shell .tutor-dashboard-main {
    min-width: 0 !important;
    background: var(--cw-tutor-bg) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header,
body.ws-tutor-dashboard-shell .tutor-dashboard-header {
    min-height: 104px !important;
    padding: 0 36px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 0 !important;
    border-bottom: 1px solid var(--cw-tutor-border) !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
    color: var(--cw-tutor-text) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header *,
body.ws-tutor-dashboard-shell .tutor-dashboard-header * {
    opacity: 1 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header h1,
body.ws-tutor-dashboard-page .tutor-dashboard-header h2,
body.ws-tutor-dashboard-page .tutor-dashboard-header h3,
body.ws-tutor-dashboard-page .tutor-dashboard-header p,
body.ws-tutor-dashboard-page .tutor-dashboard-header span,
body.ws-tutor-dashboard-shell .tutor-dashboard-header h1,
body.ws-tutor-dashboard-shell .tutor-dashboard-header h2,
body.ws-tutor-dashboard-shell .tutor-dashboard-header h3,
body.ws-tutor-dashboard-shell .tutor-dashboard-header p,
body.ws-tutor-dashboard-shell .tutor-dashboard-header span {
    color: var(--cw-tutor-text) !important;
}


/* CubeWeb 2.4.1: finish the Tutor 4 top bar. Tutor puts the display name as a
 * text node inside .tutor-h5, so targeting spans alone left the name almost
 * white. Keep the header compact, readable and visually tied to the sidebar. */
body.ws-tutor-dashboard-page .tutor-dashboard-header,
body.ws-tutor-dashboard-shell .tutor-dashboard-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 80 !important;
    min-height: 88px !important;
    height: 88px !important;
    padding: 0 34px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid var(--cw-tutor-border) !important;
    box-shadow: 0 8px 24px rgba(18, 56, 61, 0.045) !important;
    backdrop-filter: blur(12px) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-inner,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-inner {
    width: 100% !important;
    min-height: 88px !important;
    height: 88px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-left,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 5px !important;
    min-width: 0 !important;
    color: var(--cw-tutor-text) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-left .tutor-h5,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-left .tutor-h5 {
    margin: 0 !important;
    color: var(--cw-tutor-text) !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    opacity: 1 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-left .tutor-h5 .tutor-text-subdued,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-left .tutor-h5 .tutor-text-subdued {
    color: #6d8185 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-left .tutor-tiny,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-left .tutor-tiny {
    margin: 0 !important;
    color: var(--cw-tutor-muted) !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-left .tutor-tiny .tutor-font-medium,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-left .tutor-tiny .tutor-font-medium {
    color: var(--cw-tutor-text) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-left .tutor-tiny .tutor-text-subdued,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-left .tutor-tiny .tutor-text-subdued {
    color: #9aabad !important;
    opacity: 1 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-right,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-user-avatar,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-avatar {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    border: 1px solid var(--cw-tutor-border-strong) !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: var(--cw-tutor-text) !important;
    box-shadow: 0 5px 16px rgba(18, 56, 61, 0.08) !important;
    cursor: pointer !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-user-avatar:hover,
body.ws-tutor-dashboard-page .tutor-dashboard-header-user-avatar.active,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-avatar:hover,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-avatar.active {
    border-color: var(--cw-tutor-accent) !important;
    box-shadow: 0 6px 18px rgba(20, 159, 153, 0.14) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-user-avatar .tutor-avatar,
body.ws-tutor-dashboard-page .tutor-dashboard-header-user-avatar img,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-avatar .tutor-avatar,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-avatar img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-user-avatar > svg,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-avatar > svg {
    display: none !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-header-user-popover,
body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-popover {
    margin-top: 8px !important;
    border: 1px solid var(--cw-tutor-border) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 46px rgba(18, 56, 61, 0.14) !important;
    overflow: hidden !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-body,
body.ws-tutor-dashboard-shell .tutor-dashboard-body {
    min-width: 0 !important;
    padding: 34px 38px 56px !important;
    background: var(--cw-tutor-bg) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-page,
body.ws-tutor-dashboard-shell .tutor-dashboard-page {
    width: min(100%, 1320px) !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    color: var(--cw-tutor-text) !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-page h1,
body.ws-tutor-dashboard-page .tutor-dashboard-page h2,
body.ws-tutor-dashboard-page .tutor-dashboard-page h3,
body.ws-tutor-dashboard-page .tutor-dashboard-page h4,
body.ws-tutor-dashboard-page .tutor-dashboard-page h5,
body.ws-tutor-dashboard-page .tutor-dashboard-page h6,
body.ws-tutor-dashboard-shell .tutor-dashboard-page h1,
body.ws-tutor-dashboard-shell .tutor-dashboard-page h2,
body.ws-tutor-dashboard-shell .tutor-dashboard-page h3,
body.ws-tutor-dashboard-shell .tutor-dashboard-page h4,
body.ws-tutor-dashboard-shell .tutor-dashboard-page h5,
body.ws-tutor-dashboard-shell .tutor-dashboard-page h6 {
    color: var(--cw-tutor-text) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-page .tutor-small,
body.ws-tutor-dashboard-shell .tutor-dashboard-page .tutor-small {
    color: var(--cw-tutor-text) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-page .tutor-text-secondary,
body.ws-tutor-dashboard-shell .tutor-dashboard-page .tutor-text-secondary,
body.ws-tutor-dashboard-page .tutor-dashboard-page .tutor-color-secondary,
body.ws-tutor-dashboard-shell .tutor-dashboard-page .tutor-color-secondary {
    color: var(--cw-tutor-muted) !important;
}

/* Filter controls */
body.ws-tutor-dashboard-page .tutor-dashboard-page .tutor-btn,
body.ws-tutor-dashboard-shell .tutor-dashboard-page .tutor-btn,
body.ws-tutor-dashboard-page .tutor-dashboard-page button,
body.ws-tutor-dashboard-shell .tutor-dashboard-page button {
    min-height: 42px;
    border-radius: 10px !important;
    font-size: 15px !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-page .tutor-btn-outline,
body.ws-tutor-dashboard-shell .tutor-dashboard-page .tutor-btn-outline {
    background: var(--cw-tutor-panel) !important;
    border-color: var(--cw-tutor-border-strong) !important;
    color: var(--cw-tutor-text) !important;
}

/* Instructor stat cards */
body.ws-tutor-dashboard-page .tutor-stat-card,
body.ws-tutor-dashboard-shell .tutor-stat-card {
    min-width: 210px !important;
    min-height: 146px !important;
    padding: 22px !important;
    background: var(--cw-tutor-panel) !important;
    border: 1px solid var(--cw-tutor-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--cw-tutor-shadow) !important;
    color: var(--cw-tutor-text) !important;
    overflow: hidden !important;
}

body.ws-tutor-dashboard-page .tutor-stat-card-header,
body.ws-tutor-dashboard-shell .tutor-stat-card-header {
    align-items: center !important;
    gap: 12px !important;
}

body.ws-tutor-dashboard-page .tutor-stat-card-title,
body.ws-tutor-dashboard-shell .tutor-stat-card-title {
    color: var(--cw-tutor-muted) !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body.ws-tutor-dashboard-page .tutor-stat-card-icon,
body.ws-tutor-dashboard-shell .tutor-stat-card-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 11px !important;
    background: var(--cw-tutor-accent-soft) !important;
    color: var(--cw-tutor-accent-dark) !important;
}

body.ws-tutor-dashboard-page .tutor-stat-card-icon svg,
body.ws-tutor-dashboard-shell .tutor-stat-card-icon svg {
    color: inherit !important;
}

body.ws-tutor-dashboard-page .tutor-stat-card-content,
body.ws-tutor-dashboard-shell .tutor-stat-card-content {
    margin-top: 24px !important;
}

body.ws-tutor-dashboard-page .tutor-stat-card-value,
body.ws-tutor-dashboard-shell .tutor-stat-card-value {
    color: var(--cw-tutor-text) !important;
    font-size: 31px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em !important;
}

body.ws-tutor-dashboard-page .tutor-stat-card-change,
body.ws-tutor-dashboard-shell .tutor-stat-card-change {
    margin-top: 8px !important;
    color: var(--cw-tutor-muted) !important;
    font-size: 14px !important;
}

/* Dashboard chart and content cards */
body.ws-tutor-dashboard-page .tutor-dashboard-home-chart,
body.ws-tutor-dashboard-page .tutor-dashboard-home-card,
body.ws-tutor-dashboard-shell .tutor-dashboard-home-chart,
body.ws-tutor-dashboard-shell .tutor-dashboard-home-card,
body.ws-tutor-dashboard-page .tutor-surface-l1,
body.ws-tutor-dashboard-shell .tutor-surface-l1,
body.ws-tutor-dashboard-page .tutor-card,
body.ws-tutor-dashboard-shell .tutor-card {
    background: var(--cw-tutor-panel) !important;
    border: 1px solid var(--cw-tutor-border) !important;
    border-radius: 18px !important;
    box-shadow: var(--cw-tutor-shadow) !important;
    color: var(--cw-tutor-text) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-home-chart,
body.ws-tutor-dashboard-shell .tutor-dashboard-home-chart,
body.ws-tutor-dashboard-page .tutor-dashboard-home-card,
body.ws-tutor-dashboard-shell .tutor-dashboard-home-card {
    padding: 24px !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-home-chart-legend,
body.ws-tutor-dashboard-shell .tutor-dashboard-home-chart-legend {
    color: var(--cw-tutor-muted) !important;
    font-size: 15px !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-home-chart-legend .tutor-text-primary,
body.ws-tutor-dashboard-shell .tutor-dashboard-home-chart-legend .tutor-text-primary {
    color: var(--cw-tutor-text) !important;
    font-size: 16px !important;
}

/* Keep the four home stats balanced, but allow them to wrap cleanly. */
body.ws-tutor-dashboard-page [data-section-id="current_stats"] > .tutor-flex-1,
body.ws-tutor-dashboard-shell [data-section-id="current_stats"] > .tutor-flex-1 {
    flex: 1 1 230px !important;
    min-width: 0 !important;
}

/* Generic forms and tables used by other dashboard tabs */
body.ws-tutor-dashboard-page .tutor-dashboard-page input:not([type="checkbox"]):not([type="radio"]),
body.ws-tutor-dashboard-page .tutor-dashboard-page select,
body.ws-tutor-dashboard-page .tutor-dashboard-page textarea,
body.ws-tutor-dashboard-shell .tutor-dashboard-page input:not([type="checkbox"]):not([type="radio"]),
body.ws-tutor-dashboard-shell .tutor-dashboard-page select,
body.ws-tutor-dashboard-shell .tutor-dashboard-page textarea {
    min-height: 46px !important;
    border: 1px solid var(--cw-tutor-border-strong) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: var(--cw-tutor-text) !important;
    font-size: 16px !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-page table,
body.ws-tutor-dashboard-shell .tutor-dashboard-page table {
    color: var(--cw-tutor-text) !important;
}

body.ws-tutor-dashboard-page .tutor-dashboard-page a,
body.ws-tutor-dashboard-shell .tutor-dashboard-page a {
    text-underline-offset: 2px;
}

/* Alpine popovers and dropdowns should stay readable on the light dashboard. */
body.ws-tutor-dashboard-page .tutor-popover,
body.ws-tutor-dashboard-page .tutor-dropdown,
body.ws-tutor-dashboard-shell .tutor-popover,
body.ws-tutor-dashboard-shell .tutor-dropdown {
    background: #ffffff !important;
    border-color: var(--cw-tutor-border) !important;
    color: var(--cw-tutor-text) !important;
    box-shadow: 0 16px 40px rgba(15, 61, 64, 0.12) !important;
}

/* Responsive */
@media (max-width: 1199px) {
    body.ws-tutor-dashboard-page .tutor-dashboard-sidebar,
    body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar {
        width: 244px !important;
        min-width: 244px !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-body,
    body.ws-tutor-dashboard-shell .tutor-dashboard-body {
        padding: 28px 26px 48px !important;
    }
}

@media (max-width: 991px) {
    /* Tutor owns the mobile sidebar/offcanvas behaviour. Do not force desktop width. */
    body.ws-tutor-dashboard-page .tutor-dashboard-sidebar,
    body.ws-tutor-dashboard-shell .tutor-dashboard-sidebar {
        width: auto !important;
        min-width: 0 !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-header,
    body.ws-tutor-dashboard-shell .tutor-dashboard-header {
        min-height: 76px !important;
        height: 76px !important;
        padding: 0 20px !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-header-inner,
    body.ws-tutor-dashboard-shell .tutor-dashboard-header-inner {
        min-height: 76px !important;
        height: 76px !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-body,
    body.ws-tutor-dashboard-shell .tutor-dashboard-body {
        padding: 24px 18px 90px !important;
    }

    body.ws-tutor-dashboard-page [data-section-id="course_completion_and_leader"],
    body.ws-tutor-dashboard-shell [data-section-id="course_completion_and_leader"] {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 640px) {
    body.ws-tutor-dashboard-page .tutor-dashboard-body,
    body.ws-tutor-dashboard-shell .tutor-dashboard-body {
        padding: 18px 14px 92px !important;
    }

    body.ws-tutor-dashboard-page [data-section-id="current_stats"],
    body.ws-tutor-dashboard-shell [data-section-id="current_stats"] {
        gap: 12px !important;
    }

    body.ws-tutor-dashboard-page [data-section-id="current_stats"] > .tutor-flex-1,
    body.ws-tutor-dashboard-shell [data-section-id="current_stats"] > .tutor-flex-1 {
        flex-basis: 100% !important;
    }

    body.ws-tutor-dashboard-page .tutor-stat-card,
    body.ws-tutor-dashboard-shell .tutor-stat-card,
    body.ws-tutor-dashboard-page .tutor-dashboard-home-chart,
    body.ws-tutor-dashboard-shell .tutor-dashboard-home-chart,
    body.ws-tutor-dashboard-page .tutor-dashboard-home-card,
    body.ws-tutor-dashboard-shell .tutor-dashboard-home-card {
        border-radius: 14px !important;
    }
}


@media (max-width: 640px) {
    body.ws-tutor-dashboard-page .tutor-dashboard-header,
    body.ws-tutor-dashboard-shell .tutor-dashboard-header {
        min-height: 70px !important;
        height: 70px !important;
        padding: 0 14px !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-header-inner,
    body.ws-tutor-dashboard-shell .tutor-dashboard-header-inner {
        min-height: 70px !important;
        height: 70px !important;
        gap: 10px !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-header-left .tutor-h5,
    body.ws-tutor-dashboard-shell .tutor-dashboard-header-left .tutor-h5 {
        max-width: calc(100vw - 130px) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        font-size: 16px !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-header-left .tutor-tiny,
    body.ws-tutor-dashboard-shell .tutor-dashboard-header-left .tutor-tiny {
        display: none !important;
    }

    body.ws-tutor-dashboard-page .tutor-dashboard-header-user-avatar,
    body.ws-tutor-dashboard-shell .tutor-dashboard-header-user-avatar {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
    }
}
