/* Stexo / Minible admin layout */
:root {
    --stexo-sidebar-width: 250px;
    --stexo-sidebar-width-sm: 70px;
    --stexo-sidebar-bg: #2a3042;
    --stexo-sidebar-hover: rgba(255, 255, 255, 0.08);
    --stexo-sidebar-active: rgba(91, 115, 232, 0.15);
    --stexo-topbar-height: 70px;
    --stexo-topbar-bg: #ffffff;
    --stexo-primary: #5b73e8;
    --stexo-primary-dark: #4359c9;
    --stexo-body-bg: #f8f9fb;
    --stexo-card-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    --stexo-sidebar-text: #a6b0cf;
    --stexo-sidebar-text-hover: #ffffff;
}

.table-light {
    --bs-table-color: #000;
    --bs-table-bg: #0c425236;
    
}
.form-control {
    font-size: 13px;
}
.stexo-page-title {
    font-size: 18px !important;
    font-weight: 600 !important;
}
.btn-primary.stexo-btn-primary, .stexo-btn-primary {
    font-size: 14px !important;
}
button.btn.btn-primary.stexo-btn-primary {
    font-size: 12px !important;
}
a.btn.btn-light {
    font-size: 14px;
}
.stexo-table {
     font-size: 12px !important;
}
.stexo-table thead th
{
    font-size: 11px !important;
    padding: 10px 10px !important;
}

/* Bootstrap tooltip font size */
.tooltip {
    font-size: 11px !important;
}
 
  

/* Bootstrap tooltip theme: light yellow bg + black text */
.tooltip .tooltip-inner {
    background-color: #fff3cd !important; /* Bootstrap warning light */
    color: #000 !important;
    border: 1px solid #ffe69c;
}
.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #fff3cd !important;
}
.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #fff3cd !important;
}
.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
    border-left-color: #fff3cd !important;
}
.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: #fff3cd !important;
}
.px-3.py-2.bg-primary.text-white.fw-semibold.small {
    background: var(--stexo-sidebar-bg) !important;
}
button.btn.btn-secondary {
    font-size: 12px;
}
.stexo-sidebar-nav .nav-link.active,
#sidebar-menu ul li a.active {
    background: var(--stexo-sidebar-active) !important;
    color: var(--stexo-primary) !important;
}

.marquee_text {
    background: #ece3e3;
    padding: 10px;
}
.allow_days {
    background: #ca515140;
    padding: 10px;
}
.row_data {
    background: #42424254;
    padding: 10px;
}
.stexo-sidebar-brand {
    border-bottom:none !important;
}
.stexo-card .card-body {
    padding: 10px !important;
}
.stexo-table tbody td {
    padding: 10px 10px !important;
    vertical-align: middle ;
}
.form-select {
    font-size: 12px;
}

body.stexo-body {
    background: var(--stexo-body-bg);
    font-family: 'IBM Plex Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 13px;
}

#layout-wrapper {
    min-height: 100vh;
}

/* ========== TOPBAR (Minible) ========== */
#page-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: var(--stexo-sidebar-width);
    z-index: 1002;
    background-color: var(--stexo-topbar-bg);
    box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12);
    transition: left 0.2s ease;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--stexo-topbar-height);
    padding: 0 1.25rem;
}

.navbar-brand-box {
    padding: 0 1.5rem;
    width: var(--stexo-sidebar-width);
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    height: var(--stexo-topbar-height);
    display: flex;
    align-items: center;
    background: var(--stexo-topbar-bg);
    transition: width 0.2s ease;
}

.logo .logo-sm { display: none; }
.logo .logo-lg { display: inline-flex; }
.logo-dark { display: block; }
.logo-light { display: block; }

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    line-height: 1;
    white-space: nowrap;
}

