/*
 * Creativo Next UI
 * A complete shared visual layer for dashboard, modules, and authentication.
 */

:root {
    --cn-navy-950: #07111f;
    --cn-navy-900: #0b1728;
    --cn-navy-800: #12233a;
    --cn-slate-900: #172033;
    --cn-slate-700: #344054;
    --cn-slate-600: #475467;
    --cn-slate-500: #667085;
    --cn-slate-400: #98a2b3;
    --cn-slate-300: #cfd6df;
    --cn-slate-200: #e3e8ef;
    --cn-slate-100: #eff3f7;
    --cn-slate-50: #f7f9fb;
    --cn-white: #ffffff;
    --cn-teal-700: #0f766e;
    --cn-teal-600: #0d9488;
    --cn-teal-500: #14b8a6;
    --cn-teal-100: #ccfbf1;
    --cn-teal-50: #f0fdfa;
    --cn-sky-600: #0284c7;
    --cn-sky-500: #0ea5e9;
    --cn-sky-100: #e0f2fe;
    --cn-sky-50: #f0f9ff;
    --cn-danger: #dc2626;
    --cn-danger-soft: #fef2f2;
    --cn-warning: #d97706;
    --cn-warning-soft: #fffbeb;
    --cn-success: #059669;
    --cn-success-soft: #ecfdf5;
    --cn-app-bg: #f3f6f8;
    --cn-surface: #ffffff;
    --cn-surface-muted: #f8fafb;
    --cn-border: #e1e7ec;
    --cn-border-strong: #d2dae3;
    --cn-radius-sm: 10px;
    --cn-radius: 16px;
    --cn-radius-lg: 22px;
    --cn-shadow-sm: 0 8px 24px -20px rgba(15, 23, 42, 0.45);
    --cn-shadow: 0 18px 42px -30px rgba(15, 23, 42, 0.48);
    --cn-shadow-raised: 0 24px 56px -30px rgba(15, 23, 42, 0.5);
    --bs-primary: #0d9488;
    --bs-primary-rgb: 13, 148, 136;
    --bs-link-color: #0f766e;
    --bs-link-hover-color: #115e59;
}

/* Application frame */
body.creativo-next-ui.erpgo-identity-shell {
    color: var(--cn-slate-900) !important;
    background: var(--cn-app-bg) !important;
    font-family: "Plus Jakarta Sans", "Alexandria", system-ui, sans-serif;
}

