/*
 * IMEXUM CRM global brand theme
 *
 * Perfex loads this supported customization entry point after its core styles
 * in the admin area, customer portal, authentication screens, and external
 * forms. Module-specific rules belong to their owning module; see
 * modules/imexum_documents/docs/artifact-state.md.
 */

:root {
  --imexum-blue: #0089be;
  --imexum-blue-hover: #007caf;
  --imexum-blue-2: #00a6d6;
  --imexum-navy: #17345f;
  --imexum-navy-2: #0c1f3a;
  --imexum-gold: #c8a45c;
  --imexum-gold-2: #e0c47a;
  --imexum-gold-dark: #9a7732;
  --imexum-ink: #102033;
  --imexum-muted: #5e6b7a;
  --imexum-line: #dfe8f1;
  --imexum-soft: #f5f8fb;
  --imexum-soft-blue: #eef8fc;
  --imexum-white: #ffffff;
  --imexum-success: #287a45;
  --imexum-success-soft: #f2fbf5;
  --imexum-warning: #9a7732;
  --imexum-warning-soft: #fbf7ed;
  --imexum-danger: #b42318;
  --imexum-danger-soft: #fff3f2;
  --imexum-shadow: 0 22px 60px rgba(16, 32, 51, 0.11);
  --imexum-shadow-sm: 0 10px 36px rgba(16, 32, 51, 0.07);
  --imexum-radius: 22px;
  --imexum-radius-sm: 14px;
  --imexum-pill: 999px;
  --imexum-transition: 180ms ease;
}

html,
html body,
body button,
body input,
body select,
body textarea,
body .tooltip,
body .popover,
body .select2-container,
body .bootstrap-select .dropdown-toggle {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html body {
  color: var(--imexum-ink);
  background-color: var(--imexum-soft);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--imexum-navy-2);
  background: rgba(0, 166, 214, 0.22);
}

body a,
body .text-info,
body .text-primary {
  color: var(--imexum-blue);
}

body a:hover,
body a:focus {
  color: var(--imexum-blue-hover);
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body .panel-title,
body .modal-title {
  color: var(--imexum-navy-2);
  font-weight: 700;
  letter-spacing: -0.018em;
}

body .text-muted,
body .help-block,
body .dataTables_info,
body .dataTables_empty,
body .small-text {
  color: var(--imexum-muted) !important;
}

body hr {
  border-color: var(--imexum-line);
}

body :focus-visible {
  outline: 3px solid rgba(0, 137, 190, 0.24);
  outline-offset: 2px;
}

/* Admin shell and navigation */
body.admin {
  background-color: #f7fbfd !important;
  background-image:
    radial-gradient(circle at top right, rgba(0, 137, 190, 0.17), transparent 34%),
    radial-gradient(circle at 12% 30%, rgba(200, 164, 92, 0.18), transparent 32%),
    linear-gradient(135deg, #f7fbfd 0%, #ffffff 50%, #eef8fc 100%) !important;
  background-attachment: fixed !important;
}

body.admin #wrapper,
body.admin #content,
body.admin .content {
  background: transparent !important;
}

body.admin #header {
  border-bottom: 1px solid rgba(223, 232, 241, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 18px rgba(16, 32, 51, 0.04);
  backdrop-filter: blur(18px);
}

body.admin #header .navbar-nav > li > a,
body.admin #header .navbar-nav > li > a i,
body.admin #header .open > a {
  color: var(--imexum-navy);
}

body.admin #header .navbar-nav > li > a:hover,
body.admin #header .navbar-nav > li > a:focus,
body.admin #header .navbar-nav > .open > a {
  color: var(--imexum-blue);
  background: var(--imexum-soft-blue);
}

body.admin .navbar-default.sidebar,
body.admin .navbar-default.navbar-static-side,
body.admin #menu.sidebar,
body.admin #side-menu {
  border: 0;
  background: linear-gradient(165deg, var(--imexum-navy-2) 0%, var(--imexum-navy) 100%);
}

