:root {
    --workspace-bg: #eef4ff;
    --workspace-surface: rgba(255, 255, 255, 0.94);
    --workspace-surface-strong: #ffffff;
    --workspace-border: rgba(0, 25, 76, 0.08);
    --workspace-border-strong: rgba(0, 14, 41, 0.14);
    --workspace-text: #000e29;
    --workspace-muted: #4d6388;
    --workspace-accent: #124dc3;
    --workspace-accent-strong: #00194c;
    --workspace-accent-soft: rgba(37, 150, 190, 0.14);
    --workspace-warning: #2596be;
    --workspace-danger: #00194c;
    --workspace-shadow: 0 24px 60px rgba(0, 25, 76, 0.10);
    --workspace-radius-lg: 28px;
    --workspace-radius-md: 20px;
    --workspace-radius-sm: 14px;
    --app-header-offset: 96px;
}

body.workspace-app {
    background:
        radial-gradient(circle at top left, rgba(18, 77, 195, 0.18), transparent 32%),
        radial-gradient(circle at right 10%, rgba(37, 150, 190, 0.16), transparent 26%),
        linear-gradient(180deg, #f4f8ff 0%, #eaf1ff 100%);
    color: var(--workspace-text);
    font-family: "Plus Jakarta Sans", "Roboto", sans-serif;
    padding-top: var(--app-header-offset) !important;
    overflow-x: hidden;
}

body.workspace-app h1,
body.workspace-app h2,
body.workspace-app h3,
body.workspace-app h4,
body.workspace-app h5,
body.workspace-app h6,
.login-page h1,
.login-page h2,
.login-page h3,
.login-page h4 {
    color: #00194c;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    letter-spacing: -0.03em;
}

body.workspace-app a {
    color: inherit;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 12px 30px rgba(0, 25, 76, 0.08);
    backdrop-filter: blur(16px);
}

.header .navbar {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.header .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.header .navbar-holder {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    min-height: 78px;
    margin: 0;
    padding: 14px 24px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.menu-btn,
.nav-menu .nav-link,
.app-toolbar-btn,
.command-center__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(18, 77, 195, 0.10);
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.92);
    color: var(--workspace-text);
    transition: all 0.2s ease;
}

.menu-btn {
    width: 46px;
    height: 46px;
}

.menu-btn:hover,
.nav-menu .nav-link:hover,
.app-toolbar-btn:hover,
.command-center__close:hover {
    transform: translateY(-1px);
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(0, 25, 76, 0.10);
}

body.workspace-app .header .menu-btn,
body.workspace-app .header .nav-item--fullscreen > .nav-link,
body.workspace-app .header .nav-item--notifications > .nav-link,
body.workspace-app .header .nav-item--help > .nav-link,
body.workspace-app .header .nav-item--command-center > .nav-link {
    background: linear-gradient(135deg, #1e49b6, #2b84dc);
    border-color: rgba(24, 76, 195, 0.38);
    color: #ffffff !important;
    box-shadow: 0 16px 30px rgba(18, 77, 195, 0.18);
}

body.workspace-app .header .nav-item--command-center > .nav-link small,
body.workspace-app .header .nav-item--command-center > .nav-link .app-toolbar-btn__label,
body.workspace-app .header .nav-item--command-center > .nav-link i,
body.workspace-app .header .menu-btn i,
body.workspace-app .header .nav-item--fullscreen > .nav-link i,
body.workspace-app .header .nav-item--notifications > .nav-link i,
body.workspace-app .header .nav-item--help > .nav-link i {
    color: #ffffff !important;
}

body.workspace-app .header .nav-item--command-center > .nav-link small {
    color: rgba(255, 255, 255, 0.76) !important;
}

body.workspace-app .header .menu-btn:hover,
body.workspace-app .header .nav-item--fullscreen > .nav-link:hover,
body.workspace-app .header .nav-item--notifications > .nav-link:hover,
body.workspace-app .header .nav-item--help > .nav-link:hover,
body.workspace-app .header .nav-item--command-center > .nav-link:hover {
    background: linear-gradient(135deg, #15368e, #2268b5);
    box-shadow: 0 18px 34px rgba(10, 55, 150, 0.24);
}

#site_logo_main {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex: 1 1 auto;
    min-width: 0;
}

#site_logo_main img {
    width: auto;
    height: 52px;
    max-width: min(280px, 34vw);
    object-fit: contain;
    border-radius: 0;
    display: block;
}

#site_title_main {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.workspace-context {
    flex-direction: column;
    min-width: 0;
    padding-left: 8px;
}