body.creativo-next-ui.erpgo-identity-shell .dash-container,
body.creativo-next-ui.erpgo-identity-shell .dash-content {
    background:
        radial-gradient(circle at 98% 0%, rgba(14, 165, 233, 0.075), transparent 28rem),
        linear-gradient(180deg, #f7fafb 0, var(--cn-app-bg) 24rem) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content {
    min-height: calc(100vh - 70px);
}

body.creativo-next-ui.erpgo-identity-shell a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

/* Sidebar */
body.creativo-next-ui.erpgo-identity-shell .dash-sidebar {
    background:
        radial-gradient(circle at 10% 10%, rgba(20, 184, 166, 0.14), transparent 15rem),
        linear-gradient(180deg, var(--cn-navy-950) 0%, #091827 55%, #07131f 100%) !important;
    border-inline-end: 1px solid rgba(148, 163, 184, 0.12) !important;
    box-shadow: 18px 0 48px -38px rgba(2, 8, 23, 0.95) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .navbar-wrapper {
    background: transparent !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .m-header {
    min-height: 76px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(255, 255, 255, 0.015);
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-navbar {
    padding: 14px 10px 28px;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-caption {
    padding: 16px 12px 7px;
    color: rgba(186, 230, 253, 0.46) !important;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-link {
    min-height: 46px;
    margin: 3px 0;
    padding: 6px 9px !important;
    border: 1px solid transparent;
    border-radius: 12px !important;
    color: rgba(226, 232, 240, 0.78) !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-link:hover {
    color: #ffffff !important;
    border-color: rgba(125, 211, 252, 0.12);
    background: rgba(14, 165, 233, 0.075) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-micon {
    width: 35px !important;
    height: 35px !important;
    min-width: 35px !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 10px !important;
    color: rgba(186, 230, 253, 0.84) !important;
    background: rgba(255, 255, 255, 0.045) !important;
    box-shadow: none !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item.active > .dash-link,
body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item.dash-trigger > .dash-link {
    color: #ffffff !important;
    border-color: rgba(45, 212, 191, 0.24);
    background: linear-gradient(90deg, rgba(13, 148, 136, 0.28), rgba(14, 165, 233, 0.12)) !important;
    box-shadow: inset 3px 0 0 #2dd4bf !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item.active > .dash-link .dash-micon,
body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item.dash-trigger > .dash-link .dash-micon {
    color: #ffffff !important;
    border-color: rgba(94, 234, 212, 0.36) !important;
    background: linear-gradient(145deg, var(--cn-teal-600), var(--cn-sky-600)) !important;
    box-shadow: 0 10px 24px -14px rgba(20, 184, 166, 0.9) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-submenu {
    margin: 2px 0 8px 17px;
    padding-inline-start: 12px;
    border-inline-start: 1px solid rgba(45, 212, 191, 0.22);
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-submenu .dash-link {
    min-height: 38px;
    color: rgba(203, 213, 225, 0.7) !important;
    font-size: 0.8rem;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-submenu .dash-item.active > .dash-link {
    color: #ccfbf1 !important;
    background: rgba(13, 148, 136, 0.13) !important;
    box-shadow: none !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-navbar > .dash-item > .dash-link:hover .dash-micon {
    border-color: rgba(45, 212, 191, 0.25) !important;
    background: rgba(20, 184, 166, 0.13) !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item.active > .dash-link,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item.dash-trigger > .dash-link {
    box-shadow: inset -3px 0 0 #2dd4bf !important;
}

/* Header */
body.creativo-next-ui.erpgo-identity-shell .dash-header {
    min-height: 70px;
    border-bottom: 1px solid rgba(207, 214, 223, 0.78) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 12px 34px -30px rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(18px);
}

body.creativo-next-ui.erpgo-identity-shell .dash-header .dash-head-link {
    min-height: 40px;
    border: 1px solid var(--cn-border) !important;
    border-radius: 11px !important;
    color: var(--cn-slate-700) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 18px -18px rgba(15, 23, 42, 0.55) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-header .dash-head-link:hover {
    border-color: #b8dfe1 !important;
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-header .dash-head-link > i:not(.nocolor),
body.creativo-next-ui.erpgo-identity-shell .dash-header .dash-head-link .ti {
    color: var(--cn-teal-600) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-header .qa-trigger {
    color: #075985 !important;
    border-color: #bae6fd !important;
    background: var(--cn-sky-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .qa-trigger-icon,
body.creativo-next-ui.erpgo-identity-shell .qa-trigger-label,
body.creativo-next-ui.erpgo-identity-shell .qa-trigger-chevron {
    color: var(--cn-sky-600) !important;
}

/* Page hierarchy */
body.creativo-next-ui.erpgo-identity-shell .page-header {
    position: relative;
    padding: 19px 22px !important;
    border: 1px solid var(--cn-border) !important;
    border-radius: var(--cn-radius) !important;
    background: linear-gradient(120deg, #ffffff 0%, #ffffff 68%, #effcfa 100%) !important;
    box-shadow: var(--cn-shadow-sm) !important;
    overflow: hidden;
}

body.creativo-next-ui.erpgo-identity-shell .page-header::before {
    content: "";
    position: absolute;
    inset-block: 14px;
    inset-inline-start: 0;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, var(--cn-teal-500), var(--cn-sky-500));
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .page-header::before {
    border-radius: 4px 0 0 4px;
}

body.creativo-next-ui.erpgo-identity-shell .page-header h4,
body.creativo-next-ui.erpgo-identity-shell .page-header .h4 {
    margin-bottom: 4px !important;
    color: var(--cn-slate-900) !important;
    font-size: 1.25rem !important;
    font-weight: 750 !important;
    letter-spacing: -0.035em;
}

body.creativo-next-ui.erpgo-identity-shell .breadcrumb {
    margin: 0 !important;
    color: var(--cn-slate-500);
    font-size: 0.76rem;
}

body.creativo-next-ui.erpgo-identity-shell .breadcrumb a {
    color: var(--cn-teal-700) !important;
    font-weight: 650;
}

/* Cards and surfaces */
body.creativo-next-ui.erpgo-identity-shell .dash-content .card,
body.creativo-next-ui.erpgo-identity-shell .modal-content,
body.creativo-next-ui.erpgo-identity-shell .offcanvas {
    border: 1px solid var(--cn-border) !important;
    border-radius: var(--cn-radius) !important;
    background: var(--cn-surface) !important;
    box-shadow: var(--cn-shadow-sm) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .card:hover {
    border-color: #d2e3e6 !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .card-header,
body.creativo-next-ui.erpgo-identity-shell .modal-header,
body.creativo-next-ui.erpgo-identity-shell .offcanvas-header {
    min-height: 60px;
    padding: 16px 20px !important;
    border-bottom: 1px solid var(--cn-border) !important;
    background: linear-gradient(180deg, #ffffff, #fbfcfd) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .card-body,
body.creativo-next-ui.erpgo-identity-shell .modal-body {
    padding: 20px;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .card-header :is(h5, h6),
body.creativo-next-ui.erpgo-identity-shell .modal-title {
    color: var(--cn-slate-900) !important;
    font-weight: 720 !important;
    letter-spacing: -0.02em;
}

body.creativo-next-ui.erpgo-identity-shell .modal-content {
    border-radius: var(--cn-radius-lg) !important;
    box-shadow: 0 32px 80px -42px rgba(2, 8, 23, 0.72) !important;
}

body.creativo-next-ui.erpgo-identity-shell .modal-footer {
    gap: 8px;
    padding: 14px 20px 18px;
    border-top: 1px solid var(--cn-border) !important;
    background: #fbfcfd;
}

/* Buttons */
body.creativo-next-ui.erpgo-identity-shell .btn:not(.btn-link):not(.p-0) {
    min-height: 40px;
    padding: 0.58rem 0.92rem;
    border-radius: 10px !important;
    font-size: 0.84rem;
    font-weight: 680;
    letter-spacing: -0.005em;
    box-shadow: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

body.creativo-next-ui.erpgo-identity-shell .btn-sm:not(.btn-link):not(.p-0) {
    min-height: 35px;
    padding: 0.43rem 0.68rem;
    border-radius: 9px !important;
    font-size: 0.78rem;
}

body.creativo-next-ui.erpgo-identity-shell .btn-primary,
body.creativo-next-ui.erpgo-identity-shell .bg-primary {
    border-color: var(--cn-teal-600) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--cn-teal-600), #0f8fa4) !important;
}

body.creativo-next-ui.erpgo-identity-shell .btn-primary:hover,
body.creativo-next-ui.erpgo-identity-shell .btn-primary:focus {
    border-color: var(--cn-teal-700) !important;
    background: linear-gradient(135deg, var(--cn-teal-700), #08758d) !important;
    box-shadow: 0 12px 26px -16px rgba(13, 148, 136, 0.85) !important;
    transform: translateY(-1px);
}

body.creativo-next-ui.erpgo-identity-shell .btn-outline-primary,
body.creativo-next-ui.erpgo-identity-shell .btn-light-primary,
body.creativo-next-ui.erpgo-identity-shell .btn-primary-subtle {
    border-color: #a7e3de !important;
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .btn-outline-primary:hover,
body.creativo-next-ui.erpgo-identity-shell .btn-light-primary:hover {
    border-color: var(--cn-teal-500) !important;
    color: #ffffff !important;
    background: var(--cn-teal-600) !important;
}

body.creativo-next-ui.erpgo-identity-shell :is(.btn-secondary, .btn-light) {
    border-color: var(--cn-border-strong) !important;
    color: var(--cn-slate-600) !important;
    background: #ffffff !important;
}

body.creativo-next-ui.erpgo-identity-shell :is(.btn-secondary, .btn-light):hover {
    border-color: #b8c3cf !important;
    color: var(--cn-slate-900) !important;
    background: var(--cn-slate-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .btn:focus-visible,
body.creativo-next-ui.erpgo-identity-shell .form-control:focus-visible,
body.creativo-next-ui.erpgo-identity-shell .form-select:focus-visible {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.18) !important;
}

/* Forms */
body.creativo-next-ui.erpgo-identity-shell .form-label {
    margin-bottom: 0.42rem;
    color: var(--cn-slate-700) !important;
    font-size: 0.78rem;
    font-weight: 680;
}

body.creativo-next-ui.erpgo-identity-shell :is(.form-control, .form-select, .select2-container .select2-selection--single) {
    min-height: 44px;
    border: 1px solid var(--cn-border-strong) !important;
    border-radius: var(--cn-radius-sm) !important;
    color: var(--cn-slate-900) !important;
    background-color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025) !important;
}

body.creativo-next-ui.erpgo-identity-shell :is(.form-control, .form-select):focus,
body.creativo-next-ui.erpgo-identity-shell .select2-container--open .select2-selection--single {
    border-color: #5eead4 !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15) !important;
}

body.creativo-next-ui.erpgo-identity-shell .form-control::placeholder {
    color: var(--cn-slate-400) !important;
}

body.creativo-next-ui.erpgo-identity-shell .form-check-input:checked {
    border-color: var(--cn-teal-600) !important;
    background-color: var(--cn-teal-600) !important;
}

body.creativo-next-ui.erpgo-identity-shell .form-text,
body.creativo-next-ui.erpgo-identity-shell .text-muted {
    color: var(--cn-slate-500) !important;
}

/* Tables, tabs, menus */
body.creativo-next-ui.erpgo-identity-shell .table-responsive {
    border: 1px solid var(--cn-border) !important;
    border-radius: 14px !important;
    background: #ffffff;
}

body.creativo-next-ui.erpgo-identity-shell .table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: #f8fafb;
    --bs-table-hover-bg: #f0fdfa;
    color: var(--cn-slate-700);
}

body.creativo-next-ui.erpgo-identity-shell .table > :not(caption) > * > * {
    padding: 0.82rem 0.92rem;
    border-bottom-color: #e9edf2;
    vertical-align: middle;
}

body.creativo-next-ui.erpgo-identity-shell .table thead th {
    color: #536172 !important;
    background: #f4f7f8 !important;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

body.creativo-next-ui.erpgo-identity-shell .dropdown-menu {
    padding: 7px !important;
    border: 1px solid var(--cn-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--cn-shadow-raised) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dropdown-item {
    min-height: 38px;
    border-radius: 9px !important;
    color: var(--cn-slate-700);
}

body.creativo-next-ui.erpgo-identity-shell .dropdown-item:hover,
body.creativo-next-ui.erpgo-identity-shell .dropdown-item:focus {
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dropdown-item > i {
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .nav-tabs {
    gap: 4px;
    border-bottom-color: var(--cn-border);
}

body.creativo-next-ui.erpgo-identity-shell .nav-tabs .nav-link,
body.creativo-next-ui.erpgo-identity-shell .nav-pills .nav-link {
    border-radius: 9px 9px 0 0;
    color: var(--cn-slate-600);
    font-size: 0.82rem;
    font-weight: 650;
}

body.creativo-next-ui.erpgo-identity-shell .nav-tabs .nav-link.active,
body.creativo-next-ui.erpgo-identity-shell .nav-pills .nav-link.active {
    border-color: #a7e3de;
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .badge,
body.creativo-next-ui.erpgo-identity-shell [class*="badge"] {
    border-radius: 7px;
    font-weight: 680;
}

body.creativo-next-ui.erpgo-identity-shell .text-primary {
    color: var(--cn-teal-700) !important;
}

body.creativo-next-ui.erpgo-identity-shell .border-primary {
    border-color: var(--cn-teal-500) !important;
}

body.creativo-next-ui.erpgo-identity-shell .progress {
    border-radius: 999px;
    background: #e8eef2;
}

body.creativo-next-ui.erpgo-identity-shell .progress-bar,
body.creativo-next-ui.erpgo-identity-shell .progress-bar.bg-success {
    background: linear-gradient(90deg, var(--cn-teal-600), var(--cn-sky-500)) !important;
}

/* User Management */
body.creativo-next-ui.erpgo-identity-shell .erp-user-avatar {
    border-radius: 16px !important;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

body.creativo-next-ui.erpgo-identity-shell .avatar-tone-1,
body.creativo-next-ui.erpgo-identity-shell .avatar-tone-5 {
    --avatar-bg: #ecfeff;
    --avatar-color: #0e7490;
}

body.creativo-next-ui.erpgo-identity-shell .avatar-tone-2,
body.creativo-next-ui.erpgo-identity-shell .avatar-tone-6 {
    --avatar-bg: #f0fdfa;
    --avatar-color: #0f766e;
}

body.creativo-next-ui.erpgo-identity-shell .avatar-tone-3 {
    --avatar-bg: #eff6ff;
    --avatar-color: #1d4ed8;
}

body.creativo-next-ui.erpgo-identity-shell .avatar-tone-4 {
    --avatar-bg: #fff7ed;
    --avatar-color: #c2410c;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .user-card {
    padding: 19px !important;
    border: 1px solid var(--cn-border) !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #ffffff 0%, #fbfdfd 100%) !important;
    box-shadow: var(--cn-shadow-sm) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .user-card:hover {
    border-color: #b8e1df !important;
    box-shadow: var(--cn-shadow) !important;
    transform: translateY(-3px);
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .user-card .user-role-badge {
    border: 1px solid #bae6fd !important;
    color: #075985 !important;
    background: var(--cn-sky-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .user-card .user-card-menu {
    color: var(--cn-slate-500) !important;
    background: var(--cn-slate-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .user-card .user-card-menu:hover {
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .btn-addnew-project {
    border: 1px dashed #8bd8d1 !important;
    border-radius: 18px !important;
    background: linear-gradient(145deg, #ffffff, var(--cn-teal-50)) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .btn-addnew-project:hover {
    border-color: var(--cn-teal-600) !important;
    background: #e9fbf8 !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-content .btn-addnew-project .proj-add-icon {
    background: linear-gradient(145deg, var(--cn-teal-600), var(--cn-sky-600)) !important;
    box-shadow: 0 14px 26px -16px rgba(13, 148, 136, 0.95) !important;
}

body.creativo-next-ui.erpgo-identity-shell .user-photo-upload {
    border-color: #cce7e5 !important;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fbfc 100%) !important;
}

body.creativo-next-ui.erpgo-identity-shell .user-photo-upload .form-control[type="file"]::file-selector-button {
    color: var(--cn-teal-700);
    background: var(--cn-teal-50);
}

/* Academy and analytic dashboards */
body.creativo-next-ui.erpgo-identity-shell .academy-dash-hero {
    padding: 1.85rem 2rem;
    border: 1px solid rgba(94, 234, 212, 0.18);
    border-radius: 20px;
    background:
        radial-gradient(circle at 86% 18%, rgba(56, 189, 248, 0.26), transparent 14rem),
        radial-gradient(circle at 62% 120%, rgba(45, 212, 191, 0.18), transparent 18rem),
        linear-gradient(125deg, #071827 0%, #0b2c3a 48%, #0f766e 125%) !important;
    box-shadow: 0 24px 54px -34px rgba(6, 78, 88, 0.8);
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-hero::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) !important;
    background-size: 32px 32px !important;
    mask-image: linear-gradient(90deg, transparent, #000 60%, #000);
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-hero .hero-title {
    font-size: 1.55rem;
    letter-spacing: -0.035em;
}

/* Academy Reports Hub */
body.creativo-next-ui.erpgo-identity-shell .academy-report-hub-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 150px;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-kicker {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-bottom: .5rem;
    color: #99f6e4;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-hero-insights {
    display: grid;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    gap: .7rem;
    min-width: 260px;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-hero-insights > div {
    padding: .85rem 1rem;
    border: 1px solid rgba(153, 246, 228, .22);
    border-radius: 14px;
    background: rgba(255, 255, 255, .075);
    backdrop-filter: blur(8px);
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-hero-insights span,
body.creativo-next-ui.erpgo-identity-shell .academy-report-hero-insights strong {
    display: block;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-hero-insights span {
    color: #bae6fd;
    font-size: .72rem;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-hero-insights strong {
    margin-top: .18rem;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-link,
body.creativo-next-ui.erpgo-identity-shell .academy-report-stat-card,
body.creativo-next-ui.erpgo-identity-shell .academy-report-export-card,
body.creativo-next-ui.erpgo-identity-shell .academy-report-filter-card {
    border: 1px solid #dce8ed !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 32px -28px rgba(15, 76, 92, .75) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-link {
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-link:hover {
    border-color: var(--report-color) !important;
    box-shadow: 0 24px 42px -27px color-mix(in srgb, var(--report-color) 56%, transparent) !important;
    transform: translateY(-4px);
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-link .btn {
    border-radius: 11px !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-stat-card {
    position: relative;
    overflow: hidden;
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-stat-card::after {
    position: absolute;
    right: -18px;
    bottom: -22px;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(20, 184, 166, .1), transparent);
    content: '';
}

body.creativo-next-ui.erpgo-identity-shell .academy-report-filter-card {
    background: linear-gradient(110deg, #fff, #f2fbfa) !important;
}

@media (max-width: 767.98px) {
    body.creativo-next-ui.erpgo-identity-shell .academy-report-hub-hero {
        display: block;
        padding: 1.5rem;
    }
    body.creativo-next-ui.erpgo-identity-shell .academy-report-hero-insights {
        min-width: 0;
        margin-top: 1.2rem;
    }
}

/* Keep application navigation anchored on the left in every language. */
html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-sidebar {
    left: 0 !important;
    right: auto !important;
    border-right: 1px solid rgba(148, 163, 184, .12) !important;
    border-left: 0 !important;
}

html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-container,
html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-footer {
    margin-left: 255px !important;
    margin-right: 0 !important;
}

html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-header {
    left: 255px !important;
    right: 0 !important;
}

html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell.minimenu .dash-container,
html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell.minimenu .dash-footer {
    margin-left: 70px !important;
    margin-right: 0 !important;
}

/* Calm, intentional sidebar feedback: no large jumps or continuous effects. */
body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-link {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease,
        box-shadow .18s ease, transform .18s ease !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-micon {
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item:not(.active):not(.dash-trigger) > .dash-link:hover {
    transform: translateX(3px);
    background: linear-gradient(90deg, rgba(14, 165, 233, .13), rgba(20, 184, 166, .05)) !important;
    box-shadow: 0 10px 22px -21px rgba(14, 165, 233, .85) !important;
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-item:not(.active):not(.dash-trigger) > .dash-link:hover .dash-micon {
    transform: scale(1.06);
    border-color: rgba(94, 234, 212, .42) !important;
    background: rgba(20, 184, 166, .16) !important;
}

@media (max-width: 1024px) {
    html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-sidebar {
        left: -255px !important;
        right: auto !important;
    }
    html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-sidebar.mob-sidebar-active {
        left: 0 !important;
    }
    html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-header {
        left: 0 !important;
        right: 0 !important;
    }
    html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-container,
    html[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .dash-footer {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-quick-strip a {
    border-color: rgba(153, 246, 228, 0.22) !important;
    color: #ecfeff !important;
    background: rgba(15, 118, 110, 0.32) !important;
    backdrop-filter: blur(8px);
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-quick-strip a:hover {
    border-color: rgba(186, 230, 253, 0.42) !important;
    background: rgba(14, 165, 233, 0.25) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-metric-ring .ring-track {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-section-title {
    color: var(--cn-slate-600) !important;
    letter-spacing: 0.1em;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-section-title i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50);
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-section-title::after {
    background: linear-gradient(90deg, var(--cn-border), transparent) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi {
    border: 1px solid var(--cn-border) !important;
    border-top: 1px solid var(--cn-border) !important;
    border-bottom: 1px solid var(--cn-border) !important;
    border-radius: 17px !important;
    background: #ffffff !important;
    box-shadow: var(--cn-shadow-sm) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi:hover {
    border-color: #b8e1df !important;
    box-shadow: var(--cn-shadow) !important;
    transform: translateY(-3px);
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi .kpi-body {
    padding: 1.12rem 1.18rem;
}

body.creativo-next-ui.erpgo-identity-shell .academy-language-stat {
    position: relative;
    overflow: hidden;
    min-height: 182px;
    background: linear-gradient(145deg, #fff, #f7fffe) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-language-stat::after {
    position: absolute;
    right: -32px;
    bottom: -36px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(#14b8a6 var(--language-rate), #e6f3f3 0);
    content: '';
    opacity: .3;
}

body.creativo-next-ui.erpgo-identity-shell .academy-language-stat .progress {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #e8eff2;
}

body.creativo-next-ui.erpgo-identity-shell .academy-language-stat .progress-bar {
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6, #0ea5e9) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-language-stat .kpi-body,
body.creativo-next-ui.erpgo-identity-shell .academy-language-stat .px-1 {
    position: relative;
    z-index: 1;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi .kpi-icon-wrap {
    border: 1px solid #ccebe8 !important;
    border-radius: 13px !important;
    color: var(--cn-teal-700) !important;
    background: var(--cn-teal-50) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi.kpi-danger .kpi-icon-wrap {
    border-color: #fecaca !important;
    color: var(--cn-danger) !important;
    background: var(--cn-danger-soft) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi.kpi-warning .kpi-icon-wrap {
    border-color: #fde68a !important;
    color: var(--cn-warning) !important;
    background: var(--cn-warning-soft) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi.kpi-success .kpi-icon-wrap {
    border-color: #a7f3d0 !important;
    color: var(--cn-success) !important;
    background: var(--cn-success-soft) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi .kpi-label {
    color: var(--cn-slate-500) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-kpi .kpi-value {
    color: var(--cn-slate-900);
    font-weight: 750;
    letter-spacing: -0.025em;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-panel,
body.creativo-next-ui.erpgo-identity-shell .academy-dash-actions-bar {
    border: 1px solid var(--cn-border) !important;
    border-radius: 17px !important;
    background: #ffffff !important;
    box-shadow: var(--cn-shadow-sm) !important;
}

body.creativo-next-ui.erpgo-identity-shell .academy-dash-pipeline .lead-chip {
    border-color: var(--cn-border) !important;
    border-radius: 10px !important;
    background: var(--cn-slate-50) !important;
}

/* Small status colors */
body.creativo-next-ui.erpgo-identity-shell .text-success { color: var(--cn-success) !important; }
body.creativo-next-ui.erpgo-identity-shell .text-danger { color: var(--cn-danger) !important; }
body.creativo-next-ui.erpgo-identity-shell .text-warning { color: var(--cn-warning) !important; }
body.creativo-next-ui.erpgo-identity-shell .text-info { color: var(--cn-sky-600) !important; }

/* Authentication */
body.creativo-next-ui.login-identity-page {
    min-height: 100vh;
    color: var(--cn-slate-900) !important;
    background: var(--cn-navy-950) !important;
}

body.creativo-next-ui.login-identity-page::before {
    background:
        linear-gradient(90deg, rgba(125, 211, 252, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(125, 211, 252, 0.045) 1px, transparent 1px),
        radial-gradient(circle at 15% 15%, rgba(20, 184, 166, 0.28), transparent 25rem),
        radial-gradient(circle at 90% 85%, rgba(14, 165, 233, 0.22), transparent 28rem),
        linear-gradient(145deg, #06111f 0%, #0a2130 52%, #06232a 100%) !important;
    background-size: 42px 42px, 42px 42px, auto, auto, auto !important;
}

body.creativo-next-ui.login-identity-page::after {
    right: -180px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    background: rgba(45, 212, 191, 0.12) !important;
    filter: blur(80px);
}

body.creativo-next-ui.login-identity-page .auth-stars,
body.creativo-next-ui.login-identity-page .auth-cursor-glow {
    display: none !important;
}

body.creativo-next-ui.login-identity-page .custom-row {
    max-width: 500px;
}

body.creativo-next-ui.login-identity-page .card {
    border: 1px solid rgba(186, 230, 253, 0.34) !important;
    border-radius: 26px !important;
    color: var(--cn-slate-900) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 36px 100px -46px rgba(2, 132, 199, 0.7) !important;
    backdrop-filter: blur(22px);
}

body.creativo-next-ui.login-identity-page .card-body {
    padding: 36px !important;
}

body.creativo-next-ui.login-identity-page .auth-logo-box {
    border: 1px solid var(--cn-border) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: var(--cn-shadow-sm) !important;
}

body.creativo-next-ui.login-identity-page .auth-brand-accent {
    width: 72px;
    height: 4px;
    margin: 16px auto 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cn-teal-500), var(--cn-sky-500)) !important;
}

body.creativo-next-ui.login-identity-page h2,
body.creativo-next-ui.login-identity-page .form-label {
    color: var(--cn-slate-900) !important;
}

body.creativo-next-ui.login-identity-page .text-muted {
    color: var(--cn-slate-500) !important;
}

body.creativo-next-ui.login-identity-page .forgot-link {
    color: var(--cn-teal-700) !important;
}

body.creativo-next-ui.login-identity-page .form-control {
    min-height: 48px !important;
    border: 1px solid var(--cn-border-strong) !important;
    border-radius: 11px !important;
    color: var(--cn-slate-900) !important;
    background: #ffffff !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03) !important;
}

body.creativo-next-ui.login-identity-page .form-control:focus {
    border-color: #5eead4 !important;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14) !important;
}

body.creativo-next-ui.login-identity-page .btn-primary,
body.creativo-next-ui.login-identity-page #loginSubmitBtn.btn.btn-primary,
body.creativo-next-ui.login-identity-page #forgotSubmitBtn.btn.btn-primary,
body.creativo-next-ui.login-identity-page #resetBtn.btn.btn-primary {
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 11px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--cn-teal-600), var(--cn-sky-600)) !important;
    box-shadow: 0 16px 28px -18px rgba(13, 148, 136, 0.95) !important;
}

body.creativo-next-ui.login-identity-page footer .auth-footer span {
    color: rgba(224, 242, 254, 0.72) !important;
}

/* Responsive refinements */
@media (max-width: 991.98px) {
    body.creativo-next-ui.erpgo-identity-shell .academy-dash-hero {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    body.creativo-next-ui.erpgo-identity-shell .page-header {
        padding: 16px 17px !important;
    }

    body.creativo-next-ui.erpgo-identity-shell .dash-content .card-body,
    body.creativo-next-ui.erpgo-identity-shell .modal-body {
        padding: 16px;
    }

    body.creativo-next-ui.login-identity-page .card-body {
        padding: 26px 22px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.creativo-next-ui *,
    body.creativo-next-ui *::before,
    body.creativo-next-ui *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   Student Directory — warm teal operations workspace
   ========================================================= */
body.creativo-next-ui.erpgo-identity-shell .student-directory-page .page-eyebrow,
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.creativo-next-ui.erpgo-identity-shell .student-directory-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 180px;
    padding: 30px 34px;
    border: 1px solid #b7ebe2;
    border-radius: 24px;
    color: #ecfeff;
    background:
        radial-gradient(circle at 85% 10%, rgba(255,255,255,.16), transparent 28%),
        linear-gradient(135deg, #064e4a 0%, #0f766e 55%, #0891b2 100%);
    box-shadow: 0 24px 55px -34px rgba(6, 78, 59, .8);
}

body.creativo-next-ui.erpgo-identity-shell .student-directory-hero::after {
    content: '';
    position: absolute;
    right: 9%;
    bottom: -80px;
    width: 210px;
    height: 210px;
    border: 34px solid rgba(255,255,255,.08);
    border-radius: 50%;
}

body.creativo-next-ui.erpgo-identity-shell .student-directory-hero h2,
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-hero h2 {
    margin: 0 0 8px;
    color: inherit !important;
    font-size: clamp(1.55rem, 2.2vw, 2.15rem);
    font-weight: 780;
    letter-spacing: -0.045em;
}

body.creativo-next-ui.erpgo-identity-shell .student-directory-hero p,
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(236, 254, 255, .78) !important;
    font-size: .93rem;
}

body.creativo-next-ui.erpgo-identity-shell .student-directory-hero .page-eyebrow {
    color: #99f6e4;
}

body.creativo-next-ui.erpgo-identity-shell .student-hero-badge {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    padding: 19px 22px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px;
    background: rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
    backdrop-filter: blur(12px);
}

body.creativo-next-ui.erpgo-identity-shell .student-hero-badge strong {
    color: #fff;
    font-size: 1.85rem;
    line-height: 1;
}

body.creativo-next-ui.erpgo-identity-shell .student-hero-badge span {
    margin-top: 7px;
    color: #ccfbf1;
    font-size: .78rem;
}

body.creativo-next-ui.erpgo-identity-shell .student-summary-card {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    padding: 17px;
    border: 1px solid var(--cn-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--cn-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.creativo-next-ui.erpgo-identity-shell .student-summary-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cn-shadow);
}

body.creativo-next-ui.erpgo-identity-shell .student-summary-card .metric-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.3rem;
}

body.creativo-next-ui.erpgo-identity-shell .student-summary-card div {
    display: flex;
    flex-direction: column;
}

body.creativo-next-ui.erpgo-identity-shell .student-summary-card strong {
    color: var(--cn-slate-900);
    font-size: 1.42rem;
    line-height: 1.1;
}

body.creativo-next-ui.erpgo-identity-shell .student-summary-card div span {
    margin-top: 5px;
    color: var(--cn-slate-500);
    font-size: .78rem;
}

body.creativo-next-ui.erpgo-identity-shell .student-summary-card.tone-teal .metric-icon { color:#0f766e; background:#ccfbf1; }
body.creativo-next-ui.erpgo-identity-shell .student-summary-card.tone-blue .metric-icon { color:#0369a1; background:#e0f2fe; }
body.creativo-next-ui.erpgo-identity-shell .student-summary-card.tone-amber .metric-icon { color:#b45309; background:#fef3c7; }
body.creativo-next-ui.erpgo-identity-shell .student-summary-card.tone-violet .metric-icon { color:#6d28d9; background:#ede9fe; }

body.creativo-next-ui.erpgo-identity-shell .student-filter-panel,
body.creativo-next-ui.erpgo-identity-shell .student-table-panel {
    border: 1px solid #d5e9e7 !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 42px -34px rgba(15, 118, 110, .55) !important;
}

body.creativo-next-ui.erpgo-identity-shell .student-filter-panel {
    background: linear-gradient(180deg, #fff, #f7fffd) !important;
}

body.creativo-next-ui.erpgo-identity-shell .student-table-panel .erp-table-toolbar {
    border-bottom: 1px solid #d9efec;
    background: #f7fffd;
}

body.creativo-next-ui.erpgo-identity-shell .student-table-panel thead th {
    color: #115e59 !important;
    background: #effcf9 !important;
}

body.creativo-next-ui.erpgo-identity-shell .student-table-panel tbody tr:hover td {
    background: #f5fffd !important;
}

body.creativo-next-ui.erpgo-identity-shell .student-export-btn,
body.creativo-next-ui.erpgo-identity-shell .sales-export-btn {
    border: 0 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #059669, #0f766e) !important;
    box-shadow: 0 12px 22px -15px rgba(5,150,105,.9) !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-page-actions,
body.creativo-next-ui.erpgo-identity-shell .sales-page-actions .sales-export-btn {
    overflow: visible !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-page-actions .sales-export-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 36px;
    padding-inline: 13px !important;
    white-space: nowrap;
}

@media (max-width: 1399.98px) {
    body.creativo-next-ui.erpgo-identity-shell .student-page-actions .btn,
    body.creativo-next-ui.erpgo-identity-shell .sales-page-actions .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 36px;
        padding: 0 !important;
        overflow: visible;
        font-size: 0 !important;
        white-space: nowrap;
    }

    body.creativo-next-ui.erpgo-identity-shell .student-page-actions .btn i,
    body.creativo-next-ui.erpgo-identity-shell .sales-page-actions .btn i {
        margin: 0 !important;
        font-size: 1rem !important;
    }

    body.creativo-next-ui.erpgo-identity-shell .sales-page-actions .action-label {
        display: none !important;
    }
}

/* Clear hover labels for compact page-header and CRM row actions */
body.creativo-next-ui.erpgo-identity-shell .has-hover-label,
body.creativo-next-ui.erpgo-identity-shell .crm-row-action {
    position: relative !important;
}

body.creativo-next-ui.erpgo-identity-shell .has-hover-label::after,
body.creativo-next-ui.erpgo-identity-shell .crm-row-action::after {
    content: attr(data-hover-label);
    position: absolute;
    z-index: 1085;
    right: 0;
    top: calc(100% + 9px);
    width: max-content;
    max-width: 190px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #fff;
    background: #0f172a;
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .75);
    font-size: .72rem !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-3px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

body.creativo-next-ui.erpgo-identity-shell .crm-row-action::after {
    content: attr(title);
    top: auto;
    right: 50%;
    bottom: calc(100% + 8px);
    transform: translate(50%, 3px);
}

body.creativo-next-ui.erpgo-identity-shell .has-hover-label:hover::after,
body.creativo-next-ui.erpgo-identity-shell .has-hover-label:focus-visible::after,
body.creativo-next-ui.erpgo-identity-shell .crm-row-action:hover::after,
body.creativo-next-ui.erpgo-identity-shell .crm-row-action:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body.creativo-next-ui.erpgo-identity-shell .crm-row-action:hover::after,
body.creativo-next-ui.erpgo-identity-shell .crm-row-action:focus-visible::after {
    transform: translate(50%, 0);
}

body.creativo-next-ui.erpgo-identity-shell .sales-reminder-btn {
    border-color: #bae6fd !important;
    color: #0369a1 !important;
    background: #f0f9ff !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-reminder-btn:hover {
    border-color: #38bdf8 !important;
    color: #075985 !important;
    background: #e0f2fe !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-reminder-btn i,
body.creativo-next-ui.erpgo-identity-shell .sales-reminder-btn i::before {
    color: #0369a1 !important;
}

body.creativo-next-ui.erpgo-identity-shell .student-page-actions .btn-outline-warning i,
body.creativo-next-ui.erpgo-identity-shell .student-page-actions .btn-outline-warning i::before {
    color: #b45309 !important;
}

/* Quick Actions and CRM navigation feel responsive on hover */
body.creativo-next-ui.erpgo-identity-shell .qa-item,
body.creativo-next-ui.erpgo-identity-shell .qa-icon,
body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-subicon i {
    transition: transform .18s ease, background-color .18s ease, color .18s ease !important;
}

body.creativo-next-ui.erpgo-identity-shell .qa-item:hover {
    color: #0f766e !important;
    background: #f0fdfa !important;
    transform: translateX(3px);
}

body.creativo-next-ui.erpgo-identity-shell .qa-item:hover .qa-icon {
    transform: scale(1.08) rotate(-4deg);
}

body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .dash-submenu .dash-link:hover .dash-subicon i {
    transform: scale(1.14);
}

/* Compact Students pagination without oversized SVG arrows */
body.creativo-next-ui.erpgo-identity-shell .student-pagination-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-top: 1px solid #d9efec;
    background: #fbfffe;
}

body.creativo-next-ui.erpgo-identity-shell .student-pagination-summary {
    color: var(--cn-slate-500);
    font-size: .78rem;
    white-space: nowrap;
}

body.creativo-next-ui.erpgo-identity-shell .student-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin: 0;
}

body.creativo-next-ui.erpgo-identity-shell .student-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #cfe5e2;
    border-radius: 10px;
    color: #0f766e !important;
    background: #fff;
    font-size: .76rem;
    font-weight: 750;
    text-decoration: none !important;
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease, color .16s ease;
}

body.creativo-next-ui.erpgo-identity-shell .student-page-link.page-number {
    width: 36px;
    min-width: 36px;
    padding: 0;
}

body.creativo-next-ui.erpgo-identity-shell .student-page-link:hover {
    border-color: #5eead4;
    color: #115e59 !important;
    background: #ccfbf1;
    transform: translateY(-2px);
}

body.creativo-next-ui.erpgo-identity-shell .student-page-link.active {
    border-color: #0f766e;
    color: #fff !important;
    background: linear-gradient(135deg, #0f766e, #0891b2);
    box-shadow: 0 10px 20px -13px rgba(13, 148, 136, .9);
}

body.creativo-next-ui.erpgo-identity-shell .student-page-link.disabled {
    border-color: #e2e8f0;
    color: #94a3b8 !important;
    background: #f8fafc;
    cursor: not-allowed;
}

body.creativo-next-ui.erpgo-identity-shell .student-page-ellipsis {
    padding: 0 3px;
    color: #94a3b8;
}

body.creativo-next-ui.erpgo-identity-shell .sales-filter-actions .btn {
    min-width: 78px;
}

@media (min-width: 1200px) {
    body.creativo-next-ui.erpgo-identity-shell .sales-filter-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    body.creativo-next-ui.erpgo-identity-shell .sales-filter-grid > [class*="col-"] {
        width: auto;
        max-width: none;
    }

    body.creativo-next-ui.erpgo-identity-shell .sales-filter-actions {
        grid-column: span 2;
        justify-content: flex-start !important;
    }
}

@media (max-width: 767.98px) {
    body.creativo-next-ui.erpgo-identity-shell .student-pagination-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    body.creativo-next-ui.erpgo-identity-shell .student-pagination {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* Responsible employee chip shared by both report pages */
body.creativo-next-ui.erpgo-identity-shell .responsible-person {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cn-slate-700);
    font-weight: 650;
    white-space: nowrap;
}

body.creativo-next-ui.erpgo-identity-shell .responsible-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    color: #0f766e;
    background: #ccfbf1;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .02em;
}

/* =========================================================
   Sales Intelligence — deep blue analytics workspace
   ========================================================= */
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 190px;
    padding: 32px 36px;
    border: 1px solid #233f68;
    border-radius: 24px;
    color: #eff6ff;
    background:
        linear-gradient(115deg, rgba(14,165,233,.10) 1px, transparent 1px),
        linear-gradient(155deg, #071a33 0%, #0b2e59 58%, #075985 100%);
    background-size: 38px 38px, auto;
    box-shadow: 0 28px 62px -38px rgba(2, 32, 71, .95);
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-hero::after {
    content: '';
    position: absolute;
    top: -110px;
    right: 15%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(14, 165, 233, .16);
    filter: blur(2px);
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-hero .page-eyebrow {
    color: #7dd3fc;
}

body.creativo-next-ui.erpgo-identity-shell .sales-hero-rate {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: grid;
    min-width: 210px;
    padding: 20px 23px;
    border: 1px solid rgba(125, 211, 252, .28);
    border-radius: 18px;
    background: rgba(8, 47, 73, .55);
    backdrop-filter: blur(12px);
}

body.creativo-next-ui.erpgo-identity-shell .sales-hero-rate span {
    color: #bae6fd;
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.creativo-next-ui.erpgo-identity-shell .sales-hero-rate strong {
    margin: 6px 0 4px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
}

body.creativo-next-ui.erpgo-identity-shell .sales-hero-rate small {
    color: #7dd3fc;
}

body.creativo-next-ui.erpgo-identity-shell .sales-scope-panel,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel,
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page > .row > .col-12 > .card {
    border: 1px solid #d9e6f4 !important;
    border-radius: 19px !important;
    box-shadow: 0 16px 42px -34px rgba(15, 56, 97, .6) !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-scope-panel {
    background: linear-gradient(180deg, #fff, #f6faff) !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .academy-kpi-card {
    overflow: hidden;
    border: 1px solid #dbe7f4 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 13px 36px -30px rgba(15, 56, 97, .85) !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .academy-kpi-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #0284c7, #2dd4bf);
    opacity: .72;
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .academy-kpi-card:hover,
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .academy-kpi-card.active-filter {
    border-color: #7dd3fc !important;
    transform: translateY(-3px);
    box-shadow: 0 20px 42px -28px rgba(2,132,199,.65) !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .academy-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    border: 1px solid transparent;
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon i,
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon i::before {
    color: inherit !important;
    font-size: 1.12rem !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon.tone-primary { color: #0369a1 !important; background: #e0f2fe !important; border-color: #bae6fd !important; }
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon.tone-warning { color: #c2410c !important; background: #fff7ed !important; border-color: #fed7aa !important; }
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon.tone-info { color: #0e7490 !important; background: #ecfeff !important; border-color: #a5f3fc !important; }
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon.tone-success { color: #047857 !important; background: #ecfdf5 !important; border-color: #a7f3d0 !important; }
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon.tone-secondary { color: #475569 !important; background: #f1f5f9 !important; border-color: #cbd5e1 !important; }
body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-page .sales-stat-icon.tone-dark { color: #0f172a !important; background: #eef2ff !important; border-color: #c7d2fe !important; }

body.creativo-next-ui.erpgo-identity-shell .sales-scope-apply {
    min-height: 42px;
    min-width: 76px;
    border: 0 !important;
    background: linear-gradient(135deg, #0284c7, #0d9488) !important;
    box-shadow: 0 11px 20px -15px rgba(2,132,199,.95) !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-table-heading h5 {
    color: #0f2f50;
    font-weight: 750;
}

/* The CRM table keeps one stable column order in English and Arabic. */
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-wrapper,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-top,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-container,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-bottom,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel table {
    direction: ltr !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel th,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel td {
    text-align: left !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel th:last-child,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel td:last-child {
    text-align: right !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .lead-name-cell {
    display: inline-block;
    unicode-bidi: plaintext;
}


body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-important {
    background: #f8fcff !important;
    box-shadow: inset 3px 0 0 #38bdf8 !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-critical {
    background: #fffafb !important;
    box-shadow: inset 3px 0 0 #fb7185 !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-important td,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-critical td {
    border-bottom-color: #e7eef5 !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-critical td:first-child::before {
    display: none !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .badge-priority-important,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .badge-priority-critical {
    border-radius: 999px;
    padding: 5px 8px;
    font-weight: 650;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .badge-priority-important {
    color: #075985 !important;
    background: #e0f2fe !important;
    border: 1px solid #bae6fd;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .badge-priority-critical {
    color: #be123c !important;
    background: #fff1f2 !important;
    border: 1px solid #fecdd3;
}

body.creativo-next-ui.erpgo-identity-shell .conversion-mode-switch {
    display: inline-flex;
    gap: 5px;
    margin-top: 14px;
    padding: 5px;
    border: 1px solid rgba(186, 230, 253, .28);
    border-radius: 12px;
    background: rgba(3, 26, 53, .28);
}

body.creativo-next-ui.erpgo-identity-shell .conversion-mode-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #bae6fd !important;
    font-size: .75rem;
    font-weight: 650;
    text-decoration: none;
    transition: .18s ease;
}

body.creativo-next-ui.erpgo-identity-shell .conversion-mode-switch a:hover,
body.creativo-next-ui.erpgo-identity-shell .conversion-mode-switch a.active {
    color: #082f49 !important;
    background: #f0fdfa;
    box-shadow: 0 7px 18px -13px rgba(45,212,191,.9);
}

body.creativo-next-ui.erpgo-identity-shell .sales-performance-pulse {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    height: 100%;
    padding-top: 20px;
}

body.creativo-next-ui.erpgo-identity-shell .sales-performance-pulse > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 8px 9px;
    border: 1px solid #dbeafe;
    border-radius: 11px;
    background: linear-gradient(145deg, #f8fbff, #f0fdfa);
}

body.creativo-next-ui.erpgo-identity-shell .sales-performance-pulse span {
    color: #64748b;
    font-size: .64rem;
    line-height: 1.2;
}

body.creativo-next-ui.erpgo-identity-shell .sales-performance-pulse strong {
    color: #075985;
    font-size: 1rem;
    white-space: nowrap;
}

/* Arabic reverses the table visually: Name on the right, Action on the left. */
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-wrapper,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-top,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-container,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-bottom,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel table {
    direction: rtl !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel th,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel td {
    text-align: right !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel th:last-child,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel td:last-child {
    text-align: left !important;
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 178px;
    background: #fff;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel thead th:last-child {
    z-index: 5;
    background: #f0f6fc !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-important td:last-child {
    background: #f8fcff !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-critical td:last-child {
    background: #fffafb !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-important {
    box-shadow: inset -3px 0 0 #38bdf8 !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr.lead-row-critical {
    box-shadow: inset -3px 0 0 #fb7185 !important;
}

@media (max-width: 1199.98px) {
    body.creativo-next-ui.erpgo-identity-shell .sales-performance-pulse {
        padding-top: 0;
    }
}

@media (max-width: 575.98px) {
    body.creativo-next-ui.erpgo-identity-shell .conversion-mode-switch,
    body.creativo-next-ui.erpgo-identity-shell .conversion-mode-switch a {
        width: 100%;
    }

    body.creativo-next-ui.erpgo-identity-shell .conversion-mode-switch a {
        justify-content: center;
    }

    body.creativo-next-ui.erpgo-identity-shell .sales-performance-pulse {
        grid-template-columns: 1fr;
    }
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel thead th {
    color: #1e3a5f !important;
    background: #f0f6fc !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel tbody tr:hover td {
    background: #f6fbff !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .responsible-avatar {
    color: #075985;
    background: #e0f2fe;
}

/* CRM table: one compact header, edge-to-edge rows, and no legacy divider/footer gaps. */
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel {
    overflow: hidden;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .sales-table-heading {
    padding-bottom: 12px;
    border: 0 !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-top {
    margin: 0 !important;
    padding: 13px 16px !important;
    border: 0 !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-container,
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-bottom {
    margin: 0 !important;
    border: 0 !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .dataTable-bottom {
    padding: 14px 16px 16px !important;
    background: #fbfdff;
}

/* Waiting for group workspace */
body.creativo-next-ui.erpgo-identity-shell .waiting-crm-link,
body.creativo-next-ui.erpgo-identity-shell .waiting-crm-link i {
    color: #0f766e !important;
    border-color: #a7e3de !important;
    background: #f0fdfa !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-crm-link:hover,
body.creativo-next-ui.erpgo-identity-shell .waiting-crm-link:hover i {
    color: #fff !important;
    background: #0d9488 !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-center-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 220px;
    padding: 32px 36px;
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, .28);
    border-radius: 24px;
    color: #e0f2fe;
    background:
        radial-gradient(circle at 80% 10%, rgba(45, 212, 191, .23), transparent 17rem),
        linear-gradient(120deg, #082f49 0%, #0b3d68 58%, #075985 100%);
    box-shadow: 0 26px 58px -38px rgba(3, 37, 65, .95);
}

body.creativo-next-ui.erpgo-identity-shell .waiting-center-hero::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    inset-block-start: -160px;
    inset-inline-end: 14%;
    border: 45px solid rgba(125, 211, 252, .07);
    border-radius: 50%;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-hero-copy,
body.creativo-next-ui.erpgo-identity-shell .waiting-hero-rate {
    position: relative;
    z-index: 1;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-hero-copy {
    max-width: 720px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-center-hero .page-eyebrow {
    color: #67e8f9;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-center-hero h2 {
    margin: 9px 0 7px;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    font-weight: 780;
    letter-spacing: -.045em;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-center-hero p {
    max-width: 650px;
    margin: 0;
    color: #bae6fd;
    font-size: .94rem;
    line-height: 1.7;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid rgba(186, 230, 253, .2);
    border-radius: 999px;
    color: #dff8ff;
    background: rgba(8, 47, 73, .45);
    font-size: .72rem;
    font-weight: 650;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-hero-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 170px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-rate-ring {
    position: relative;
    display: grid;
    width: 138px;
    height: 138px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(#2dd4bf calc(var(--queue-rate) * 1%), rgba(186, 230, 253, .15) 0);
    box-shadow: 0 15px 38px -25px rgba(45, 212, 191, .95);
}

body.creativo-next-ui.erpgo-identity-shell .waiting-rate-ring::before {
    content: '';
    position: absolute;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #0a3b60;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-rate-ring > div {
    position: relative;
    z-index: 1;
    text-align: center;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-rate-ring strong,
body.creativo-next-ui.erpgo-identity-shell .waiting-rate-ring span {
    display: block;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-rate-ring strong {
    color: #fff;
    font-size: 1.55rem;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-rate-ring span,
body.creativo-next-ui.erpgo-identity-shell .waiting-hero-rate small {
    color: #a5f3fc;
    font-size: .68rem;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-hero-rate small {
    margin-top: 8px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 132px;
    gap: 15px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid #dbe7f4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 36px -30px rgba(15, 56, 97, .85);
}

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card::before {
    content: '';
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 3px;
    background: #0ea5e9;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card.tone-warning::before { background: #f59e0b; }
body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card.tone-success::before { background: #10b981; }
body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card.tone-info::before { background: #06b6d4; }

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-icon,
body.creativo-next-ui.erpgo-identity-shell .waiting-section-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: #0369a1;
    border: 1px solid #bae6fd;
    background: #e0f2fe;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card.tone-warning .waiting-kpi-icon { color: #b45309; border-color: #fde68a; background: #fffbeb; }
body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card.tone-success .waiting-kpi-icon { color: #047857; border-color: #a7f3d0; background: #ecfdf5; }
body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card.tone-info .waiting-kpi-icon { color: #0e7490; border-color: #a5f3fc; background: #ecfeff; }

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card p,
body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card small {
    display: block;
    margin: 0;
    color: #64748b;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card p { font-size: .77rem; font-weight: 650; }
body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card strong { display: block; margin: 2px 0 3px; color: #0f2f50; font-size: 1.65rem; line-height: 1.1; }
body.creativo-next-ui.erpgo-identity-shell .waiting-kpi-card small { font-size: .67rem; }

body.creativo-next-ui.erpgo-identity-shell .waiting-insight-card,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel {
    overflow: hidden;
    border: 1px solid #d9e6f4 !important;
    border-radius: 19px !important;
    box-shadow: 0 16px 42px -34px rgba(15, 56, 97, .65) !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-card-heading,
body.creativo-next-ui.erpgo-identity-shell .waiting-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 17px 19px;
    border-bottom: 1px solid #e3edf6;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

body.creativo-next-ui.erpgo-identity-shell .waiting-card-heading > div,
body.creativo-next-ui.erpgo-identity-shell .waiting-table-header > div {
    display: flex;
    align-items: center;
    gap: 11px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-section-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-section-icon.tone-success {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-card-heading h5,
body.creativo-next-ui.erpgo-identity-shell .waiting-table-header h5 {
    margin: 0 0 2px;
    color: #0f2f50;
    font-size: .94rem;
    font-weight: 750;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-card-heading p,
body.creativo-next-ui.erpgo-identity-shell .waiting-table-header p {
    margin: 0;
    color: #64748b;
    font-size: .68rem;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-summary-pill {
    padding: 6px 9px;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    color: #047857;
    background: #ecfdf5;
    font-size: .69rem;
    font-weight: 700;
    white-space: nowrap;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-breakdown-list,
body.creativo-next-ui.erpgo-identity-shell .waiting-owner-list {
    padding: 16px 19px !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-breakdown-row + .waiting-breakdown-row,
body.creativo-next-ui.erpgo-identity-shell .waiting-owner-row + .waiting-owner-row {
    margin-top: 13px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-breakdown-meta,
body.creativo-next-ui.erpgo-identity-shell .waiting-owner-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-breakdown-meta strong,
body.creativo-next-ui.erpgo-identity-shell .waiting-owner-row strong {
    color: #1e3a5f;
    font-size: .76rem;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-breakdown-meta span,
body.creativo-next-ui.erpgo-identity-shell .waiting-owner-row small {
    color: #64748b;
    font-size: .67rem;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-progress {
    height: 7px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf3f7;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-progress span {
    display: block;
    height: 100%;
    min-width: 3px;
    border-radius: inherit;
    background: linear-gradient(90deg, #0284c7, #2dd4bf);
}

body.creativo-next-ui.erpgo-identity-shell .waiting-owner-row {
    justify-content: flex-start;
    padding: 9px 10px;
    border: 1px solid #e5eef6;
    border-radius: 12px;
    background: #fbfdff;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-owner-row > div {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-owner-count {
    min-width: 32px;
    padding: 5px 7px;
    border-radius: 8px;
    color: #075985;
    background: #e0f2fe;
    font-size: .74rem;
    font-weight: 750;
    text-align: center;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-wrapper,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-top,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-container,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-bottom,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel table {
    direction: ltr !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel table {
    min-width: 1080px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-top {
    margin: 0 !important;
    padding: 13px 18px !important;
    border: 0 !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-container,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-bottom {
    margin: 0 !important;
    border: 0 !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-bottom {
    padding: 14px 18px 16px !important;
    background: #fbfdff;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel th,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel td {
    text-align: left !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel th:last-child,
body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel td:last-child {
    position: sticky;
    right: 0;
    z-index: 3;
    min-width: 155px;
    text-align: right !important;
    background: #fff;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel thead th:last-child {
    z-index: 5;
    background: #f0f6fc !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel thead th {
    color: #1e3a5f !important;
    background: #f0f6fc !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel tbody tr:hover td {
    background: #f6fbff !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel tbody tr.waiting-row-attention {
    box-shadow: inset 3px 0 0 #f59e0b;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel tbody tr.waiting-row-critical {
    box-shadow: inset 3px 0 0 #f43f5e;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-name,
body.creativo-next-ui.erpgo-identity-shell .responsible-person {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-name > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-student-name strong { color: #0f2f50; font-size: .77rem; }
body.creativo-next-ui.erpgo-identity-shell .waiting-student-name small { color: #94a3b8; font-size: .62rem; }

body.creativo-next-ui.erpgo-identity-shell .waiting-student-avatar,
body.creativo-next-ui.erpgo-identity-shell .responsible-avatar {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    color: #075985;
    background: #e0f2fe;
    font-size: .62rem;
    font-weight: 750;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-code,
body.creativo-next-ui.erpgo-identity-shell .waiting-language,
body.creativo-next-ui.erpgo-identity-shell .waiting-days-badge,
body.creativo-next-ui.erpgo-identity-shell .waiting-payment,
body.creativo-next-ui.erpgo-identity-shell .waiting-unassigned {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: .65rem;
    font-weight: 650;
    white-space: nowrap;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-code { color: #475569; background: #f1f5f9; }
body.creativo-next-ui.erpgo-identity-shell .waiting-language { color: #0369a1; background: #f0f9ff; }
body.creativo-next-ui.erpgo-identity-shell .waiting-days-badge.normal { color: #047857; background: #ecfdf5; }
body.creativo-next-ui.erpgo-identity-shell .waiting-days-badge.attention { color: #b45309; background: #fffbeb; }
body.creativo-next-ui.erpgo-identity-shell .waiting-days-badge.critical { color: #be123c; background: #fff1f2; }
body.creativo-next-ui.erpgo-identity-shell .waiting-unassigned { color: #b45309; background: #fffbeb; }

body.creativo-next-ui.erpgo-identity-shell .waiting-days-cell {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-days-cell small {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #94a3b8;
    font-size: .58rem;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-row-actions .btn-primary,
body.creativo-next-ui.erpgo-identity-shell .waiting-row-actions .btn-primary span {
    color: #fff !important;
}

body.creativo-next-ui.erpgo-identity-shell .waiting-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: .76rem;
    text-align: center;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-wrapper,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-top,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-container,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel .dataTable-bottom,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel table {
    direction: rtl !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel th,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel td {
    text-align: right !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel th:last-child,
[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel td:last-child {
    position: sticky;
    left: 0;
    right: auto;
    z-index: 3;
    min-width: 155px;
    text-align: left !important;
    background: #fff;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel thead th:last-child {
    z-index: 5;
    background: #f0f6fc !important;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel tbody tr.waiting-row-attention {
    box-shadow: inset -3px 0 0 #f59e0b;
}

[dir="rtl"] body.creativo-next-ui.erpgo-identity-shell .waiting-student-panel tbody tr.waiting-row-critical {
    box-shadow: inset -3px 0 0 #f43f5e;
}

@media (max-width: 991.98px) {
    body.creativo-next-ui.erpgo-identity-shell .waiting-center-hero {
        align-items: flex-start;
        gap: 22px;
        padding: 28px 24px;
    }
}

@media (max-width: 767.98px) {
    body.creativo-next-ui.erpgo-identity-shell .waiting-center-hero {
        flex-direction: column;
    }

    body.creativo-next-ui.erpgo-identity-shell .waiting-hero-rate {
        width: 100%;
    }

    body.creativo-next-ui.erpgo-identity-shell .waiting-card-heading,
    body.creativo-next-ui.erpgo-identity-shell .waiting-table-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    body.creativo-next-ui.erpgo-identity-shell .student-directory-hero,
    body.creativo-next-ui.erpgo-identity-shell .sales-intelligence-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 21px;
    }

    body.creativo-next-ui.erpgo-identity-shell .student-hero-badge,
    body.creativo-next-ui.erpgo-identity-shell .sales-hero-rate {
        width: 100%;
    }
}

/* Stable table orientation: names stay on the right and actions stay on the left in every language. */
body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .table-responsive,
body.creativo-next-ui.erpgo-identity-shell .fixed-table-card .table-responsive {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table {
    direction: rtl !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table th,
body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table td {
    text-align: right !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table th:last-child,
body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table td:last-child {
    text-align: left !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table .text-center {
    text-align: center !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table th:first-child,
body.creativo-next-ui.erpgo-identity-shell table.fixed-rtl-table td:first-child {
    unicode-bidi: plaintext;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table th:last-child,
body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table td:last-child {
    position: sticky;
    right: auto !important;
    left: 0 !important;
    z-index: 4;
    min-width: 132px;
    background: #fff;
    box-shadow: 8px 0 18px -17px rgba(15, 23, 42, .65);
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table th:first-child,
body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table td:first-child {
    position: sticky;
    right: 0 !important;
    left: auto !important;
    z-index: 4;
    min-width: 165px;
    background: #fff;
    box-shadow: -8px 0 18px -17px rgba(15, 23, 42, .65);
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table thead th:last-child {
    z-index: 6;
    background: #f0f6fc !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table thead th:first-child {
    z-index: 6;
    background: #f0f6fc !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table td:last-child .d-flex {
    justify-content: flex-start !important;
    direction: ltr !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table tbody tr:hover td:last-child {
    background: #f6fbff !important;
}

body.creativo-next-ui.erpgo-identity-shell table.fixed-action-table tbody tr:hover td:first-child {
    background: #f6fbff !important;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .lead-status-select {
    min-width: 120px;
}

body.creativo-next-ui.erpgo-identity-shell .sales-leads-panel .sales-table-heading {
    padding-bottom: 4px !important;
}

body.creativo-next-ui.erpgo-identity-shell .progression-table-panel .table {
    min-width: 620px;
}

/* Enrollment Center */
body.creativo-next-ui.erpgo-identity-shell .enrollment-page { max-width: 1600px; margin: 0 auto; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; position:relative; overflow:hidden; margin-bottom:18px; padding:28px 32px; color:#fff; border-radius:20px; background:radial-gradient(circle at 84% 10%,rgba(34,211,238,.32),transparent 25%),linear-gradient(115deg,#062e3a 0%,#075c70 55%,#0694a1 100%); box-shadow:0 16px 35px rgba(4,71,86,.19); }
body.creativo-next-ui.erpgo-identity-shell .enrollment-hero::after { content:''; position:absolute; width:210px; height:210px; right:8%; bottom:-145px; border:1px solid rgba(255,255,255,.16); border-radius:50%; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-eyebrow { display:inline-flex; align-items:center; gap:7px; color:#80f6f3; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-hero h2 { margin:8px 0 5px; color:#fff; font-size:28px; font-weight:800; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-hero p { max-width:690px; margin:0; color:rgba(255,255,255,.82); font-size:14px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-hero-total { position:relative; z-index:1; min-width:190px; padding:16px 20px; border:1px solid rgba(255,255,255,.24); border-radius:15px; background:rgba(2,29,43,.26); backdrop-filter:blur(5px); }
body.creativo-next-ui.erpgo-identity-shell .enrollment-hero-total span, body.creativo-next-ui.erpgo-identity-shell .enrollment-hero-total small { display:block; color:rgba(255,255,255,.74); font-size:11px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-hero-total strong { display:block; margin:3px 0; color:#8ff4bf; font-size:25px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:18px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi { display:flex; align-items:center; gap:13px; min-height:90px; padding:16px 18px; border:1px solid #dbe7f1; border-radius:16px; background:#fff; box-shadow:0 8px 20px rgba(15,51,76,.06); }
body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi-primary { border-color:#72ddeb; background:linear-gradient(130deg,#f7ffff,#ecfcfe); }
body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi-icon { display:grid; place-items:center; width:41px; height:41px; color:#078e9a; border-radius:12px; background:#e5fbfc; font-size:21px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi-icon.is-green { color:#069967; background:#e6fbf0; } body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi-icon.is-purple { color:#7454d7; background:#f0edff; } body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi-icon.is-amber { color:#d47b08; background:#fff4df; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi small { display:block; color:#71839b; font-size:12px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-kpi strong { display:block; margin-top:2px; color:#102d4a; font-size:23px; line-height:1.1; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filters, body.creativo-next-ui.erpgo-identity-shell .enrollment-table-card { margin-bottom:18px; border:1px solid #d9e7f0; border-radius:18px; background:#fff; box-shadow:0 10px 24px rgba(15,51,76,.055); }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filters { padding:18px 20px 20px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-head, body.creativo-next-ui.erpgo-identity-shell .enrollment-table-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-head > div, body.creativo-next-ui.erpgo-identity-shell .enrollment-table-toolbar > div { display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-head strong, body.creativo-next-ui.erpgo-identity-shell .enrollment-table-toolbar strong { color:#143451; font-size:15px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-head small, body.creativo-next-ui.erpgo-identity-shell .enrollment-table-toolbar small { color:#7e91a8; font-size:12px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-section-icon { display:inline-grid; place-items:center; width:31px; height:31px; color:#078e9a; border-radius:9px; background:#e6fbfc; font-size:17px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-clear { color:#496078; border-color:#cedae5; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid { display:grid; grid-template-columns:1.55fr repeat(4,1fr) .9fr .9fr auto; gap:12px; align-items:end; margin-top:16px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid label { margin:0; } body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid label > span { display:block; margin:0 0 6px; color:#38546f; font-size:11px; font-weight:800; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid input, body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid select { width:100%; min-height:38px; padding:8px 10px; color:#163a59; border:1px solid #ceddea; border-radius:9px; background:#fff; font-size:12px; outline:none; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid input:focus, body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid select:focus { border-color:#08a8b1; box-shadow:0 0 0 3px rgba(6,165,177,.11); }
body.creativo-next-ui.erpgo-identity-shell .input-icon-wrap { position:relative; } body.creativo-next-ui.erpgo-identity-shell .input-icon-wrap i { position:absolute; left:10px; top:11px; color:#7c90a5; font-size:15px; } body.creativo-next-ui.erpgo-identity-shell .input-icon-wrap input { padding-left:31px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-actions .btn { min-height:38px; padding:7px 14px; white-space:nowrap; } body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-actions .btn-primary { border-color:#07979d; background:#07979d; } body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-actions .btn-primary:hover { border-color:#087f88; background:#087f88; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-table-toolbar { padding:16px 20px; border-bottom:1px solid #e1ebf2; } body.creativo-next-ui.erpgo-identity-shell .enrollment-table-meta { padding:5px 9px; color:#07876f; border-radius:99px; background:#eafaf3; font-size:11px; font-weight:700; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-table { min-width:1210px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-table thead th { padding:12px 14px; color:#4c6680; border-bottom:1px solid #d9e7f0; background:#f1f7fb; font-size:10px; font-weight:800; letter-spacing:.035em; text-transform:uppercase; white-space:nowrap; } body.creativo-next-ui.erpgo-identity-shell .enrollment-table tbody td { padding:12px 14px; border-color:#e8f0f5; color:#36516c; font-size:12px; vertical-align:middle; } body.creativo-next-ui.erpgo-identity-shell .enrollment-table tbody tr { transition:background .18s ease; } body.creativo-next-ui.erpgo-identity-shell .enrollment-table tbody tr:hover { background:#f5fcfd; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-student { display:flex; align-items:center; gap:9px; color:inherit; text-decoration:none; } body.creativo-next-ui.erpgo-identity-shell .enrollment-student:hover strong { color:#008d98; } body.creativo-next-ui.erpgo-identity-shell .enrollment-avatar { display:grid; place-items:center; width:34px; height:34px; color:#087f8a; border-radius:10px; background:#e3f9f9; font-size:11px; font-weight:800; } body.creativo-next-ui.erpgo-identity-shell .enrollment-student strong, body.creativo-next-ui.erpgo-identity-shell .enrollment-student small { display:block; } body.creativo-next-ui.erpgo-identity-shell .enrollment-student strong { color:#183854; font-size:12px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-student small { margin-top:2px; color:#8798aa; font-size:10px; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-language, body.creativo-next-ui.erpgo-identity-shell .enrollment-offering, body.creativo-next-ui.erpgo-identity-shell .enrollment-owner { display:inline-flex; align-items:center; gap:5px; max-width:170px; color:#24546c; font-weight:600; } body.creativo-next-ui.erpgo-identity-shell .enrollment-language i { color:#0399af; } body.creativo-next-ui.erpgo-identity-shell .enrollment-offering i { color:#7563e7; } body.creativo-next-ui.erpgo-identity-shell .enrollment-owner i { display:grid; place-items:center; width:23px; height:23px; color:#0b8391; border-radius:7px; background:#e4f7fb; } body.creativo-next-ui.erpgo-identity-shell .enrollment-owner em { color:#8a99a9; font-size:9px; font-style:normal; font-weight:700; } body.creativo-next-ui.erpgo-identity-shell .enrollment-date { white-space:nowrap; color:#526c86; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-payment { min-width:128px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-payment div:first-child { display:flex; align-items:baseline; gap:3px; white-space:nowrap; } body.creativo-next-ui.erpgo-identity-shell .enrollment-payment strong { color:#008465; font-size:12px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-payment span { color:#8a9aaa; font-size:10px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-payment small { display:block; margin-top:4px; color:#7d91a6; font-size:10px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-progress { width:100%; height:5px; margin-top:5px; overflow:hidden; border-radius:99px; background:#e5edf3; } body.creativo-next-ui.erpgo-identity-shell .enrollment-progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#12b981,#22caad); }
body.creativo-next-ui.erpgo-identity-shell .enrollment-status { display:inline-flex; padding:5px 8px; border-radius:7px; font-size:10px; font-weight:800; white-space:nowrap; } body.creativo-next-ui.erpgo-identity-shell .enrollment-status-active { color:#078b66; background:#e6f9ef; } body.creativo-next-ui.erpgo-identity-shell .enrollment-status-completed { color:#1976b6; background:#e6f4ff; } body.creativo-next-ui.erpgo-identity-shell .enrollment-status-pending { color:#b66c00; background:#fff2dc; } body.creativo-next-ui.erpgo-identity-shell .enrollment-status-cancelled { color:#c53e58; background:#fff0f2; }
body.creativo-next-ui.erpgo-identity-shell .enrollment-view { display:inline-flex; align-items:center; gap:5px; color:#057f91; border-color:#a9dbe2; background:#effcfd; } body.creativo-next-ui.erpgo-identity-shell .enrollment-view:hover { color:#fff; border-color:#078b96; background:#078b96; } body.creativo-next-ui.erpgo-identity-shell .enrollment-empty { display:flex; min-height:180px; flex-direction:column; align-items:center; justify-content:center; gap:7px; color:#7b90a4; text-align:center; } body.creativo-next-ui.erpgo-identity-shell .enrollment-empty i { color:#16a9b3; font-size:32px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-empty strong { color:#2d4d67; } body.creativo-next-ui.erpgo-identity-shell .enrollment-empty span { font-size:12px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-pagination { padding:12px 18px 16px; border-top:1px solid #e3edf3; } body.creativo-next-ui.erpgo-identity-shell .enrollment-pagination .pagination { margin:0; justify-content:flex-end; }
@media (max-width:1400px) { body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:820px) { body.creativo-next-ui.erpgo-identity-shell .enrollment-hero { align-items:flex-start; flex-direction:column; padding:23px; } body.creativo-next-ui.erpgo-identity-shell .enrollment-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px) { body.creativo-next-ui.erpgo-identity-shell .enrollment-kpis, body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-grid { grid-template-columns:1fr; } body.creativo-next-ui.erpgo-identity-shell .enrollment-filter-head { align-items:flex-start; flex-direction:column; } body.creativo-next-ui.erpgo-identity-shell .enrollment-hero h2 { font-size:23px; } }

/* Sidebar account control */
body.creativo-next-ui.erpgo-identity-shell .dash-sidebar .navbar-wrapper { padding-bottom:72px; }
body.creativo-next-ui.erpgo-identity-shell .sidebar-account-actions { position:absolute; z-index:20; right:12px; bottom:13px; left:12px; display:block; padding:8px; border:1px solid rgba(109,223,230,.16); border-radius:14px; background:rgba(2,23,48,.72); box-shadow:0 8px 22px rgba(0,0,0,.14); backdrop-filter:blur(10px); }
body.creativo-next-ui.erpgo-identity-shell .sidebar-logout-form { margin:0; }
body.creativo-next-ui.erpgo-identity-shell .sidebar-control-btn { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; min-height:36px; padding:7px 9px; color:#d7ecf3; border:1px solid rgba(166,219,226,.16); border-radius:9px; background:rgba(255,255,255,.055); font-size:11px; font-weight:800; transition:background .18s ease,transform .18s ease,color .18s ease; }
body.creativo-next-ui.erpgo-identity-shell .sidebar-control-btn:hover { color:#fff; background:rgba(13,184,188,.22); transform:translateY(-1px); }
body.creativo-next-ui.erpgo-identity-shell .sidebar-control-icon { display:grid; place-items:center; font-size:17px; line-height:1; }
body.creativo-next-ui.erpgo-identity-shell .sidebar-logout-btn:hover { color:#ffd7df; background:rgba(244,63,94,.2); }

/* Final login brand lockup: mirrors the sidebar and remains LTR in Arabic. */
body.creativo-next-ui.login-identity-page .auth-logo-box { min-width:215px; justify-content:flex-start !important; gap:10px; padding:8px 11px !important; direction:ltr; border:1px solid rgba(133,222,228,.2) !important; border-radius:13px !important; background:linear-gradient(115deg,#12394a,#0d6070) !important; box-shadow:0 10px 24px rgba(3,49,64,.22) !important; }
body.creativo-next-ui.login-identity-page .auth-logo-mark { display:grid; place-items:center; width:45px; height:45px; flex:0 0 45px; overflow:hidden; border:1px solid rgba(132,225,230,.28); border-radius:11px; background:rgba(3,48,61,.42); }
body.creativo-next-ui.login-identity-page .auth-logo-mark img { display:block; width:36px; height:36px; max-width:none; max-height:none; object-fit:contain; }
body.creativo-next-ui.login-identity-page .auth-logo-copy { display:flex; flex-direction:column; align-items:flex-start; line-height:1.08; }
body.creativo-next-ui.login-identity-page .auth-logo-copy strong { color:#f8ffff !important; font-size:16px; font-weight:800; letter-spacing:.09em; }
body.creativo-next-ui.login-identity-page .auth-logo-copy small { margin-top:4px; color:#9ccbd1 !important; font-size:10px; font-weight:700; }