body.admin #menu.sidebar {
  min-height: 100vh;
  border-right: 0;
}

body.admin #menu .sidebar-user-profile > a.profile {
  color: var(--imexum-navy) !important;
  border-color: rgba(23, 52, 95, 0.14) !important;
  background: rgba(245, 248, 251, 0.96) !important;
  box-shadow: 0 10px 26px rgba(5, 17, 34, 0.18) !important;
}

body.admin #menu .sidebar-user-profile > a.profile span,
body.admin #menu .sidebar-user-profile > a.profile .tw-text-neutral-500,
body.admin #menu .sidebar-user-profile > a.profile .tw-text-neutral-300 {
  color: var(--imexum-navy) !important;
}

body.admin #menu .sidebar-user-profile > a.profile:hover,
body.admin #menu .sidebar-user-profile > a.profile:focus {
  color: var(--imexum-navy-2) !important;
  border-color: rgba(0, 137, 190, 0.3) !important;
  background: var(--imexum-soft-blue) !important;
}

body.admin #side-menu > li > a,
body.admin #side-menu li .nav-second-level > li > a,
body.admin #side-menu li .nav-third-level > li > a,
body.admin #side-menu li .nav-fourth-level > li > a {
  color: rgba(255, 255, 255, 0.78);
  border-radius: 0 var(--imexum-radius-sm) var(--imexum-radius-sm) 0;
  transition: color var(--imexum-transition), background-color var(--imexum-transition), box-shadow var(--imexum-transition);
}

body.admin #side-menu > li > a:hover,
body.admin #side-menu > li > a:focus,
body.admin #side-menu li.active > a,
body.admin #side-menu li .nav-second-level > li > a:hover,
body.admin #side-menu li .nav-second-level > li.active > a {
  color: var(--imexum-white) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: inset 3px 0 0 var(--imexum-blue-2);
}

body.admin #side-menu li.active > a i,
body.admin #side-menu a:hover i {
  color: var(--imexum-blue-2);
}

body.admin #side-menu .menu-text,
body.admin #side-menu .fa,
body.admin #side-menu .far,
body.admin #side-menu .fas {
  transition: color var(--imexum-transition);
}

body.admin .sidebar li .nav-second-level,
body.admin .sidebar li .nav-third-level,
body.admin .sidebar li .nav-fourth-level {
  background: rgba(5, 17, 34, 0.2);
}

body.admin .admin_logo {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--imexum-line);
}

body.admin .breadcrumb {
  color: var(--imexum-muted);
  background: transparent;
}

/* Customer portal and authentication header */
body.customers .navbar-default.header {
  min-height: 78px;
  margin-bottom: 0;
  border: 0;
  border-bottom: 1px solid rgba(223, 232, 241, 0.9);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 4px 18px rgba(16, 32, 51, 0.035);
  backdrop-filter: blur(18px);
}

body.customers .navbar-default.header .navbar-brand {
  min-height: 78px;
  display: flex;
  align-items: center;
}

body.customers .navbar-default.header .navbar-brand img,
body.customers .navbar-default.header .logo img {
  max-height: 40px;
  width: auto;
}

body.customers .navbar-default .navbar-nav > li > a {
  margin: 17px 2px;
  padding: 11px 15px;
  color: var(--imexum-navy) !important;
  border-radius: var(--imexum-pill) !important;
  font-weight: 650;
  transition: color var(--imexum-transition), background-color var(--imexum-transition), transform var(--imexum-transition);
}

body.customers .navbar-default .navbar-nav > li > a:hover,
body.customers .navbar-default .navbar-nav > li > a:focus,
body.customers .navbar-default .navbar-nav > .active > a,
body.customers .navbar-default .navbar-nav > .active > a:hover,
body.customers .navbar-default .navbar-nav > .active > a:focus {
  color: var(--imexum-blue) !important;
  background: var(--imexum-soft-blue) !important;
}