.workspace-context__eyebrow {
    color: var(--workspace-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.workspace-context__title {
    font-size: 1rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    min-width: 0;
    gap: 10px;
    margin-bottom: 0;
}

.nav-menu .nav-link,
.app-toolbar-btn {
    min-height: 46px;
    padding: 0 16px;
}

.app-toolbar-btn__label {
    font-weight: 700;
}

.app-toolbar-btn small {
    color: var(--workspace-muted);
    font-size: 0.72rem;
}

.workspace-clock {
    display: flex;
    flex-direction: column;
    min-width: 148px;
    padding: 8px 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: rgba(241, 246, 255, 0.94);
}

.workspace-clock__label,
.workspace-clock small {
    color: var(--workspace-muted);
}

.workspace-clock strong {
    font-size: 1rem;
    font-weight: 800;
}

body.workspace-app .right-sidebar {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: auto;
    width: max-content;
    min-width: 250px;
    max-width: min(460px, calc(100vw - 40px));
    height: auto !important;
    max-height: none !important;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(6, 23, 56, 0.99) 0%, rgba(18, 41, 77, 0.99) 100%);
    color: #eff6ff;
    box-shadow: var(--workspace-shadow);
    backdrop-filter: blur(18px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1300;
    overflow: visible !important;
}

.header .nav-item {
    position: relative;
}

body.workspace-app .header .right-sidebar.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

body.workspace-app .right-sidebar li {
    padding: 0 14px;
    line-height: 1.35;
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

body.workspace-app .right-sidebar li.header,
body.workspace-app .right-sidebar li.header a,
body.workspace-app .right-sidebar li a,
body.workspace-app .right-sidebar .btn-link {
    color: #f8fbff !important;
    white-space: normal;
}

body.workspace-app .header .right-sidebar,
body.workspace-app .header .right-sidebar li.header {
    background: #081a3f !important;
    background-image: none !important;
}

body.workspace-app .header .right-sidebar--notifications {
    width: min(460px, calc(100vw - 40px));
    min-width: min(460px, calc(100vw - 40px));
    max-height: min(560px, calc(100vh - var(--app-header-offset) - 40px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(142, 197, 255, 0.55) rgba(255, 255, 255, 0.06);
}

body.workspace-app .header .right-sidebar--notifications::-webkit-scrollbar {
    width: 8px;
}

body.workspace-app .header .right-sidebar--notifications::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
}

body.workspace-app .header .right-sidebar--notifications::-webkit-scrollbar-thumb {
    background: rgba(142, 197, 255, 0.55);
    border-radius: 999px;
}

body.workspace-app .header .right-sidebar--notifications li.header {
    position: sticky;
    top: 0;
    z-index: 2;
    margin: -10px -10px 8px;
    padding: 14px 24px 12px;
    border-radius: 22px 22px 0 0;
}

body.workspace-app .header .right-sidebar--notifications li {
    padding-left: 10px;
    padding-right: 10px;
}

body.workspace-app .header .right-sidebar--notifications li:not(.header) a {
    padding: 14px 12px;
    line-height: 1.45;
}

body.workspace-app .header .right-sidebar--notifications .notification-empty {
    padding: 18px 18px 10px;
    color: #d9e7ff;
    text-align: center;
}

body.workspace-app .header .right-sidebar--notifications .notification-empty span {
    display: block;
    padding: 16px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
}

body.workspace-app .header .right-sidebar li {
    background: transparent !important;
}

body.workspace-app .right-sidebar li a,
body.workspace-app .right-sidebar .btn-link {
    display: block;
    padding: 12px 10px;
    border-radius: 12px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.workspace-app .right-sidebar li.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 6px;
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

body.workspace-app .right-sidebar li.header span {
    float: none !important;
}

body.workspace-app .right-sidebar li.header a {
    padding: 0;
    color: #8ec5ff !important;
    font-size: 0.85rem;
    font-weight: 700;
}

body.workspace-app .right-sidebar form {
    margin: 0;
}

body.workspace-app .right-sidebar .btn-link {
    width: 100%;
    padding: 12px 10px;
    text-align: left;
}

body.workspace-app .right-sidebar li:not(.header) a,
body.workspace-app .right-sidebar li:not(.header) .btn-link {
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.04);
}

body.workspace-app .right-sidebar li a:hover,
body.workspace-app .right-sidebar li a:focus,
body.workspace-app .right-sidebar .btn-link:hover,
body.workspace-app .right-sidebar .btn-link:focus {
    background: linear-gradient(135deg, #1f3f8f 0%, #2c8be6 100%) !important;
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(25, 76, 171, 0.28);
}

body.workspace-app .right-sidebar li.header a:hover,
body.workspace-app .right-sidebar li.header a:focus {
    background: transparent !important;
    color: #8ec5ff !important;
    box-shadow: none;
}

body.workspace-app .dropdown-menu .dropdown-item:hover,
body.workspace-app .dropdown-menu .dropdown-item:focus,
body.workspace-app .dropdown-menu .dropdown-item.active,
body.workspace-app .dropdown-menu .dropdown-item:active {
    background: linear-gradient(135deg, #1f3f8f 0%, #2c8be6 100%) !important;
    color: #ffffff !important;
}

nav.side-navbar {
    top: calc(var(--app-header-offset) + 18px);
    left: 18px;
    bottom: 18px;
    width: 300px;
    height: calc(100vh - var(--app-header-offset) - 36px);
    max-height: calc(100vh - var(--app-header-offset) - 36px);
    padding: 18px 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    background: linear-gradient(180deg, #000e29 0%, #00194c 100%);
    box-shadow: 0 28px 60px rgba(0, 14, 41, 0.30);
}

nav.side-navbar .side-navbar-wrapper {
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}

nav.side-navbar ul li a {
    margin: 4px 10px;
    border-radius: 16px;
    color: rgba(245, 250, 255, 0.95);
    font-weight: 600;
    transition: all 0.2s ease;
}

nav.side-navbar ul li a:hover,
nav.side-navbar ul li.active > a,
nav.side-navbar ul li a[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

nav.side-navbar ul li ul a {
    margin-left: 22px;
    color: rgba(235, 245, 255, 0.82);
}

body.workspace-app nav.side-navbar ul li ul {
    margin: 8px 12px 10px;
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(18, 77, 195, 0.18) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.workspace-app nav.side-navbar ul li ul li a {
    margin: 2px 0;
    padding: 8px 14px;
    border-radius: 14px;
    color: rgba(245, 250, 255, 0.92);
}

body.workspace-app nav.side-navbar ul li ul li a:hover,
body.workspace-app nav.side-navbar ul li ul li.active > a,
body.workspace-app nav.side-navbar ul li ul li a:focus {
    padding-left: 14px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

nav.side-navbar.shrink {
    width: 96px;
}

nav.side-navbar.shrink .main-menu span,
nav.side-navbar.shrink .side-menu li a strong {
    opacity: 0;
}

.page {
    width: calc(100% - 358px);
    max-width: calc(100vw - 358px);
    min-height: calc(100vh - var(--app-header-offset) - 18px);
    margin-left: 340px;
    padding: 16px 18px 24px;
    overflow-x: hidden;
}

.page.active {
    margin-left: 136px;
    width: calc(100% - 154px);
    max-width: calc(100vw - 154px);
}

.workspace-page-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 0;
}

.main-footer {
    margin-top: 26px;
    padding: 18px 8px 0;
    color: var(--workspace-muted);
    background: transparent;
}

.main-footer p {
    margin: 0;
    padding: 14px 18px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.card,
.wrapper,
.modal-content,
.table-responsive,
.pagination .page-link {
    border: 1px solid var(--workspace-border);
    border-radius: var(--workspace-radius-md);
    background: var(--workspace-surface);
    box-shadow: var(--workspace-shadow);
}

.wrapper,
.card-body,
.card-header {
    background: transparent;
}

.card {
    overflow: hidden;
}

.card-header {
    padding: 1.15rem 1.35rem 0;
    border-bottom: none;
}

.card-body {
    padding: 1.2rem 1.35rem 1.35rem;
}

.wrapper.count-title {
    padding: 1.15rem 1.2rem;
}

.form-control,
.custom-select,
.bootstrap-select .dropdown-toggle,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 48px;
    border: 1px solid rgba(18, 77, 195, 0.12) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: none !important;
    color: #5d6779 !important;
}

select.form-control,
.custom-select,
.form-control option,
.custom-select option,
.bootstrap-select > .dropdown-toggle,
.bootstrap-select > .dropdown-toggle .filter-option,
.bootstrap-select > .dropdown-toggle .filter-option-inner,
.bootstrap-select > .dropdown-toggle .filter-option-inner-inner,
.bootstrap-select .dropdown-menu .dropdown-item,
.bootstrap-select .dropdown-menu .dropdown-item span,
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--multiple .select2-selection__choice,
.select2-results__option,
.dropdown-item,
.dropdown-item.selected {
    color: #5d6779 !important;
}

.bootstrap-select .dropdown-toggle::after,
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    color: #5d6779 !important;
    border-top-color: #5d6779 !important;
}

.bootstrap-select .dropdown-menu .dropdown-item.selected,
.bootstrap-select .dropdown-menu .dropdown-item.active,
.select2-results__option[aria-selected="true"],
.select2-results__option--highlighted[aria-selected] {
    background: #eef5ff !important;
    color: #4e596b !important;
}

.tooltip,
.popover,
.datepicker,
.datepicker-dropdown,
.clockpicker-popover,
.ui-datepicker,
.daterangepicker,
.bootstrap-select .dropdown-menu,
.select2-container,
.select2-dropdown {
    z-index: 1800 !important;
}

.tooltip .tooltip-inner {
    border-radius: 12px;
    background: #081a3f;
    color: #f8fbff;
    box-shadow: 0 14px 30px rgba(0, 14, 41, 0.22);
}

.tooltip.bs-tooltip-top .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="top"] .arrow::before {
    border-top-color: #081a3f;
}

.tooltip.bs-tooltip-bottom .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
    border-bottom-color: #081a3f;
}

.tooltip.bs-tooltip-left .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="left"] .arrow::before {
    border-left-color: #081a3f;
}

.tooltip.bs-tooltip-right .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^="right"] .arrow::before {
    border-right-color: #081a3f;
}

.modal-backdrop {
    z-index: 1500 !important;
}

.modal {
    z-index: 1600 !important;
    padding: calc(var(--app-header-offset) + 16px) 14px 24px !important;
}

.modal-dialog {
    margin: 0 auto;
}

.modal-content {
    max-height: calc(100vh - var(--app-header-offset) - 40px);
    overflow: hidden;
}

.modal-body {
    overflow-y: auto;
}

.btn,
button.btn,
input[type="submit"].btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.btn-primary,
.btn-warning,
.btn-success,
.btn-default {
    border: none;
    box-shadow: 0 18px 34px rgba(18, 77, 195, 0.22);
}

.btn-primary,
.btn-success {
    background: linear-gradient(135deg, #124dc3 0%, #2596be 100%);
}

.btn-warning {
    color: #ffffff;
    background: linear-gradient(135deg, #00194c 0%, #124dc3 100%);
}

.btn-default {
    color: #ffffff;
    background: linear-gradient(135deg, #00194c 0%, #2596be 100%);
}

.app-floating-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 5000;
    width: min(560px, calc(100vw - 32px));
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.app-floating-alert .alert {
    position: relative;
    margin-bottom: 0;
    padding: 16px 48px 16px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    color: #10213d;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.22);
    pointer-events: auto;
}

.app-floating-alert .alert-danger {
    border-color: rgba(220, 38, 38, 0.18);
    background: rgba(255, 245, 245, 0.98);
    color: #7f1d1d;
}

.app-floating-alert .alert-success {
    border-color: rgba(5, 150, 105, 0.18);
    background: rgba(240, 253, 250, 0.98);
    color: #065f46;
}

.app-floating-alert .alert-warning {
    border-color: rgba(217, 119, 6, 0.18);
    background: rgba(255, 251, 235, 0.98);
    color: #92400e;
}

.app-floating-alert .alert-info {
    border-color: rgba(37, 99, 235, 0.18);
    background: rgba(239, 246, 255, 0.98);
    color: #1d4ed8;
}

.app-floating-alert .alert .close {
    position: absolute;
    top: 10px;
    right: 14px;
    color: inherit;
    opacity: 0.75;
}

.table thead th,
.table td,
.table th {
    border-top-color: rgba(15, 23, 42, 0.08);
}

.dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.36), transparent 22%),
        linear-gradient(135deg, #000e29 0%, #00194c 46%, #124dc3 80%, #2596be 100%);
    color: #ffffff;
    box-shadow: 0 34px 90px rgba(0, 25, 76, 0.24);
}

.dashboard-hero::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 14, 41, 0.56) 0%, rgba(0, 14, 41, 0.46) 46%, rgba(0, 14, 41, 0.24) 100%);
    content: "";
    z-index: 0;
}

.dashboard-hero::after {
    position: absolute;
    top: -70px;
    right: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    content: "";
    z-index: 0;
}

.dashboard-hero > * {
    position: relative;
    z-index: 1;
}

.dashboard-hero__eyebrow,
.dashboard-hero__meta span,
.dashboard-hero__stat span {
    color: rgba(233, 243, 255, 0.92);
}

.dashboard-hero__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-hero h1,
.dashboard-hero h1 span,
.dashboard-hero h1 small {
    margin-bottom: 14px;
    color: #ffffff !important;
    font-size: 2.35rem;
    text-shadow: 0 10px 30px rgba(0, 14, 41, 0.28);
}

.dashboard-hero p {
    max-width: 620px;
    margin-bottom: 22px;
    color: rgba(240, 247, 255, 0.94);
    font-size: 1rem;
    text-shadow: 0 8px 24px rgba(0, 14, 41, 0.24);
}

.dashboard-hero__meta,
.dashboard-hero__actions,
.dashboard-kpi-grid,
.dashboard-quick-links {
    display: grid;
    gap: 14px;
}

.dashboard-hero__meta {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 24px;
}

.dashboard-hero__stat {
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 22px;
    background: rgba(6, 24, 65, 0.28);
}

.dashboard-hero__stat strong {
    display: block;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
}

.dashboard-hero__actions {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dashboard-hero__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-weight: 800;
    background: linear-gradient(135deg, #0b1e4e 0%, #124dc3 100%);
    box-shadow: 0 18px 36px rgba(0, 14, 41, 0.24);
    text-shadow: 0 2px 14px rgba(0, 14, 41, 0.24);
}

.dashboard-hero__actions a.secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(135deg, rgba(0, 14, 41, 0.92) 0%, rgba(18, 77, 195, 0.88) 100%);
}

.dashboard-kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 24px;
}

.dashboard-kpi-card {
    padding: 20px;
    border: 1px solid var(--workspace-border);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--workspace-shadow);
}