.app-brand-mark {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.app-brand-sm .app-brand-mark {
    width: 24px;
    height: 24px;
}

.app-brand-text {
    display: inline-flex;
    align-items: baseline;
    font-family: 'IBM Plex Sans', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.app-brand-dark {
    color: #2a3042;
}

.app-brand-dark .app-brand-accent {
    color: var(--stexo-primary);
}

.app-brand-light {
    color: #ffffff;
}

.app-brand-light .app-brand-accent {
    color: #8ea4ff;
}

.app-brand-sm .app-brand-text {
    display: none;
}

.vertical-menu-btn,
.header-item {
    height: 42px;
    width: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #555b6d;
    border-radius: 50%;
    font-size: 1.25rem;
}

.vertical-menu-btn:hover,
.header-item:hover {
    background: #f3f4f6;
    color: #2a3042;
}

.stexo-topbar-page-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2a3042;
}

.header-profile-link {
    color: #555b6d;
}

.header-profile-link .dropdown-toggle::after {
    margin-left: 8px;
}

/* ========== VERTICAL SIDEBAR (Minible) ========== */
.vertical-menu {
    width: var(--stexo-sidebar-width);
    z-index: 1001;
    background: var(--stexo-sidebar-bg);
    bottom: 0;
    margin-top: 0;
    position: fixed;
    top: 0;
    box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12);
    transition: width 0.2s ease;
}

.vertical-menu > .navbar-brand-box {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: center;
}

.sidebar-menu-scroll {
    height: calc(100vh - var(--stexo-topbar-height));
    overflow-y: auto;
}

#sidebar-menu {
    padding: 10px 0 30px;
}

#sidebar-menu .menu-title {
    padding: 12px 20px;
    letter-spacing: 0.05em;
    pointer-events: none;
    font-size: 11px;
    text-transform: uppercase;
    color: #6a7187;
    font-weight: 500;
}

#sidebar-menu ul li a {
    display: block;
    padding: 0.6rem 1.1rem;
    color: var(--stexo-sidebar-text);
    font-size: 15px;
    font-weight: 500;
    margin: 0 10px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#sidebar-menu ul li a i {
    display: inline-block;
    min-width: 1.5rem;
    font-size: 1.05rem;
    vertical-align: middle;
    color: #6a7187;
    transition: all 0.3s ease;
}

#sidebar-menu ul li a span {
    vertical-align: middle;
    padding-left: 6px;
}

#sidebar-menu ul li a:hover,
#sidebar-menu ul li a.active {
    color: var(--stexo-sidebar-text-hover);
    background: var(--stexo-sidebar-hover);
}

#sidebar-menu ul li a:hover i,
#sidebar-menu ul li a.active i {
    color: var(--stexo-primary);
}

/* Icon sidebar (sm) */
body[data-sidebar-size="sm"] #page-topbar {
    left: var(--stexo-sidebar-width-sm);
}

body[data-sidebar-size="sm"] .main-content {
    margin-left: var(--stexo-sidebar-width-sm);
}

body[data-sidebar-size="sm"] .vertical-menu .navbar-brand-box {
    width: 100% !important;
}

#page-topbar .navbar-brand-box {
    display: none;
}

@media (max-width: 991.98px) {
    #page-topbar .navbar-brand-box {
        display: flex;
    }
}

body[data-sidebar-size="sm"] .logo span.logo-lg {
    display: none;
}

body[data-sidebar-size="sm"] .logo span.logo-sm {
    display: inline-flex;
}

body[data-sidebar-size="sm"] .vertical-menu {
    width: var(--stexo-sidebar-width-sm) !important;
}

body[data-sidebar-size="sm"] #sidebar-menu .menu-title {
    display: none;
}

body[data-sidebar-size="sm"] #sidebar-menu > ul > li {
    position: relative;
    white-space: nowrap;
}

body[data-sidebar-size="sm"] #sidebar-menu > ul > li > a {
    padding: 15px 0;
    text-align: center;
    margin: 0 5px;
}

body[data-sidebar-size="sm"] #sidebar-menu > ul > li > a i {
    font-size: 1.3rem;
    min-width: 50px;
    padding-bottom: 0;
}

body[data-sidebar-size="sm"] #sidebar-menu > ul > li > a span {
    display: none;
}