body.customers .navbar-default .navbar-nav > li.customers-nav-item-login > a {
  padding-inline: 18px;
  color: var(--imexum-white) !important;
  background: var(--imexum-navy) !important;
  border-radius: var(--imexum-pill) !important;
}

body.customers .navbar-default .navbar-nav > li.customers-nav-item-login > a:hover,
body.customers .navbar-default .navbar-nav > li.customers-nav-item-login > a:focus {
  color: var(--imexum-white) !important;
  background: var(--imexum-blue) !important;
  transform: translateY(-1px);
}

body.customers .navbar-toggle {
  margin-top: 17px;
  border-color: var(--imexum-line);
  border-radius: 12px;
  background: var(--imexum-white);
}

body.customers .navbar-toggle .icon-bar {
  background: var(--imexum-navy);
}

/* Authentication surfaces use the website's subtle hero treatment. */
html body.customers_login,
html body.login_admin {
  background:
    radial-gradient(circle at top right, rgba(0, 137, 190, 0.17), transparent 34%),
    radial-gradient(circle at 12% 30%, rgba(200, 164, 92, 0.18), transparent 32%),
    linear-gradient(135deg, #f7fbfd 0%, #ffffff 50%, #eef8fc 100%) !important;
  background-attachment: fixed !important;
}

html body.login_admin {
  min-height: 100vh;
}

body.login_admin .authentication-form-wrapper {
  color: var(--imexum-navy);
}

body.login_admin .authentication-form-wrapper h1,
body.login_admin .authentication-form-wrapper p,
body.login_admin .authentication-form-wrapper label,
body.login_admin .authentication-form-wrapper .checkbox,
body.login_admin .authentication-form-wrapper .text-muted {
  color: var(--imexum-navy) !important;
}

body.login_admin .authentication-form-wrapper > .tw-bg-white {
  color: var(--imexum-navy) !important;
  border-color: rgba(223, 232, 241, 0.96) !important;
  border-radius: var(--imexum-radius) !important;
  background: rgba(245, 248, 251, 0.94) !important;
  box-shadow: var(--imexum-shadow) !important;
  backdrop-filter: blur(16px);
}

body.customers_login .login-heading {
  margin-top: 10px;
  color: var(--imexum-navy-2);
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.04em;
}

body.customers_login .login-form .panel-body,
body.customers_login .authentication-form .panel-body {
  padding: 28px;
  border: 1px solid rgba(223, 232, 241, 0.95);
  border-radius: var(--imexum-radius) !important;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--imexum-shadow) !important;
  backdrop-filter: blur(16px);
}

body.customers_login .footer {
  border-top: 1px solid rgba(223, 232, 241, 0.9);
  background: rgba(255, 255, 255, 0.82) !important;
  color: var(--imexum-muted);
  backdrop-filter: blur(16px);
}

body.customers .copyright-footer {
  color: var(--imexum-muted);
}

/* Panels, cards, widgets, and containers */
body .panel,
body .panel_s .panel-body,
body .widget,
body .kan-ban-content-wrapper,
body .modal-content,
body .dropdown-menu,
body .popover,
body .well,
body .list-group,
body .table-responsive,
body .dataTables_wrapper,
body .dt-buttons .dropdown-menu,
body .tw-bg-white.tw-shadow,
body .tw-bg-white.tw-shadow-sm {
  border-color: var(--imexum-line);
}

body .panel,
body .panel_s .panel-body,
body .widget,
body .kan-ban-content-wrapper,
body .well,
body .table-responsive,
body .dataTables_wrapper {
  border-radius: var(--imexum-radius-sm);
}

body .panel_s .panel-body,
body .widget,
body .modal-content,
body .kan-ban-content-wrapper,
body .tw-bg-white.tw-shadow,
body .tw-bg-white.tw-shadow-sm {
  background-color: var(--imexum-white);
  box-shadow: var(--imexum-shadow-sm);
}

body .panel-heading,
body .panel-footer,
body .modal-header,
body .modal-footer,
body .dropdown-menu .divider,
body .list-group-item,
body .well,
body .kan-ban-content-wrapper {
  border-color: var(--imexum-line);
}