.dashboard-kpi-card__label {
    color: var(--workspace-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-kpi-card__value {
    margin-top: 10px;
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.dashboard-kpi-card__hint {
    margin-top: 6px;
    color: var(--workspace-muted);
    font-size: 0.88rem;
}

.dashboard-section-card {
    height: 100%;
    padding: 24px;
    border: 1px solid var(--workspace-border);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--workspace-shadow);
}

.dashboard-section-card__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--workspace-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.dashboard-section-card__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.dashboard-section-card__header h3,
.dashboard-section-card__header h4 {
    margin: 0;
}

.dashboard-list,
.dashboard-mini-list,
.dashboard-timeline,
.dashboard-quick-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.dashboard-list li,
.dashboard-mini-list li,
.dashboard-timeline li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.dashboard-list li:first-child,
.dashboard-mini-list li:first-child,
.dashboard-timeline li:first-child {
    padding-top: 0;
    border-top: none;
}

.dashboard-list strong,
.dashboard-mini-list strong {
    display: block;
    font-weight: 700;
}

.dashboard-list small,
.dashboard-mini-list small,
.dashboard-timeline small {
    color: var(--workspace-muted);
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    min-width: 44px;
    justify-content: center;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    background: var(--workspace-accent-soft);
    color: var(--workspace-accent-strong);
}

.dashboard-quick-links {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.dashboard-quick-links a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 150px;
    padding: 18px;
    border: 1px solid rgba(18, 77, 195, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 246, 255, 0.94) 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-quick-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(0, 25, 76, 0.12);
}

.dashboard-quick-links i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #00194c 0%, #124dc3 55%, #2596be 100%);
}

.dashboard-calendar-wrap {
    overflow: hidden;
}

.dashboard-note {
    padding: 14px 16px;
    border: 1px dashed rgba(18, 77, 195, 0.28);
    border-radius: 18px;
    color: var(--workspace-muted);
    background: rgba(18, 77, 195, 0.06);
}

.dashboard-hero--profile {
    padding-bottom: 28px;
}

.dashboard-profile-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dashboard-profile-hero__identity {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-profile-hero__identity h1,
.dashboard-profile-hero__identity h2,
.dashboard-profile-hero__identity strong {
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0, 14, 41, 0.28);
}

.dashboard-profile-hero__identity p {
    color: rgba(240, 247, 255, 0.94);
    text-shadow: 0 8px 24px rgba(0, 14, 41, 0.24);
}

.dashboard-profile-avatar {
    width: 108px;
    height: 108px;
    border: 4px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 18px 40px rgba(0, 14, 41, 0.24);
    background: rgba(255, 255, 255, 0.12);
}

.dashboard-profile-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.dashboard-profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.dashboard-badge--light {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.dashboard-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dashboard-action-row .btn {
    flex: 1 1 180px;
}

.dashboard-subpanel {
    height: 100%;
    padding: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.9) 0%, rgba(239, 246, 255, 0.92) 100%);
}