body[data-sidebar-size="sm"] #sidebar-menu > ul > li:hover > a {
    position: relative;
    width: calc(180px + var(--stexo-sidebar-width-sm));
    color: var(--stexo-primary);
    background: #ffffff;
    box-shadow: inset 0 3px 10px 0 rgba(154, 161, 171, 0.2);
    text-align: left;
    padding-left: 20px;
    z-index: 1005;
}

body[data-sidebar-size="sm"] #sidebar-menu > ul > li:hover > a i {
    color: var(--stexo-primary);
}

body[data-sidebar-size="sm"] #sidebar-menu > ul > li:hover > a span {
    display: inline;
}

/* Main content */
.main-content {
    margin-left: var(--stexo-sidebar-width);
    transition: margin-left 0.2s ease;
    overflow: hidden;
}

.page-content {
    padding: calc(var(--stexo-topbar-height) + 1.25rem) 1.25rem 60px;
}

.page-title-box {
    padding-bottom: 1.25rem;
    margin-bottom: 0.5rem;
}

.page-title-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2a3042;
}

.page-title-right .breadcrumb {
    font-size: 0.875rem;
}

.page-title-right .breadcrumb-item a {
    color: #74788d;
    text-decoration: none;
}

.page-title-right .breadcrumb-item.active {
    color: #555b6d;
}

/* Mobile sidebar */
.vertical-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.vertical-menu-overlay.show {
    display: block;
}

@media (max-width: 991.98px) {
    #page-topbar {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .navbar-brand-box {
        width: auto !important;
        position: relative;
        left: auto;
        padding: 0 0.75rem 0 0;
    }

    .vertical-menu {
        left: calc(-1 * var(--stexo-sidebar-width));
        transition: left 0.3s ease;
    }

    body.sidebar-enable .vertical-menu {
        left: 0;
    }

    body[data-sidebar-size="sm"] .vertical-menu,
    body[data-sidebar-size="lg"] .vertical-menu {
        width: var(--stexo-sidebar-width) !important;
        left: calc(-1 * var(--stexo-sidebar-width));
    }

    body.sidebar-enable[data-sidebar-size="sm"] .vertical-menu,
    body.sidebar-enable[data-sidebar-size="lg"] .vertical-menu {
        left: 0;
    }

    body[data-sidebar-size="sm"] #sidebar-menu .menu-title,
    body[data-sidebar-size="sm"] #sidebar-menu > ul > li > a span {
        display: inline;
    }

    body[data-sidebar-size="sm"] #sidebar-menu > ul > li > a {
        padding: 0.6rem 1.1rem;
        text-align: left;
        width: auto;
    }

    body[data-sidebar-size="sm"] #sidebar-menu > ul > li:hover > a {
        width: auto;
        box-shadow: none;
        background: var(--stexo-sidebar-hover);
        color: var(--stexo-sidebar-text-hover);
    }
}

/* Legacy layout aliases */
.stexo-layout { display: block; }
.stexo-right { margin-left: 0; }
.stexo-main { flex: 1; padding: 0; }
.stexo-content {
    padding: 0;
    background: transparent;
    min-height: auto;
}
.stexo-topbar { display: none; }
.stexo-sidebar { display: none; }

.stexo-topbar-avatar-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--stexo-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.stexo-user-dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 8px 0;
}

.stexo-user-dropdown .dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Page header: breadcrumb left, actions (e.g. Add button) right */
.stexo-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.stexo-page-breadcrumb-wrap {
    order: 1;
}

.stexo-page-header-actions {
    margin-left: auto;
    order: 2;
}