body .panel-heading,
body .modal-header,
body .well,
body .kan-ban-content-wrapper {
  background-color: var(--imexum-white);
}

body .panel-heading,
body .panel-footer {
  padding: 15px 18px;
}

body .panel_s .panel-body {
  padding: 22px;
}

body .modal-content {
  overflow: hidden;
  border: 1px solid var(--imexum-line);
  border-radius: var(--imexum-radius) !important;
}

body .modal-header {
  background: linear-gradient(135deg, var(--imexum-white), var(--imexum-soft-blue));
}

body .dropdown-menu,
body .popover {
  overflow: hidden;
  border: 1px solid var(--imexum-line);
  border-radius: var(--imexum-radius-sm) !important;
  box-shadow: 0 18px 45px rgba(16, 32, 51, 0.13);
}

body .dropdown-menu > li > a,
body .list-group-item {
  color: var(--imexum-ink);
  transition: color var(--imexum-transition), background-color var(--imexum-transition);
}

body .dropdown-menu > li > a:hover,
body .dropdown-menu > li > a:focus,
body .dropdown-menu > .active > a,
body .dropdown-menu > .active > a:hover,
body .list-group-item.active,
body .list-group-item.active:hover {
  color: var(--imexum-navy) !important;
  background-color: var(--imexum-soft-blue) !important;
}

/* Buttons */
body .btn {
  border-radius: var(--imexum-pill);
  font-weight: 700;
  transition: transform var(--imexum-transition), background-color var(--imexum-transition), border-color var(--imexum-transition), color var(--imexum-transition), box-shadow var(--imexum-transition);
}

body .btn:hover,
body .btn:focus {
  transform: translateY(-1px);
}

body .btn-primary,
body .btn-info,
body .btn-primary.disabled,
body .btn-info.disabled,
body .btn-primary[disabled],
body .btn-info[disabled] {
  color: var(--imexum-white) !important;
  border-color: var(--imexum-blue) !important;
  background-color: var(--imexum-blue) !important;
  box-shadow: 0 10px 24px rgba(0, 137, 190, 0.18);
}

body .btn-primary:hover,
body .btn-primary:focus,
body .btn-primary:active,
body .btn-primary.active,
body .btn-info:hover,
body .btn-info:focus,
body .btn-info:active,
body .btn-info.active,
body .open > .dropdown-toggle.btn-primary,
body .open > .dropdown-toggle.btn-info {
  color: var(--imexum-white) !important;
  border-color: var(--imexum-blue-hover) !important;
  background-color: var(--imexum-blue-hover) !important;
}

body .btn-success {
  color: var(--imexum-white) !important;
  border-color: var(--imexum-navy) !important;
  background-color: var(--imexum-navy) !important;
}

body .btn-success:hover,
body .btn-success:focus,
body .btn-success:active {
  border-color: var(--imexum-navy-2) !important;
  background-color: var(--imexum-navy-2) !important;
}

body .btn-default {
  color: var(--imexum-navy) !important;
  border-color: var(--imexum-line) !important;
  background-color: var(--imexum-white) !important;
}

body .btn-default:hover,
body .btn-default:focus,
body .btn-default:active,
body .open > .dropdown-toggle.btn-default {
  color: var(--imexum-blue) !important;
  border-color: var(--imexum-blue) !important;
  background-color: var(--imexum-soft-blue) !important;
}

body .btn-warning {
  color: var(--imexum-navy-2) !important;
  border-color: var(--imexum-gold) !important;
  background-color: var(--imexum-gold) !important;
}

body .btn-danger {
  color: var(--imexum-white) !important;
  border-color: var(--imexum-danger) !important;
  background-color: var(--imexum-danger) !important;
}

body .btn-link {
  color: var(--imexum-blue);
  box-shadow: none;
}

body .btn-group > .btn:first-child:not(:last-child),
body .input-group-btn:first-child > .btn {
  border-radius: var(--imexum-pill) 0 0 var(--imexum-pill);
}