.dashboard-subpanel h4 {
    margin-bottom: 16px;
}

.dashboard-table-wrap {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    overflow: hidden;
}

.dashboard-table thead th {
    border-top: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--workspace-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(244, 248, 255, 0.94);
}

.dashboard-table td {
    vertical-align: middle;
}

.dashboard-progress-cell {
    min-width: 180px;
}

.dashboard-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--workspace-accent-strong);
    background: rgba(18, 77, 195, 0.12);
}

.finance-sheet {
    border-radius: 28px;
}

.finance-sheet__body {
    padding: 28px 30px;
}

.finance-sheet__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.finance-sheet__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--workspace-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.finance-sheet__stamp {
    min-width: 220px;
    padding: 16px 18px;
    border: 1px solid rgba(18, 77, 195, 0.10);
    border-radius: 20px;
    text-align: right;
    background: rgba(244, 248, 255, 0.88);
}

.finance-sheet__stamp strong,
.finance-sheet__stamp small {
    display: block;
}

.finance-sheet__table thead th,
.finance-sheet__totals th {
    color: var(--workspace-accent-strong);
    font-weight: 800;
}

.finance-sheet__totals {
    min-width: 280px;
}

.payslip-sheet .modal-header,
.payslip-sheet .modal-footer {
    border: none;
}

.payslip-sheet .modal-body {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 248, 255, 0.95) 100%);
}

.command-center,
.app-shell-backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.app-shell-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1150;
    background: rgba(0, 14, 41, 0.40);
    backdrop-filter: blur(4px);
}

.app-shell-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.command-center {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: start;
    justify-content: center;
    padding: 110px 18px 18px;
}

.command-center.is-open {
    opacity: 1;
    pointer-events: auto;
}

.command-center__panel {
    width: min(760px, 100%);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 90px rgba(0, 25, 76, 0.22);
}

.command-center__header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.command-center__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--workspace-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.command-center__search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 16px;
    border: 1px solid rgba(18, 77, 195, 0.10);
    border-radius: 22px;
    background: #f4f8ff;
}

.command-center__search input {
    width: 100%;
    padding: 18px 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1rem;
}

.command-center__results {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow: auto;
}

.command-center__item,
.command-center__empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    background: #ffffff;
}

.command-center__item {
    text-align: left;
}

.command-center__item strong {
    display: block;
}

.command-center__item small,
.command-center__empty p {
    color: var(--workspace-muted);
}

.login-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(18, 77, 195, 0.20), transparent 30%),
        radial-gradient(circle at bottom right, rgba(37, 150, 190, 0.16), transparent 28%),
        linear-gradient(180deg, #f3f7ff 0%, #e9f0ff 100%);
    color: var(--workspace-text);
    font-family: "Plus Jakarta Sans", "Roboto", sans-serif;
}

.login-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(320px, 0.95fr);
    gap: 26px;
    align-items: stretch;
    min-height: 100vh;
    padding: 28px;
}

body.login-page {
    margin: 0;
    min-height: 100vh;
    background: #ffffff;
}

.login-layout--register {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1360px;
    margin: 0 auto;
}

.login-panel {
    position: relative;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 30px 80px rgba(0, 25, 76, 0.12);
    backdrop-filter: blur(18px);
}

.login-marketing {
    color: #ffffff;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 25%),
        linear-gradient(145deg, #000e29 0%, #00194c 44%, #124dc3 78%, #2596be 100%);
}

.login-marketing h1,
.login-marketing h2,
.login-marketing p,
.login-marketing li,
.login-marketing small {
    color: inherit;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.login-brand img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 18px;
}

.login-feature-list,
.login-stat-grid {
    padding: 0;
    margin: 0;
    list-style: none;
}

.login-feature-list li {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.login-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.login-stat-grid li {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.10);
}

.login-form-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.register-form-panel {
    padding: 38px 40px;
    border: 1px solid rgba(73, 152, 201, 0.18);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 60px rgba(0, 25, 76, 0.10);
}

.login-marketing--register {
    min-height: calc(100vh - 56px);
}

.login-form-card--wide > div {
    width: 100%;
}

.register-page-shell form,
.register-page-shell #register-form {
    width: 100%;
    max-width: none;
    margin: 1.5rem 0 0;
}

.register-intro {
    margin-bottom: 26px;
    text-align: left;
}

.register-intro__logo {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    object-fit: cover;
    border-radius: 18px;
}

.register-intro__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #4a8db9;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.register-intro h2 {
    margin: 0 0 10px;
    font-size: 2.2rem;
    letter-spacing: -0.04em;
}

.register-intro p {
    max-width: 780px;
    margin: 0;
    color: #627792;
    font-size: 1rem;
    line-height: 1.7;
}

.login-form-card h2 {
    margin-bottom: 10px;
}

.modern-form-group {
    margin-bottom: 18px;
}

.modern-form-group label {
    display: block;
    margin-bottom: 10px;
    color: #26384c;
    font-size: 0.98rem;
    font-weight: 700;
}

.modern-form-group input {
    width: 100%;
    min-height: 60px;
    padding: 0 20px;
    border: 1px solid rgba(124, 183, 217, 0.34);
    border-radius: 10px;
    background: #e9f6ff;
    font-size: 1rem;
    color: #14304a;
}