.stexo-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #374151;
    letter-spacing: -0.02em;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stexo-page-breadcrumb {
    font-size: 0.875rem;
    color: #6b7280;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Filter bar (search + dropdown + Search button) - same style across Client, Media, Display, User, Role, Report */
.stexo-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.stexo-filter-bar .form-control,
.stexo-filter-bar .form-select {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    min-height: 38px;
    width: auto;
    min-width: 200px;
}
.stexo-filter-bar .form-control:focus,
.stexo-filter-bar .form-select:focus {
    border-color: var(--stexo-primary, #0d9488);
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.15);
}
.stexo-filter-bar .btn.stexo-btn-primary {
    min-height: 38px;
    border-radius: 6px;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Report request: multiple-choice dropdowns */
.stexo-multiselect {
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    background-color: #f8fafc !important;
    padding: 6px 10px !important;
    min-height: 100px !important;
    font-size: 13px !important;
    color: #1e293b;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.stexo-multiselect:hover {
    border-color: #cbd5e1 !important;
    background-color: #fff !important;
}
.stexo-multiselect:focus {
    border-color: var(--stexo-primary) !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 2px rgba(12, 66, 82, 0.2) !important;
    outline: none !important;
}
.stexo-multiselect option {
    padding: 8px 12px;
    border-radius: 4px;
    margin: 2px 0;
}
.stexo-multiselect option:hover {
    background-color: rgba(12, 66, 82, 0.08);
}
.stexo-multiselect option:checked {
    background: linear-gradient(0deg, rgba(12, 66, 82, 0.15), rgba(12, 66, 82, 0.12));
    color: var(--stexo-primary-dark);
    font-weight: 500;
}
/* Scrollbar for multiselect (WebKit) */
.stexo-multiselect::-webkit-scrollbar {
    width: 8px;
}
.stexo-multiselect::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}
.stexo-multiselect::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.stexo-multiselect::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Cards */
.stexo-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: var(--stexo-card-shadow);
    border: 1px solid #eff2f7;
}

/* Dashboard: hero strip */
.stexo-dashboard-hero {
    border: none !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 45%, #fffbeb 100%) !important;
    box-shadow: 0 12px 40px rgba(16, 135, 137, 0.12), 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    position: relative;
    overflow: hidden;
}
.stexo-dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--stexo-primary) 0%, #2dd4bf 40%, var(--stexo-topbar-bg) 100%);
    border-radius: 16px 16px 0 0;
}
.stexo-dashboard-hero .card-body {
    position: relative;
    z-index: 1;
}
.stexo-dashboard-hero .bg-light {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 135, 137, 0.12) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

/* Dashboard: activity panels (tables) */
.stexo-dashboard-panel {
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: box-shadow 0.25s ease, transform 0.2s ease;
    overflow: hidden;
}
.stexo-dashboard-panel:hover {
    box-shadow: 0 16px 40px rgba(16, 135, 137, 0.1), 0 4px 12px rgba(15, 23, 42, 0.06) !important;
}
.stexo-dashboard-panel .card-header {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%) !important;
    border-bottom: 1px solid rgba(16, 135, 137, 0.1) !important;
    font-size: 0.9rem;
}