body .btn-group > .btn:last-child:not(:first-child),
body .input-group-btn:last-child > .btn {
  border-radius: 0 var(--imexum-pill) var(--imexum-pill) 0;
}

/* Forms and enhanced controls */
body .control-label,
body .form-group > label {
  color: var(--imexum-navy);
  font-weight: 650;
}

body .form-control,
body .bootstrap-select > .dropdown-toggle,
body .select2-container .select2-selection,
body .input-group-addon,
body .tox .tox-toolbar,
body .tox .tox-edit-area,
body .tox .tox-statusbar,
body .cke_chrome,
body ul.tagit {
  border-color: var(--imexum-line) !important;
}

body .form-control,
body .bootstrap-select > .dropdown-toggle,
body .select2-container .select2-selection,
body .input-group-addon,
body ul.tagit {
  min-height: 40px;
  border-radius: var(--imexum-radius-sm) !important;
  color: var(--imexum-ink);
  background-color: var(--imexum-white);
  box-shadow: none;
}

body textarea.form-control {
  border-radius: var(--imexum-radius-sm) !important;
}

body .form-control:focus,
body .bootstrap-select.open > .dropdown-toggle,
body .select2-container--focus .select2-selection,
body .select2-container--open .select2-selection,
body ul.tagit:focus-within {
  border-color: var(--imexum-blue) !important;
  box-shadow: 0 0 0 4px rgba(0, 137, 190, 0.1) !important;
}

body .input-group-addon {
  color: var(--imexum-navy);
  background: var(--imexum-soft-blue);
}

body .select2-dropdown,
body .bootstrap-select .dropdown-menu {
  border-color: var(--imexum-line);
  border-radius: var(--imexum-radius-sm);
  box-shadow: 0 18px 45px rgba(16, 32, 51, 0.12);
}

body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option[aria-selected="true"] {
  color: var(--imexum-navy);
  background-color: var(--imexum-soft-blue);
}

body .checkbox-primary input[type="checkbox"]:checked + label::before,
body .radio-primary input[type="radio"]:checked + label::before,
body .onoffswitch-checkbox:checked + .onoffswitch-label {
  border-color: var(--imexum-blue) !important;
  background-color: var(--imexum-blue) !important;
}

body .onoffswitch-label {
  border-color: var(--imexum-line);
  border-radius: var(--imexum-pill);
}

body .has-error .form-control,
body .has-error .select2-selection {
  border-color: var(--imexum-danger) !important;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08) !important;
}

body .tox-tinymce,
body .cke_chrome {
  overflow: hidden;
  border-radius: var(--imexum-radius-sm) !important;
}

body .dropzone {
  border: 1px dashed rgba(0, 137, 190, 0.45) !important;
  border-radius: var(--imexum-radius-sm);
  background: var(--imexum-soft-blue);
}

body .dropzone .dz-message {
  color: var(--imexum-muted);
}

/* Tables and DataTables */
body .table,
body table.dataTable {
  color: var(--imexum-ink);
}