.modern-form-group select {
    width: 100%;
    min-height: 60px;
    padding: 0 52px 0 20px;
    border: 1px solid rgba(124, 183, 217, 0.34);
    border-radius: 10px;
    background:
        linear-gradient(45deg, transparent 50%, #6f95b0 50%),
        linear-gradient(135deg, #6f95b0 50%, transparent 50%),
        #e9f6ff;
    background-position:
        calc(100% - 24px) calc(50% - 3px),
        calc(100% - 18px) calc(50% - 3px),
        0 0;
    background-size: 6px 6px, 6px 6px, 100% 100%;
    background-repeat: no-repeat;
    font-size: 1rem;
    color: #14304a;
    appearance: none;
}

.modern-form-group textarea {
    width: 100%;
    min-height: 122px;
    padding: 16px 20px;
    border: 1px solid rgba(124, 183, 217, 0.34);
    border-radius: 10px;
    background: #e9f6ff;
    resize: vertical;
    font-size: 1rem;
    line-height: 1.5;
    color: #14304a;
}

.modern-form-group input::placeholder,
.modern-form-group textarea::placeholder {
    color: #7d95ab;
}

.modern-form-group input:focus,
.modern-form-group select:focus,
.modern-form-group textarea:focus {
    outline: none;
    border-color: #65add7;
    background: #f2faff;
    box-shadow: 0 0 0 4px rgba(101, 173, 215, 0.15);
}

.auth-password-field {
    position: relative;
}

.auth-password-field input {
    padding-right: 58px;
}

.password-visibility-btn {
    position: absolute;
    top: 50%;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #5f7993;
    cursor: pointer;
    transform: translateY(-50%);
}

.password-visibility-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.password-visibility-btn:hover,
.password-visibility-btn:focus {
    color: #2f6f9f;
    outline: none;
}

.password-visibility-btn.is-visible {
    color: #1c5d8e;
}

.password-visibility-btn.is-visible::after {
    position: absolute;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transform: rotate(-35deg);
}

.auth-role-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.auth-role-option {
    min-height: 76px;
    padding: 14px 12px;
    border: 1px solid rgba(18, 77, 195, 0.10);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    text-align: left;
    transition: all 0.2s ease;
}

.auth-role-option strong,
.auth-role-option small,
.signup-cta strong,
.signup-cta small {
    display: block;
}

.auth-role-option small,
.auth-role-help,
.signup-cta small {
    color: var(--workspace-muted);
}

.auth-role-option.is-active {
    border-color: rgba(18, 77, 195, 0.36);
    background: linear-gradient(135deg, rgba(18, 77, 195, 0.10) 0%, rgba(37, 150, 190, 0.12) 100%);
    box-shadow: 0 14px 28px rgba(18, 77, 195, 0.12);
}

.signup-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(73, 152, 201, 0.18);
}

.signup-cta .btn,
.signup-cta .btn-outline-primary {
    background: linear-gradient(135deg, #124dc3 0%, #2596be 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 18px 34px rgba(18, 77, 195, 0.22);
}

.signup-cta .btn:hover,
.signup-cta .btn:focus,
.signup-cta .btn-outline-primary:hover,
.signup-cta .btn-outline-primary:focus {
    background: linear-gradient(135deg, #0f3fa0 0%, #1f7fa8 100%) !important;
    color: #ffffff !important;
}

.login-form-card--wide {
    justify-content: flex-start;
}

.login-layout--auth-clean {
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, 0.92fr);
    gap: 0;
    padding: 0;
    min-height: 100vh;
    background: #ffffff;
}

.login-layout--auth-clean .login-panel {
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.login-marketing--clean {
    min-height: 100vh;
    padding: 0;
    background: linear-gradient(90deg, #3357ab 0%, #3462bd 100%);
}

.login-marketing__surface {
    width: 100%;
    min-height: 100vh;
}

.login-form-card--clean {
    padding: 0;
    background: #ffffff;
    justify-content: center;
}

.login-form-shell {
    width: min(470px, calc(100% - 72px));
    margin: 0 auto;
    padding: 58px 0 40px;
}

.login-badge--mint {
    padding: 11px 18px;
    border-radius: 999px;
    background: #dff4ee !important;
    color: #13856d !important;
    box-shadow: none;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-form-title {
    margin: 22px 0 26px;
    color: #081a49;
    font-size: 2.12rem;
    font-weight: 700;
}

.login-form-card--clean .modern-form-group {
    margin-bottom: 20px;
}

.login-form-card--clean .modern-form-group label,
.login-form-card--clean .login-meta label {
    color: #5f6878;
    font-size: 0.98rem;
    font-weight: 700;
}

.login-form-card--clean input:not([type="checkbox"]),
.login-form-card--clean textarea,
.login-form-card--clean select {
    min-height: 66px;
    border-radius: 16px;
    border: 1px solid #c6e5f3;
    background: #eaf8ff;
    box-shadow: none;
    font-size: 1rem;
}

.login-form-card--clean input:not([type="checkbox"]):focus,
.login-form-card--clean textarea:focus,
.login-form-card--clean select:focus {
    border-color: #93cce6;
    background: #eefaff;
    box-shadow: 0 0 0 4px rgba(101, 173, 215, 0.12);
}

.login-form-card--clean .auth-role-switch {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.login-form-card--clean .auth-role-option {
    min-height: 94px;
    padding: 18px 14px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
}

.login-form-card--clean .auth-role-option strong {
    font-size: 1.02rem;
    color: #16203c;
}

.login-form-card--clean .auth-role-option small {
    margin-top: 4px;
    font-size: 0.89rem;
}

.login-form-card--clean .auth-role-option.is-active {
    background: #edf8ff;
    border-color: #9fd3ef;
    box-shadow: inset 0 0 0 1px rgba(18, 77, 195, 0.08);
}

.login-form-card--clean .auth-role-help {
    color: #98a3b2;
    font-size: 0.84rem;
}

.login-form-card--clean .auth-password-field input {
    padding-right: 58px;
}

.login-form-card--clean .password-visibility-btn {
    width: 36px;
    height: 36px;
    right: 14px;
    color: #70849c;
    background: transparent;
}

.login-form-card--clean .login-meta {
    justify-content: flex-start;
    margin: 12px 0 22px;
}

.login-form-card--clean .custom-control-label {
    color: #8c96a6;
}

.login-submit-btn {
    min-height: 60px;
    border: none !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #1f5fd2 0%, #2ca9de 100%) !important;
    box-shadow: 0 18px 34px rgba(34, 115, 205, 0.24);
    font-size: 1.02rem;
    font-weight: 700;
}

.login-submit-btn:hover,
.login-submit-btn:focus {
    background: linear-gradient(90deg, #194fae 0%, #248dc3 100%) !important;
}

.login-form-card--clean .signup-cta {
    align-items: flex-end;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(186, 210, 226, 0.55);
}

.login-form-card--clean .signup-cta strong {
    color: #16203c;
    font-size: 1.04rem;
}

.login-form-card--clean .signup-cta small {
    max-width: 250px;
    color: #8f98a8;
    font-size: 0.84rem;
    line-height: 1.18;
}

.login-form-card--clean .signup-cta .btn,
.login-form-card--clean .signup-cta .btn-outline-primary {
    min-width: 134px;
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 999px;
}

.login-form-card--clean .login-footer-note {
    margin-top: 34px;
    color: #99a3b1;
    font-size: 0.9rem;
}

.login-layout--auth-clean.login-layout--register {
    grid-template-columns: minmax(0, 1.45fr) minmax(480px, 0.92fr);
    max-width: none;
    margin: 0;
    min-height: 100vh;
}

.login-layout--auth-clean.login-layout--register .register-form-panel {
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    background: #ffffff;
}

.login-layout--auth-clean.login-layout--register .login-form-shell {
    width: min(700px, calc(100% - 80px));
    padding: 44px 0 40px;
}

.login-layout--auth-clean.login-layout--register .register-intro {
    margin-bottom: 20px;
}

.login-layout--auth-clean.login-layout--register .register-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: #dff4ee;
    color: #13856d;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.login-layout--auth-clean.login-layout--register .register-intro h2 {
    margin-top: 22px;
    margin-bottom: 0;
    color: #081a49;
    font-size: 2rem;
}

.register-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px 22px;
}

.register-grid__full {
    grid-column: 1 / -1;
}

.register-section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    padding-top: 18px;
    border-top: 1px solid rgba(73, 152, 201, 0.18);
}

.register-section-header:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.register-section-header span {
    font-size: 0.88rem;
    font-weight: 800;
    color: #4a8db9;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.register-section-header small {
    color: #6f8499;
}

.register-grid .modern-form-group {
    margin-bottom: 0;
}

.register-field--full {
    grid-column: span 12;
}

.register-field--half {
    grid-column: span 6;
}

.register-field--third {
    grid-column: span 4;
}

.register-submit-btn {
    min-height: 62px;
    margin-top: 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: none;
    background: linear-gradient(135deg, #4d9dce 0%, #5eaddc 100%);
}

.login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0 22px;
}

.login-footer-note {
    margin-top: 24px;
    color: var(--workspace-muted);
    font-size: 0.88rem;
}

@media (max-width: 1199px) {
    .login-layout--register {
        max-width: 100%;
    }

    nav.side-navbar {
        left: 14px;
        transform: translateX(-112%);
        width: 290px;
        height: calc(100vh - var(--app-header-offset) - 18px);
        max-height: calc(100vh - var(--app-header-offset) - 18px);
    }

    nav.side-navbar,
    nav.side-navbar.shrink {
        width: 290px;
    }

    body.mobile-nav-open nav.side-navbar {
        transform: translateX(0);
    }

    .page,
    .page.active,
    .page.active-sm {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .command-center {
        padding-top: 92px;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 0;
    }

    .header .navbar-holder {
        flex-wrap: nowrap;
        gap: 14px;
        padding: 14px 16px;
    }

    .dashboard-hero,
    .dashboard-section-card,
    .login-panel {
        padding: 24px;
    }

    .login-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 16px;
    }

    .login-layout--auth-clean {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .login-layout--auth-clean .login-marketing--clean {
        min-height: 140px;
    }

    .login-layout--auth-clean .login-form-shell {
        width: min(470px, calc(100% - 40px));
        padding: 38px 0 34px;
    }

    .login-layout--register {
        max-width: none;
    }

    .login-layout--auth-clean.login-layout--register {
        grid-template-columns: 1fr;
    }

    .register-form-panel,
    .login-marketing--register {
        min-height: auto;
    }

    .register-form-panel {
        padding: 32px 26px;
    }

    .login-layout--auth-clean.login-layout--register .login-form-shell {
        width: min(700px, calc(100% - 40px));
        padding: 36px 0 34px;
    }

    .dashboard-profile-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-profile-hero__identity {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-profile-hero__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    body.workspace-app {
        --app-header-offset: 78px;
    }

    .page {
        padding: 12px;
    }

    .wrapper,
    .box,
    .card,
    .dashboard-hero,
    .dashboard-section-card,
    .dashboard-subpanel,
    .finance-sheet__body,
    .modal-body,
    .card-body {
        min-width: 0;
    }

    .header .navbar-holder {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
        min-height: 68px;
        padding: 10px 12px;
    }

    .menu-btn {
        width: 42px;
        height: 42px;
    }

    .nav-menu {
        flex: 0 0 auto;
        gap: 8px;
        flex-wrap: nowrap;
        margin-left: 0;
        justify-content: flex-end;
    }

    #site_logo_main {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        justify-content: center;
        overflow: hidden;
    }

    #site_logo_main img {
        height: 34px;
        max-width: min(180px, 40vw);
    }

    .app-toolbar-btn__label,
    .workspace-context,
    .nav-menu .nav-link span,
    .nav-menu .nav-link small {
        display: none;
    }

    .nav-item--command-center,
    .nav-item--clock,
    .nav-item--fullscreen,
    .nav-item--help {
        display: none !important;
    }

    body.workspace-app .header .nav-item--notifications > .nav-link,
    body.workspace-app .header .nav-item--profile > .nav-link {
        min-width: 42px;
        min-height: 42px;
        padding: 0 10px;
    }

    body.workspace-app .header .nav-item--profile > .nav-link {
        gap: 0;
    }

    body.workspace-app .header .nav-item--profile > .nav-link .profile-photo {
        margin-right: 0 !important;
    }

    nav.side-navbar,
    nav.side-navbar.shrink {
        top: calc(var(--app-header-offset) + 8px);
        left: 10px;
        bottom: 10px;
        width: min(280px, calc(100vw - 20px));
        height: calc(100vh - var(--app-header-offset) - 18px);
        max-height: calc(100vh - var(--app-header-offset) - 18px);
        padding: 14px 10px 16px;
        border-radius: 24px;
        z-index: 1200;
    }

    .card-header,
    .box-header,
    .dashboard-section-card__header,
    .finance-sheet__header,
    .chat-card__header,
    .chat-thread__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .card-header.d-flex,
    .box-header.d-flex,
    .modal-header {
        flex-wrap: wrap;
        align-items: flex-start !important;
        gap: 10px;
    }

    .nav-tabs,
    .nav-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        border-bottom: none;
    }

    .nav-tabs .nav-item,
    .nav-pills .nav-item {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-tabs .nav-link,
    .nav-pills .nav-link {
        width: 100%;
        margin: 0;
        border-radius: 14px;
        text-align: left;
    }

    .dashboard-list li,
    .dashboard-mini-list li,
    .dashboard-timeline li {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-badge,
    .dashboard-status-pill {
        align-self: flex-start;
    }

    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .table-responsive > .table,
    .dashboard-table,
    .dataTable {
        min-width: 640px;
    }

    .dataTables_wrapper .row {
        row-gap: 10px;
    }

    .dataTables_wrapper .row > div,
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate,
    .dataTables_wrapper .dt-buttons {
        width: 100%;
        max-width: 100%;
        text-align: left !important;
    }

    .dataTables_wrapper .dataTables_filter label,
    .dataTables_wrapper .dataTables_length label {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .dataTables_wrapper .dataTables_filter input,
    .dataTables_wrapper .dataTables_length select {
        width: 100% !important;
        max-width: 100%;
    }

    .dataTables_wrapper .dt-buttons,
    .btn-group,
    .dashboard-action-row,
    .dashboard-profile-hero__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .dataTables_wrapper .dt-buttons .btn,
    .dataTables_wrapper .dt-buttons .dt-button,
    .btn-group .btn,
    .dashboard-action-row .btn,
    .dashboard-profile-hero__actions .btn {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .modal-dialog {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }

    .modal-content {
        max-height: calc(100vh - var(--app-header-offset) - 24px);
    }

    .modal-body .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .modal-body .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .dashboard-kpi-grid,
    .dashboard-quick-links,
    .dashboard-hero__meta,
    .dashboard-hero__actions,
    .login-stat-grid {
        grid-template-columns: 1fr;
    }

    .login-layout--auth-clean .login-marketing--clean {
        min-height: 96px;
    }

    .login-layout--auth-clean .login-form-shell {
        width: calc(100% - 32px);
        padding: 28px 0 28px;
    }

    .login-layout--auth-clean.login-layout--register .login-form-shell {
        width: calc(100% - 32px);
        padding: 28px 0 28px;
    }

    .login-form-title {
        margin: 18px 0 22px;
        font-size: 1.82rem;
    }

    .login-marketing__surface {
        min-height: 96px;
    }

    .auth-role-switch,
    .register-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .signup-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .login-form-card--clean .signup-cta {
        align-items: stretch;
    }

    .register-field--full,
    .register-field--half,
    .register-field--third {
        grid-column: span 1;
    }

    .dashboard-profile-avatar {
        width: 90px;
        height: 90px;
        border-radius: 24px;
    }

    .dashboard-hero h1 {
        font-size: 1.85rem;
    }

    .dashboard-action-row .btn,
    .dashboard-profile-hero__actions .btn {
        width: 100%;
    }

    .header .right-sidebar {
        right: 6px;
        top: calc(100% + 10px);
        min-width: 220px;
        max-width: calc(100vw - 24px);
    }
}

@media (max-width: 575px) {
    body.workspace-app {
        --app-header-offset: 74px;
    }

    .header .navbar-holder {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 9px 10px;
        min-height: 64px;
    }

    #site_logo_main img {
        height: 30px;
        max-width: min(150px, 36vw);
    }

    .nav-menu {
        gap: 6px;
    }

    body.workspace-app .header .nav-item--notifications > .nav-link,
    body.workspace-app .header .nav-item--profile > .nav-link,
    .menu-btn {
        min-width: 40px;
        width: 40px;
        min-height: 40px;
        height: 40px;
        padding: 0 8px;
    }

    nav.side-navbar,
    nav.side-navbar.shrink {
        width: min(260px, calc(100vw - 16px));
        left: 8px;
    }

    .dashboard-section-card,
    .dashboard-hero,
    .dashboard-subpanel,
    .finance-sheet__body {
        padding: 18px;
    }
}

.chat-workspace {
    display: grid;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.chat-card {
    background: #ffffff;
    border: 1px solid rgba(77, 110, 173, 0.12);
    border-radius: 24px;
    box-shadow: 0 20px 45px rgba(15, 32, 78, 0.08);
    overflow: hidden;
}

.chat-card--thread {
    min-height: 72vh;
}

.chat-card__header,
.chat-thread__header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(77, 110, 173, 0.12);
}

.chat-thread__back {
    display: none;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0;
    border: none;
    background: transparent;
    color: #2a5cc4;
    font-size: 12px;
    font-weight: 700;
}

.chat-card__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #3768b1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.chat-contact-list {
    max-height: 72vh;
    overflow-y: auto;
}

.chat-contact {
    display: flex;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(77, 110, 173, 0.08);
    color: #112752;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.chat-contact:hover,
.chat-contact:focus {
    background: #f2f7ff;
    color: #112752;
    text-decoration: none;
}

.chat-contact.is-active {
    background: linear-gradient(135deg, rgba(47, 97, 205, 0.14), rgba(42, 190, 232, 0.12));
}

.chat-contact__avatar {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #244aa5, #2c8be6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.chat-contact__body {
    min-width: 0;
    flex: 1 1 auto;
}

.chat-contact__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
}

.chat-contact__signals {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.chat-contact__unread {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 22px;
    text-align: center;
}

.chat-contact__topline strong,
.chat-contact__meta {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-contact__meta {
    color: #6f7f9f;
    font-size: 13px;
}

.chat-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.chat-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #a8b3ca;
}

.chat-status.is-online {
    color: #177f58;
}

.chat-status.is-online::before {
    background: #19b26b;
}

.chat-status.is-offline {
    color: #7f8aa3;
}

.chat-thread {
    display: flex;
    flex-direction: column;
    min-height: 72vh;
    height: 100%;
    min-width: 0;
    overflow: hidden;
}

.chat-thread__messages {
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 28px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    overflow-y: auto;
}

.chat-thread__composer {
    padding: 22px 28px 28px;
    border-top: 1px solid rgba(77, 110, 173, 0.12);
    background: #ffffff;
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-shrink: 0;
}

.chat-thread__composer textarea.form-control {
    min-height: 52px;
    max-height: 120px;
    resize: none;
}

.chat-bubble {
    max-width: 76%;
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 18px 18px 18px 6px;
    background: #ffffff;
    color: #14305f;
    box-shadow: 0 12px 25px rgba(17, 39, 82, 0.08);
}

.chat-bubble.is-own {
    margin-left: auto;
    border-radius: 18px 18px 6px 18px;
    background: linear-gradient(135deg, #244aa5, #2c8be6);
    color: #ffffff;
}

.chat-bubble__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
    font-size: 12px;
    opacity: 0.85;
}

.chat-bubble__text {
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.6;
}

.chat-empty,
.chat-thread-empty {
    padding: 36px 28px;
    color: #60718f;
}

.chat-empty strong,
.chat-thread-empty h3 {
    display: block;
    color: #112752;
    margin-bottom: 8px;
}

@media (max-width: 991.98px) {
    .chat-workspace {
        grid-template-columns: 1fr;
    }

    .chat-contact-list,
    .chat-card--thread,
    .chat-thread {
        min-height: auto;
        max-height: none;
    }

    .chat-thread__messages {
        min-height: 360px;
    }

    .chat-bubble {
        max-width: 100%;
    }
}

[style*="#7c5cc4"],
[style*="#7C5CC4"],
[style*="rgb(124, 92, 196)"] {
    color: #ffffff !important;
}

.floating-chat {
    position: fixed !important;
    right: 24px !important;
    bottom: 24px !important;
    left: auto !important;
    top: auto !important;
    z-index: 2147483000 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.floating-chat__toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    padding: 0;
    background: linear-gradient(135deg, #1f3f8f, #2c8be6);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(20, 48, 95, 0.28);
    font-weight: 700;
    cursor: pointer;
}

.floating-chat__toggle i {
    font-size: 24px;
}

.floating-chat__badge {
    position: absolute;
    top: -4px;
    right: -2px;
    display: inline-block !important;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(239, 68, 68, 0.28);
}

.floating-chat__toggle span {
    display: none;
}

.floating-chat__toast {
    position: absolute;
    right: 0;
    bottom: 84px;
    width: 280px;
    padding: 14px 16px;
    border: none;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 44px rgba(17, 39, 82, 0.18);
    text-align: left;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-chat__toast.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-chat__toast strong,
.floating-chat__toast span {
    display: block;
}

.floating-chat__toast strong {
    margin-bottom: 4px;
    color: #112752;
    font-size: 13px;
    font-weight: 700;
}

.floating-chat__toast span {
    color: #5f7192;
    font-size: 12px;
    line-height: 1.45;
}

.floating-chat__panel {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: min(940px, calc(100vw - 32px));
    height: min(560px, calc(75vh));
    background: #ffffff;
    border: 1px solid rgba(77, 110, 173, 0.14);
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(14, 34, 79, 0.22);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(0.98);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-chat.is-open .floating-chat__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.floating-chat__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #163676, #2454b6);
    color: #ffffff;
}

.floating-chat__header strong,
.floating-chat__header small,
.floating-chat__header i {
    color: #ffffff;
}

.floating-chat__close {
    border: none;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.floating-chat__body {
    display: grid;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
    height: calc(100% - 74px);
}

.floating-chat__contacts {
    border-right: 1px solid rgba(77, 110, 173, 0.12);
    overflow: hidden;
}

.floating-chat__thread {
    min-width: 0;
    overflow: hidden;
}

.floating-chat .chat-contact-list {
    max-height: 100%;
}

.floating-chat .chat-thread,
.floating-chat .chat-thread {
    min-height: 0;
    height: 100%;
}

.floating-chat .chat-thread__messages {
    min-height: 0;
}

.floating-chat .chat-thread__header {
    padding: 20px 22px;
}

.floating-chat .chat-thread__messages {
    padding: 20px 22px;
}

.floating-chat .chat-thread__composer {
    padding: 18px 22px 22px;
}

@media (max-width: 991.98px) {
    .floating-chat {
        right: 16px;
        left: auto;
        bottom: 16px;
    }

    .floating-chat__toggle {
        width: 58px;
        height: 58px;
    }

    .floating-chat__toast {
        width: min(260px, calc(100vw - 32px));
        right: 0;
        bottom: 74px;
    }

    .floating-chat__panel {
        right: 0;
        left: 0;
        width: auto;
        height: min(75vh, 620px);
    }

    .floating-chat__body {
        grid-template-columns: 1fr;
    }

    .floating-chat__contacts {
        border-right: none;
        border-bottom: 1px solid rgba(77, 110, 173, 0.12);
        max-height: 220px;
    }
}

@media (max-width: 767.98px) {
    #calendar {
        overflow-x: auto;
    }

    #calendar .fc-toolbar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 14px;
    }

    #calendar .fc-toolbar .fc-left,
    #calendar .fc-toolbar .fc-center,
    #calendar .fc-toolbar .fc-right {
        float: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0;
        text-align: center;
    }

    #calendar .fc-toolbar h2,
    #calendar .fc-toolbar .fc-center h2 {
        margin: 0;
        font-size: 20px !important;
        line-height: 1.3;
        white-space: normal;
    }

    #calendar .fc-button {
        margin: 0 !important;
        border-radius: 10px !important;
        padding: 0.42rem 0.72rem !important;
        font-size: 12px !important;
    }

    #calendar .fc-dayGridMonth-view .fc-day-number,
    #calendar .fc-dayGridMonth-view .fc-day-header {
        font-size: 12px !important;
    }

    #calendar .fc-day-grid-event {
        margin: 1px 2px !important;
    }

    #calendar .fc-day-grid-event .fc-content {
        font-size: 11px;
    }

    #calendar .fc-list-table td {
        padding: 10px 12px !important;
        font-size: 13px;
    }

    .floating-chat {
        right: 12px !important;
        bottom: 12px !important;
    }

    .floating-chat__panel {
        left: auto !important;
        right: 0 !important;
        bottom: 70px !important;
        width: calc(100vw - 24px) !important;
        max-width: none !important;
        height: 75vh !important;
        max-height: 75vh !important;
        border-radius: 22px !important;
    }

    .floating-chat__header {
        padding: 14px 16px;
    }

    .floating-chat__body {
        height: calc(100% - 66px);
        grid-template-columns: 1fr;
    }

    .floating-chat__contacts {
        display: block;
        max-height: 34vh;
        overflow-y: auto;
    }

    .floating-chat__thread {
        display: none;
        min-height: 0;
    }

    .floating-chat.is-thread-open .floating-chat__contacts {
        display: none;
    }

    .floating-chat.is-thread-open .floating-chat__thread {
        display: block;
    }

    .floating-chat .chat-thread__header {
        padding: 16px;
    }

    .floating-chat .chat-thread__messages {
        padding: 16px;
    }

    .floating-chat .chat-thread__composer {
        padding: 14px 16px 16px;
    }

    .floating-chat .chat-thread__composer .form-group {
        margin-bottom: 10px !important;
    }

    .floating-chat .chat-thread__composer .text-right {
        text-align: left !important;
    }

    .floating-chat .chat-thread__composer .btn {
        width: 100%;
    }

    .chat-contact {
        padding: 14px 16px;
    }

    .chat-contact__topline {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .chat-contact__signals {
        width: 100%;
        justify-content: space-between;
    }

    .chat-thread__back {
        display: inline-flex;
    }

    .chat-bubble {
        max-width: 100%;
        padding: 12px 14px;
    }

    .chat-bubble__meta {
        flex-direction: column;
        gap: 4px;
    }
}

.dashboard-home .dashboard-hero .dashboard-hero__eyebrow,
.dashboard-home .dashboard-hero h1,
.dashboard-home .dashboard-hero h1 span,
.dashboard-home .dashboard-hero h1 a,
.dashboard-home .dashboard-hero h1 * ,
.dashboard-home .dashboard-hero p,
.dashboard-home .dashboard-hero p *,
.dashboard-home .dashboard-hero .dashboard-hero__actions a,
.dashboard-home .dashboard-hero .dashboard-hero__actions a i,
.dashboard-home .dashboard-hero .dashboard-hero__stat span,
.dashboard-home .dashboard-hero .dashboard-hero__stat strong,
.dashboard-home .dashboard-hero .dashboard-hero__stat small,
.dashboard-home .dashboard-hero .dashboard-hero__meta * {
    color: #ffffff !important;
}

.dashboard-home .dashboard-hero .dashboard-hero__actions a {
    border-color: rgba(255, 255, 255, 0.22) !important;
}

.fc,
.fc * {
    color: #112752;
}

.fc-toolbar h2,
.fc-toolbar .fc-center h2,
.fc-day-header,
.fc-day-number,
.fc-list-heading-main,
.fc-list-heading-alt {
    color: #112752 !important;
}

.fc-toolbar button *,
.fc-button-primary,
.fc-button-primary:hover,
.fc-button-primary:focus,
.fc-button-primary:not(:disabled).fc-button-active,
.fc-button-primary:not(:disabled):active {
    background: linear-gradient(135deg, #1f3f8f, #2c8be6) !important;
    border-color: #1f3f8f !important;
    color: #ffffff !important;
}

.fc-unthemed td.fc-today {
    background: rgba(44, 139, 230, 0.12) !important;
}

.fc-event,
.fc-event .fc-title,
.fc-event .fc-time {
    color: #ffffff !important;
}

#calendar {
    min-width: 0;
}

#calendar .fc-view-container,
#calendar .fc-view,
#calendar .fc-scroller {
    min-width: 0;
}

