/* Stexo layout: dark sidebar + light header + main content */
:root {
    --stexo-sidebar-width: 260px;
    --stexo-sidebar-bg: #108789;
    --stexo-sidebar-hover: rgba(255, 255, 255, 0.06);
    --stexo-sidebar-active: rgba(12, 66, 82, 0.35);
    --stexo-topbar-height: 70px;
    --stexo-topbar-bg: #ffbd2f;
    --stexo-primary: #108789;
    --stexo-primary-dark: #0a3642;
    --stexo-body-bg: #fff;
    --stexo-card-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
}

.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 {
    background: rgb(87 192 224 / 35%) !important;
    color: #fff;
    border-left-color: var(--stexo-primary);
}

.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: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    font-size: 12px;
}

/* Layout wrapper: sidebar + right side */
.stexo-layout {
    display: flex;
    min-height: 100vh;
}

/* ========== LEFT SIDEBAR (dark) ========== */
.stexo-sidebar {
    width: var(--stexo-sidebar-width);
    min-width: var(--stexo-sidebar-width);
    background: var(--stexo-sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, margin 0.2s;
}

.stexo-sidebar-brand {
    height: var(--stexo-topbar-height);
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stexo-sidebar-brand a {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.stexo-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.stexo-sidebar-nav .nav-section {
    margin-bottom: 8px;
}

.stexo-sidebar-nav .nav-section-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.45);
    padding: 12px 24px 8px;
}

.stexo-sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 24px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.stexo-sidebar-nav .nav-link:hover {
    background: var(--stexo-sidebar-hover);
    color: #fff;
}

.stexo-sidebar-nav .nav-link.active {
    background: var(--stexo-sidebar-active);
    color: #fff;
    border-left-color: var(--stexo-primary);
}

.stexo-sidebar-nav .nav-link i {
    font-size: 1.1rem;
    margin-right: 12px;
    opacity: 0.9;
}

/* Expandable menu */
.stexo-sidebar-nav .nav-section-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.stexo-sidebar-nav .nav-section-toggle:hover {
    background: var(--stexo-sidebar-hover);
    color: #fff;
}

.stexo-sidebar-nav .nav-section-toggle i:first-child {
    margin-right: 12px;
}

.stexo-sidebar-nav .nav-section-toggle .bi-chevron-down {
    font-size: 0.85rem;
    transition: transform 0.2s;
}

.stexo-sidebar-nav .nav-section-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.stexo-sidebar-nav .nav-section-menu {
    list-style: none;
    padding: 0 0 8px 0;
    margin: 0;
}

.stexo-sidebar-nav .nav-section-menu .nav-link {
    padding-left: 48px;
    font-size: 0.875rem;
}

.stexo-sidebar-nav .nav-section-badge {
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

/* ========== RIGHT SIDE: Topbar + Content ========== */
.stexo-right {
    flex: 1;
    margin-left: var(--stexo-sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top header bar (light grey) */
.stexo-topbar {
    height: var(--stexo-topbar-height);
    background: var(--stexo-topbar-bg);
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.stexo-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.stexo-topbar .btn-sidebar-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #4b5563;
}

.stexo-topbar .btn-sidebar-toggle:hover {
    background: #f9fafb;
    color: #111827;
}

.stexo-topbar-search {
    position: relative;
    width: 280px;
}

.stexo-topbar-search input {
    width: 100%;
    height: 42px;
    padding: 0 16px 0 40px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    font-size: 0.9rem;
}

.stexo-topbar-search input::placeholder {
    color: #9ca3af;
}

.stexo-topbar-search .bi-search {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

.stexo-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stexo-topbar-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #4b5563;
    text-decoration: none;
    position: relative;
}

.stexo-topbar-icon:hover {
    background: #fff;
    color: #111827;
}

.stexo-topbar-icon .badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stexo-topbar-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

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

/* Main content area */
.stexo-main {
    flex: 1;
    padding: 0;
}

.stexo-content {
    padding: 24px;
    background: #fff;
    min-height: calc(100vh - var(--stexo-topbar-height));
}

/* 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:white;}
.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); }

/* Sidebar collapse on mobile */
@media (max-width: 991.98px) {
    .stexo-sidebar {
        transform: translateX(-100%);
    }
    .stexo-sidebar.show {
        transform: translateX(0);
    }
    .stexo-right {
        margin-left: 0;
    }
}

/* Vertical menu toggle (desktop): collapsed sidebar */
.stexo-sidebar-collapsed .stexo-sidebar {
    width: 72px;
    min-width: 72px;
}
.stexo-sidebar-collapsed .stexo-right {
    margin-left: 72px;
}
.stexo-sidebar-collapsed .stexo-sidebar-brand a {
    font-size: 1.25rem;
    overflow: hidden;
    text-indent: -999px;
}
.stexo-sidebar-collapsed .stexo-sidebar-nav .nav-section-title {
    padding: 12px 16px 8px;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}
.stexo-sidebar-collapsed .stexo-sidebar-nav .nav-link {
    padding: 12px 16px;
    justify-content: center;
    font-size: 0;
}
.stexo-sidebar-collapsed .stexo-sidebar-nav .nav-link i {
    margin-right: 0;
    font-size: 1.1rem;
}
.stexo-sidebar-collapsed .stexo-sidebar-nav .nav-link span,
.stexo-sidebar-collapsed .stexo-sidebar-nav .nav-link .nav-section-badge {
    display: none;
}
.stexo-sidebar-collapsed .stexo-sidebar-nav .nav-section-menu .nav-link {
    padding-left: 16px;
}

/* Login page */
.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);
}