body .table > thead > tr > th,
body table.dataTable > thead > tr > th {
  color: var(--imexum-navy);
  border-color: var(--imexum-line) !important;
  background-color: var(--imexum-soft-blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body .table > tbody > tr > td,
body .table > tfoot > tr > td,
body table.dataTable tbody td {
  border-color: var(--imexum-line);
}

body .table-hover > tbody > tr:hover,
body table.dataTable tbody > tr:hover {
  background-color: #f8fcfe;
}

body table.dataTable > tbody > tr.selected,
body table.dataTable > tbody > tr.selected > td {
  color: var(--imexum-navy);
  background-color: var(--imexum-soft-blue) !important;
}

body .dataTables_filter input,
body .dataTables_length select {
  border-color: var(--imexum-line);
  border-radius: var(--imexum-pill);
}

/* Tabs, pagination, progress, and steps */
body .nav-tabs {
  border-bottom-color: var(--imexum-line);
}

body .nav-tabs > li > a {
  color: var(--imexum-muted);
  border-radius: var(--imexum-radius-sm) var(--imexum-radius-sm) 0 0;
  font-weight: 650;
}

body .nav-tabs > li.active > a,
body .nav-tabs > li.active > a:hover,
body .nav-tabs > li.active > a:focus,
body .nav-tabs > li > a:hover {
  color: var(--imexum-blue) !important;
  border-color: transparent transparent var(--imexum-blue) !important;
  background-color: var(--imexum-soft-blue) !important;
}

body .pagination > li > a,
body .pagination > li > span {
  margin: 0 2px;
  color: var(--imexum-navy);
  border-color: var(--imexum-line);
  border-radius: var(--imexum-pill) !important;
}

body .pagination > .active > a,
body .pagination > .active > a:hover,
body .pagination > .active > span,
body .pagination > .active > span:hover {
  color: var(--imexum-white);
  border-color: var(--imexum-blue) !important;
  background-color: var(--imexum-blue) !important;
}

body .progress {
  overflow: hidden;
  border-radius: var(--imexum-pill);
  background-color: var(--imexum-line);
  box-shadow: none;
}

body .progress-bar,
body .progress-bar-info {
  background-color: var(--imexum-blue);
}

body .progress-bar-success {
  background-color: var(--imexum-navy);
}

body .progress-bar-warning {
  background-color: var(--imexum-gold);
}

body .wizard > .steps a,
body .wizard > .steps a:hover,
body .wizard > .steps a:active {
  border-radius: var(--imexum-radius-sm);
}

body .wizard > .steps .current a,
body .wizard > .steps .current a:hover,
body .wizard > .steps .current a:active {
  background: var(--imexum-blue);
}

/* Labels, badges, alerts, and status treatments */
body .label,
body .badge {
  border-radius: var(--imexum-pill);
  font-weight: 700;
}

body .label-info,
body .badge-info,
body .label-primary,
body .badge-primary {
  color: var(--imexum-white) !important;
  background-color: var(--imexum-blue) !important;
}

body .label-success,
body .badge-success {
  color: var(--imexum-white) !important;
  background-color: var(--imexum-success) !important;
}

body .label-warning,
body .badge-warning {
  color: var(--imexum-navy-2) !important;
  background-color: var(--imexum-gold-2) !important;
}

body .label-danger,
body .badge-danger {
  color: var(--imexum-white) !important;
  background-color: var(--imexum-danger) !important;
}

body ul.tagit li.tagit-choice,
body ul.tagit li.tagit-choice:hover {
  border-color: rgba(0, 137, 190, 0.25) !important;
  border-radius: var(--imexum-pill);
  background: var(--imexum-soft-blue) !important;
}

body ul.tagit li.tagit-choice .tagit-label,
body ul.tagit li.tagit-choice .tagit-label:not(a),
body ul.tagit li.tagit-choice .tagit-close .text-icon {
  color: var(--imexum-navy) !important;
}

body .alert {
  border-radius: var(--imexum-radius-sm);
  box-shadow: 0 8px 24px rgba(16, 32, 51, 0.05);
}

body .alert-info {
  color: var(--imexum-navy);
  border-color: rgba(0, 137, 190, 0.25);
  background-color: var(--imexum-soft-blue);
}

body .alert-success {
  color: #1d6036;
  border-color: rgba(40, 122, 69, 0.25);
  background-color: var(--imexum-success-soft);
}

body .alert-warning {
  color: #684b16;
  border-color: rgba(200, 164, 92, 0.35);
  background-color: var(--imexum-warning-soft);
}

body .alert-danger {
  color: #8e1c14;
  border-color: rgba(180, 35, 24, 0.24);
  background-color: var(--imexum-danger-soft);
}

/* Calendars, kanban, projects, tasks, tickets, and charts */
body .datepicker table tr td.active,
body .datepicker table tr td.active:hover,
body .datepicker table tr td span.active,
body .fc .fc-button-primary,
body .fc-event,
body .fc-event-dot {
  color: var(--imexum-white) !important;
  border-color: var(--imexum-blue) !important;
  background-color: var(--imexum-blue) !important;
}

body .fc .fc-button-primary {
  border-radius: var(--imexum-pill);
}

body .fc-theme-standard td,
body .fc-theme-standard th,
body .fc-theme-standard .fc-scrollgrid {
  border-color: var(--imexum-line);
}

body .task-info-heading,
body .ticket-info,
body .project-info-bg,
body .widget-dragger:hover,
body .kan-ban-step-indicator {
  border-color: var(--imexum-line);
}

body .kan-ban-col .panel-heading,
body .task-single-col-left,
body .ticket-reply {
  background-color: var(--imexum-soft);
}

body .kan-ban-col {
  border-radius: var(--imexum-radius-sm);
}

body .kan-ban-content-wrapper {
  transition: transform var(--imexum-transition), box-shadow var(--imexum-transition);
}

body .kan-ban-content-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(16, 32, 51, 0.1);
}

body .gantt .bar-progress,
body .gantt .bar-progress.handle-group {
  fill: var(--imexum-blue);
}

/* Survey and bundled module surfaces */
body .survey,
body .question,
body .survey_add_more_box,
body .survey_input_box_description {
  border-color: var(--imexum-line);
}

body .question {
  border-radius: var(--imexum-radius-sm);
  background: var(--imexum-white);
}

body .ui-state-highlight-survey {
  border-color: var(--imexum-blue);
  background: var(--imexum-soft-blue);
}

body .cm-editor,
body .cm-gutters {
  border-color: var(--imexum-line);
}

body .cm-editor {
  overflow: hidden;
  border-radius: var(--imexum-radius-sm);
}

/* RTL refinements */
html[dir="rtl"] body.admin #side-menu > li > a,
body.rtl.admin #side-menu > li > a {
  border-radius: var(--imexum-radius-sm) 0 0 var(--imexum-radius-sm);
}