#calendar .fc-event {
    border: none !important;
    border-radius: 10px !important;
    padding: 2px 6px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    word-break: break-word;
    overflow: hidden;
}

#calendar .fc-day-grid-event .fc-content,
#calendar .fc-day-grid-event .fc-title,
#calendar .fc-day-grid-event .fc-time,
#calendar .fc-list-item-title,
#calendar .fc-list-item-time {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.35 !important;
}

.dt-button-collection.dropdown-menu,
.buttons-columnVisibility.dropdown-item.active,
.buttons-columnVisibility.dropdown-item:active {
    background: linear-gradient(180deg, #5b42b4 0%, #6e52cc 100%) !important;
    border-color: #5b42b4 !important;
}

.dt-button-collection.dropdown-menu .dropdown-item,
.dt-button-collection.dropdown-menu .dt-button,
.dt-button-collection.dropdown-menu a,
.dt-button-collection.dropdown-menu button,
.dt-button-collection.dropdown-menu span,
.dt-button-collection.dropdown-menu li,
.dt-button-collection.dropdown-menu .buttons-columnVisibility {
    color: #f8fbff !important;
}

.dt-button-collection.dropdown-menu .dropdown-item:hover,
.dt-button-collection.dropdown-menu .dropdown-item:focus,
.dt-button-collection.dropdown-menu .dt-button:hover,
.dt-button-collection.dropdown-menu .dt-button:focus,
.dt-button-collection.dropdown-menu .buttons-columnVisibility:hover,
.dt-button-collection.dropdown-menu .buttons-columnVisibility:focus {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
}

.dt-button-collection.dropdown-menu .active,
.dt-button-collection.dropdown-menu .buttons-columnVisibility.active,
.dt-button-collection.dropdown-menu .buttons-columnVisibility:active {
    background: rgba(17, 39, 82, 0.28) !important;
    color: #ffffff !important;
}