/* Dashboard stat cards */
.stexo-dashboard-cards .stexo-stat-card {
    min-height: 124px;
    padding: 0 !important;
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    border-radius: 14px !important;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #ffffff 100%) !important;
    box-shadow: 0 6px 28px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.03) !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.2s ease;
}
.stexo-dashboard-cards .stexo-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--stexo-primary), #5eead4, var(--stexo-topbar-bg));
    opacity: 0.95;
    border-radius: 14px 14px 0 0;
}
.stexo-dashboard-cards .stexo-stat-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(16, 135, 137, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.stexo-dashboard-cards .stexo-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(16, 135, 137, 0.14), 0 8px 20px rgba(15, 23, 42, 0.08) !important;
    border-color: rgba(16, 135, 137, 0.18) !important;
}
.stexo-dashboard-cards .stexo-stat-card .card-body {
    padding: 1.35rem 1.25rem 1.15rem !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    z-index: 1;
}
.stexo-dashboard-cards .stexo-stat-card a.small {
    color: var(--stexo-primary) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color 0.15s ease, transform 0.15s ease;
}
.stexo-dashboard-cards .stexo-stat-card a.small:hover {
    color: var(--stexo-primary-dark) !important;
}
.stexo-stat-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.stexo-stat-number {
    font-size: 1.875rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.stexo-stat-subtitle {
    font-size: 0.8125rem;
    font-weight: 400;
    color: #94a3b8;
}
.stexo-stat-pct {
    font-weight: 500;
    color: #6b7280;
}
/* Circular icon — gradient + glow */
.stexo-stat-icon {
    position: absolute;
    top: 20px;
    right: 18px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}
.stexo-dashboard-cards .stexo-stat-card:hover .stexo-stat-icon {
    transform: scale(1.06) rotate(-3deg);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}
.stexo-stat-icon-primary {
    background: linear-gradient(145deg, #1ba8ac 0%, var(--stexo-primary) 45%, #0a5c62 100%);
    box-shadow: 0 10px 24px rgba(16, 135, 137, 0.4);
}
.stexo-stat-icon-success {
    background: linear-gradient(145deg, #34d399 0%, #10b981 50%, #047857 100%);
    box-shadow: 0 10px 24px rgba(16, 185, 129, 0.38);
}
.stexo-stat-icon-warning {
    background: linear-gradient(145deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.38);
}
.stexo-stat-icon-danger {
    background: linear-gradient(145deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.35);
}
.stexo-stat-icon-info {
    background: linear-gradient(145deg, #38bdf8 0%, #0ea5e9 50%, #0369a1 100%);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.35);
}
.stexo-stat-icon-indigo {
    background: linear-gradient(145deg, #818cf8 0%, #6366f1 50%, #4338ca 100%);
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.35);
}
.stexo-stat-icon-teal {
    background: linear-gradient(145deg, #2dd4bf 0%, #14b8a6 50%, #0f766e 100%);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.35);
}
/* Highlighted academy card on dashboard */
.stexo-dashboard-cards .stexo-stat-card.border-primary {
    border-color: rgba(16, 135, 137, 0.25) !important;
    background: linear-gradient(160deg, #ffffff 0%, #ecfeff 40%, #ffffff 100%) !important;
}
.stexo-dashboard-cards .stexo-stat-card.border-primary::before {
    height: 4px;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .stexo-dashboard-cards .stexo-stat-card,
    .stexo-dashboard-cards .stexo-stat-icon,
    .stexo-dashboard-panel {
        transition: none !important;
    }
    .stexo-dashboard-cards .stexo-stat-card:hover {
        transform: none !important;
    }
    .stexo-dashboard-cards .stexo-stat-card:hover .stexo-stat-icon {
        transform: none !important;
    }
}

/* Progress bar in stat cards */
.stexo-stat-progress {
    height: 6px;
    background-color: #e5e7eb;
    border-radius: 3px;
}
.stexo-stat-progress .progress-bar {
    border-radius: 3px;
    background: var(--stexo-primary);
}

.stexo-card .card-body { padding: 24px; }
.stexo-card .card-header {
    background: transparent;
    border-bottom: 1px solid #eff2f7;
    padding: 16px 24px;
    font-weight: 600;
    color: #495057;
    
}

/* Buttons - blue like image */
a.btn.btn-primary.stexo-btn-primary {
    font-size:13px;
}
.btn-primary.stexo-btn-primary,
.stexo-btn-primary {
    background: var(--stexo-primary);
    border-color: var(--stexo-primary);
    border-radius: 6px;
}
.btn-primary.stexo-btn-primary:hover,
.stexo-btn-primary:hover {
    background: var(--stexo-primary-dark);
    border-color: var(--stexo-primary-dark);
}

/* Pagination - theme-aligned Previous/Next and page links (Bootstrap 5 markup) */
.pagination {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    gap: 4px;
}
.pagination .page-item {
    display: inline-block;
}
.pagination .page-link {
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #374151;
    padding: 0.4rem 0.75rem;
    font-size: 0.875rem;
    text-decoration: none;
    min-width: 2.25rem;
    text-align: center;
}
.pagination .page-link:hover {
    background: #f8fafc;
    border-color: var(--stexo-primary, #0d9488);
    color: var(--stexo-primary, #0d9488);
}
.pagination .page-item.active .page-link {
    background: var(--stexo-primary, #0d9488);
    border-color: var(--stexo-primary, #0d9488);
    color: #fff;
}
.pagination .page-item.disabled .page-link {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
}

/* User dropdown */
.stexo-user-dropdown .dropdown-toggle::after { margin-left: 8px; color: #555b6d; }
.stexo-user-dropdown .dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 8px 0;
}
.stexo-user-dropdown .dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Tables */
.stexo-table { margin-bottom: 0; }
.stexo-table thead th {
    border-bottom: 1px solid #eff2f7;
    color: #495057;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 24px;
}
.stexo-table tbody td {
    padding: 16px 24px;
    vertical-align: middle;
}
.stexo-table tbody tr:hover { background: #f8f9fa; }

/* Alerts */
.stexo-alert { border: none; border-radius: 8px; }

/* Badges */
.badge.bg-soft-success { background: rgba(40, 199, 111, 0.15); color: #28a745; }
.badge.bg-soft-secondary { background: rgba(108, 117, 125, 0.15); color: #6c757d; }
.badge.bg-soft-danger { background: rgba(220, 53, 69, 0.15); color: #dc3545; }
.badge.bg-soft-primary { background: rgba(74, 123, 255, 0.15); color: var(--stexo-primary); }

/* Login page — Minible auth layout */
.minible-auth-bg {
    background-color: rgba(16, 135, 137, 0.12);
    font-family: 'IBM Plex Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
}

.minible-account-pages {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.minible-auth-logo .app-brand-text {
    font-size: 1.35rem;
}

.minible-auth-logo .app-brand-mark {
    width: 34px;
    height: 34px;
}

.minible-auth-card {
    border-radius: 0.5rem;
    box-shadow: 0 0.75rem 1.5rem rgba(18, 38, 63, 0.08) !important;
}

.minible-auth-card .text-primary {
    color: var(--stexo-primary) !important;
    font-weight: 600;
    font-size: 1.125rem;
}

.minible-auth-card .text-muted {
    color: #74788d !important;
    font-size: 0.9375rem;
}

.minible-auth-card .form-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.875rem;
}

.minible-auth-card .form-control {
    border-radius: 0.375rem;
    border-color: #ced4da;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    min-height: 38px;
}

.minible-auth-card .form-control:focus {
    border-color: var(--stexo-primary);
    box-shadow: 0 0 0 0.15rem rgba(16, 135, 137, 0.2);
}

.minible-auth-card .form-check-label {
    font-size: 0.875rem;
    color: #495057;
}

.minible-auth-btn {
    background: var(--stexo-primary);
    border-color: var(--stexo-primary);
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
}

.minible-auth-btn:hover,
.minible-auth-btn:focus {
    background: var(--stexo-primary-dark);
    border-color: var(--stexo-primary-dark);
}

.minible-auth-btn.w-sm {
    min-width: 120px;
}

.minible-auth-alert {
    border: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.minible-auth-info {
    background-color: rgba(40, 199, 111, 0.18);
    border: none;
    color: #0f5132;
    font-size: 0.875rem;
    border-radius: 0.375rem;
}

.minible-auth-card .text-primary.fw-medium,
.minible-auth-card a.text-primary {
    color: var(--stexo-primary) !important;
    text-decoration: none;
}

.minible-auth-card a.text-primary:hover {
    color: var(--stexo-primary-dark) !important;
}

.minible-auth-footer {
    color: #74788d;
    font-size: 0.875rem;
}

/* Legacy auth classes (kept for compatibility) */
.stexo-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a3240 0%, #1a2030 100%);
    padding: 24px;
}
.stexo-auth-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    max-width: 440px;
    width: 100%;
}
.stexo-auth-header {
    background: var(--stexo-primary);
    color: #fff;
    padding: 32px 24px;
    text-align: center;
}
.stexo-auth-header h4 { margin: 0; font-weight: 600; font-size: 1.5rem; }
.stexo-auth-body { padding: 32px 24px; }
.stexo-auth-body .form-control { border-radius: 6px; padding: 10px 14px; }
.stexo-auth-body .btn-primary {
    padding: 10px 24px;
    border-radius: 6px;
    width: 100%;
    background: var(--stexo-primary);
    border-color: var(--stexo-primary);
}