html[dir="rtl"] body.admin #side-menu li.active > a,
body.rtl.admin #side-menu li.active > a {
  box-shadow: inset -3px 0 0 var(--imexum-blue-2);
}

html[dir="rtl"] body .btn-group > .btn:first-child:not(:last-child),
html[dir="rtl"] body .input-group-btn:first-child > .btn {
  border-radius: 0 var(--imexum-pill) var(--imexum-pill) 0;
}

html[dir="rtl"] body .btn-group > .btn:last-child:not(:first-child),
html[dir="rtl"] body .input-group-btn:last-child > .btn {
  border-radius: var(--imexum-pill) 0 0 var(--imexum-pill);
}

/* Responsive behavior */
@media (max-width: 767px) {
  body.customers .navbar-default.header,
  body.customers .navbar-default.header .navbar-brand {
    min-height: 68px;
  }

  body.customers .navbar-default.header .navbar-brand img,
  body.customers .navbar-default.header .logo img {
    max-height: 32px;
  }

  body.customers .navbar-toggle {
    margin-top: 12px;
  }

  body.customers .navbar-default .navbar-collapse {
    margin: 0 14px 14px;
    border: 1px solid var(--imexum-line);
    border-radius: var(--imexum-radius-sm);
    background: var(--imexum-white);
    box-shadow: var(--imexum-shadow-sm);
  }

  body.customers .navbar-default .navbar-nav > li > a {
    margin: 3px 0;
    border-radius: 12px;
  }

  body .panel_s .panel-body,
  body .modal-content,
  body .dropdown-menu,
  body.customers_login .login-form .panel-body,
  body.customers_login .authentication-form .panel-body {
    border-radius: var(--imexum-radius-sm) !important;
  }

  body .panel_s .panel-body,
  body.customers_login .login-form .panel-body,
  body.customers_login .authentication-form .panel-body {
    padding: 20px;
  }

  body .nav-tabs > li > a {
    border-radius: 10px;
  }

  body .table-responsive {
    border-radius: 12px;
  }
}

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