/*!
 * CCMSP GLPI portal palette
 * Deploy to: glpi:/var/www/html/glpi/files/_themes/ccmsp_portal.scss
 */
@import url("https://fonts.googleapis.com/css2?family=Inter+Tight:wght@500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap");
:root[data-glpi-theme=ccmsp_portal] {
  --tblr-primary: #066395;
  --tblr-primary-rgb: 6, 99, 149;
  --tblr-primary-fg: #ffffff;
  --tblr-secondary: #dff0fb;
  --tblr-secondary-rgb: 223, 240, 251;
  --tblr-secondary-fg: #0f172a;
  --tblr-dark: #0f172a;
  --tblr-light: #6b7a90;
  --tblr-body-bg: #f4faff;
  --tblr-body-color: #425466;
  --tblr-body-color-rgb: 66, 84, 102;
  --tblr-bg-surface: #ffffff;
  --tblr-border-color: rgba(15, 23, 42, 0.12);
  --tblr-link-color: #066395;
  --tblr-link-color-rgb: 6, 99, 149;
  --tblr-muted: #6b7a90;
  --tblr-border-radius: 18px;
  --tblr-border-radius-lg: 26px;
  --tblr-card-border-color: rgba(15, 23, 42, 0.08);
  --glpi-mainmenu-bg: #066395;
  --glpi-mainmenu-fg: rgba(255, 255, 255, 0.82);
  --glpi-form-header-fg: #066395;
  --glpi-form-header-border-color: rgba(6, 99, 149, 0.18);
  --glpi-helpdesk-header: #eef5fb;
  --glpi-helpdesk-tiles-section-bg: #f7fbff;
  --glpi-helpdesk-tabs-section-bg: #ffffff;
  --glpi-tabs-bg: #ffffff;
  --glpi-tabs-fg: #425466;
  --glpi-tabs-border-color: rgba(15, 23, 42, 0.08);
  --glpi-tabs-active-bg: #eef5fb;
  --glpi-tabs-active-fg: #0f172a;
  --glpi-tabs-active-border-color: rgba(6, 99, 149, 0.12);
  --glpi-badge-bg: rgba(6, 99, 149, 0.12);
  --glpi-badge-fg: #04547f;
  --glpi-hover-bg: rgba(6, 99, 149, 0.08);
  --glpi-illustrations-background: #ffffff;
  --glpi-illustrations-primary: #066395;
  --glpi-illustrations-header-dark: #066395;
  --glpi-illustrations-header-light: #eef5fb;
  --glpi-illustrations-gradient-1: #dff0fb;
  --glpi-illustrations-gradient-2: #8dbbd7;
  --glpi-illustrations-gradient-3: #066395;
  --glpi-palette-color-1: #066395;
  --glpi-palette-color-2: #ffffff;
  --glpi-palette-color-3: #0f172a;
  --glpi-palette-color-4: #dff0fb;
  --glpi-timeline-fup-bg: #f7fbff;
  --glpi-timeline-fup-fg: #425466;
  --glpi-timeline-fup-border-color: rgba(15, 23, 42, 0.08);
}

html[data-glpi-theme=ccmsp_portal] {
  --glpi-logo-light: url("/pics/logos/ccmsp-wordmark-dark.png");
  --glpi-logo-light-reduced: url("/pics/logos/ccmsp-icon.svg");
  --glpi-logo-dark: url("/pics/logos/ccmsp-wordmark-dark.png");
  --glpi-logo-dark-reduced: url("/pics/logos/ccmsp-icon.svg");
  --glpi-logo-dark-login: url("/pics/logos/ccmsp-wordmark-dark.png");
  --glpi-logo-light-login: url("/pics/logos/ccmsp-wordmark-dark.png");
  --glpi-logo: var(--glpi-logo-light);
  --glpi-logo-reduced: var(--glpi-logo-light-reduced);
}

html[data-glpi-theme=ccmsp_portal] body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #425466;
  background: radial-gradient(circle at top left, rgba(6, 99, 149, 0.12), transparent 28rem), linear-gradient(180deg, #f4faff 0%, #ffffff 18rem);
}

html[data-glpi-theme=ccmsp_portal] h1,
html[data-glpi-theme=ccmsp_portal] h2,
html[data-glpi-theme=ccmsp_portal] h3,
html[data-glpi-theme=ccmsp_portal] h4,
html[data-glpi-theme=ccmsp_portal] h5,
html[data-glpi-theme=ccmsp_portal] h6,
html[data-glpi-theme=ccmsp_portal] .btn,
html[data-glpi-theme=ccmsp_portal] .form-label,
html[data-glpi-theme=ccmsp_portal] .navbar .nav-link,
html[data-glpi-theme=ccmsp_portal] .card-title {
  font-family: "Inter Tight", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

html[data-glpi-theme=ccmsp_portal] a {
  color: #066395;
}

html[data-glpi-theme=ccmsp_portal] a:hover {
  color: #04547f;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous {
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(6, 99, 149, 0.12), transparent 28rem), linear-gradient(180deg, #f4faff 0%, #ffffff 18rem);
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .container-tight {
  max-width: 44rem !important;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .glpi-logo {
  width: min(320px, 76vw);
  height: 58px;
  margin: 0 auto 1.75rem;
  background-size: contain;
  background-position: center;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .main-content-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .main-content-card .card-body {
  padding: 2rem 2rem 2.25rem;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .row.justify-content-center > .col-md-5,
html[data-glpi-theme=ccmsp_portal] .page-anonymous .row.justify-content-center > .col-auto {
  width: 100%;
  max-width: 36rem;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .row.justify-content-center > .col-md-5 {
  flex: 0 1 36rem;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .row.justify-content-center > .col-auto {
  flex: 0 1 34rem;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .card-header h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  color: #0f172a;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .form-label,
html[data-glpi-theme=ccmsp_portal] .page-anonymous .form-check-label {
  color: #0f172a;
  font-weight: 600;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .rich_text_container {
  margin-bottom: 2rem;
  color: #526273;
}

html[data-glpi-theme=ccmsp_portal] .form-control,
html[data-glpi-theme=ccmsp_portal] .form-select {
  border-radius: 18px;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .form-control,
html[data-glpi-theme=ccmsp_portal] .page-anonymous .form-select {
  min-height: 52px;
  background: rgba(255, 255, 255, 0.98);
}

html[data-glpi-theme=ccmsp_portal] .form-control:focus,
html[data-glpi-theme=ccmsp_portal] .form-select:focus {
  border-color: rgba(6, 99, 149, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(6, 99, 149, 0.12);
}

html[data-glpi-theme=ccmsp_portal] .btn-primary {
  border: none;
  color: #ffffff;
  background: linear-gradient(145deg, #0b74b8 0%, #083d60 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-glpi-theme=ccmsp_portal] .btn-primary:hover,
html[data-glpi-theme=ccmsp_portal] .btn-primary:focus {
  color: #ffffff;
  background: linear-gradient(145deg, #0c7ac0 0%, #04547f 100%);
}

html[data-glpi-theme=ccmsp_portal] .btn-outline-secondary {
  color: #425466;
  border-color: rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

html[data-glpi-theme=ccmsp_portal] .btn-outline-secondary:hover,
html[data-glpi-theme=ccmsp_portal] .btn-outline-secondary:focus {
  color: #066395;
  border-color: rgba(6, 99, 149, 0.22);
  background: rgba(6, 99, 149, 0.08);
}

html[data-glpi-theme=ccmsp_portal] .form-check-input:checked {
  background-color: #066395;
  border-color: #066395;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .singlesignon-login {
  margin: 0 auto 2rem;
  max-width: 100%;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .singlesignon-login-title {
  color: #0f172a;
  font-size: 1.35rem;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .singlesignon-login-buttons {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .singlesignon-login-button {
  width: 100%;
  min-height: 56px;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .singlesignon-login-button span {
  flex: 0 1 auto;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .forgot_password a {
  color: #066395;
  font-weight: 600;
}

html[data-glpi-theme=ccmsp_portal] .page-anonymous .portal-return-actions .btn {
  min-height: 52px;
  border-radius: 999px;
}

html[data-glpi-theme=ccmsp_portal] .navbar,
html[data-glpi-theme=ccmsp_portal] .sidebar {
  border: none;
}

html[data-glpi-theme=ccmsp_portal] .topbar,
html[data-glpi-theme=ccmsp_portal] .sidebar,
html[data-glpi-theme=ccmsp_portal] header.navbar.navbar-light,
html[data-glpi-theme=ccmsp_portal] header.navbar.navbar-dark {
  background: linear-gradient(145deg, #0b74b8 0%, #083d60 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-glpi-theme=ccmsp_portal] .navbar-brand .glpi-logo {
  width: 190px;
  height: 30px;
  background-size: contain;
  filter: brightness(0) invert(1);
}

html[data-glpi-theme=ccmsp_portal] body.navbar-collapsed .navbar-brand .glpi-logo {
  width: 40px;
  height: 40px;
  filter: none;
}

html[data-glpi-theme=ccmsp_portal] .navbar .nav-link,
html[data-glpi-theme=ccmsp_portal] .navbar .navbar-brand,
html[data-glpi-theme=ccmsp_portal] .navbar .btn-ghost-secondary,
html[data-glpi-theme=ccmsp_portal] .navbar .dropdown-toggle {
  color: rgba(255, 255, 255, 0.9);
}

html[data-glpi-theme=ccmsp_portal] .navbar .user-menu-dropdown-toggle,
html[data-glpi-theme=ccmsp_portal] .navbar .user-menu-dropdown-toggle:hover,
html[data-glpi-theme=ccmsp_portal] .navbar .user-menu-dropdown-toggle:focus {
  color: #ffffff !important;
}

html[data-glpi-theme=ccmsp_portal] .navbar .user-menu-dropdown-toggle .pe-2 > div:first-child {
  color: #ffffff;
  font-weight: 700;
}

html[data-glpi-theme=ccmsp_portal] .portal-home-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 0.85rem;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

html[data-glpi-theme=ccmsp_portal] .portal-home-link:hover,
html[data-glpi-theme=ccmsp_portal] .portal-home-link:focus {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
}

html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-item .ti-arrow-left,
html[data-glpi-theme=ccmsp_portal] .portal-home-link .ti-arrow-left {
  font-size: 1rem;
}

html[data-glpi-theme=ccmsp_portal] .navbar .text-muted-menu,
html[data-glpi-theme=ccmsp_portal] .navbar [data-testid=current-entity] {
  color: rgba(255, 255, 255, 0.78) !important;
}

html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-header {
  color: #6b7a90;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-item,
html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-item-text,
html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-toggle {
  color: #0f172a;
}

html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-item:hover,
html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-item:focus,
html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-toggle:hover,
html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-toggle:focus {
  color: #066395;
  background: rgba(6, 99, 149, 0.08);
}

html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-item.active,
html[data-glpi-theme=ccmsp_portal] .dropdown-menu .dropdown-item:active {
  color: #066395;
  background: rgba(6, 99, 149, 0.12);
}

html[data-glpi-theme=ccmsp_portal] .helpdesk .page-body {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .search-banner {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: radial-gradient(circle at left center, rgba(255, 255, 255, 0.18), transparent 22rem), linear-gradient(145deg, #0b74b8 0%, #083d60 100%);
  border-radius: 36px;
  overflow: hidden;
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .search-banner-content h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  text-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .search-bar-container {
  margin-top: 1.5rem;
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .home-search {
  min-height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-glpi-theme=ccmsp_portal] .tiles-banner,
html[data-glpi-theme=ccmsp_portal] .tickets-banner {
  background: transparent;
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .tiles-banner .card,
html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .tickets-banner .card,
html[data-glpi-theme=ccmsp_portal] .helpdesk .card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .tiles-banner .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .tiles-banner .card-body {
  padding: 1.5rem;
}

html[data-glpi-theme=ccmsp_portal] .text-secondary {
  color: #526273 !important;
}

html[data-glpi-theme=ccmsp_portal] table.table thead th,
html[data-glpi-theme=ccmsp_portal] .table.card-table thead th,
html[data-glpi-theme=ccmsp_portal] table.search-results thead th {
  color: #5b6c7d;
  font-weight: 700;
  opacity: 1;
}

html[data-glpi-theme=ccmsp_portal] table.table thead th a,
html[data-glpi-theme=ccmsp_portal] .table.card-table thead th a,
html[data-glpi-theme=ccmsp_portal] table.search-results thead th a,
html[data-glpi-theme=ccmsp_portal] table.table thead th span,
html[data-glpi-theme=ccmsp_portal] table.search-results thead th span {
  color: inherit;
}

html[data-glpi-theme=ccmsp_portal] table.search-results thead th[data-searchopt-id]:not([data-searchopt-id=""], [data-nosort]) {
  color: #425466;
}

html[data-glpi-theme=ccmsp_portal] table.search-results thead th .sort-indicator,
html[data-glpi-theme=ccmsp_portal] table.search-results thead th .sort-indicator i,
html[data-glpi-theme=ccmsp_portal] table.search-results thead th .sort-indicator .sort-num,
html[data-glpi-theme=ccmsp_portal] table.table thead th i {
  color: #066395;
}

html[data-glpi-theme=ccmsp_portal] .breadcrumb-item,
html[data-glpi-theme=ccmsp_portal] .breadcrumb-item a {
  color: #526273;
}

html[data-glpi-theme=ccmsp_portal] .breadcrumb-item a:hover {
  color: #066395;
}

html[data-glpi-theme=ccmsp_portal] .breadcrumb-item a.here,
html[data-glpi-theme=ccmsp_portal] .breadcrumb-item.active,
html[data-glpi-theme=ccmsp_portal] .breadcrumb-item.active a {
  color: #0f172a !important;
}

html[data-glpi-theme=ccmsp_portal] .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(82, 98, 115, 0.72);
  opacity: 1;
}

html[data-glpi-theme=ccmsp_portal] [data-testid=service-catalog-description] {
  color: #526273 !important;
}

html[data-glpi-theme=ccmsp_portal] .service-catalog-card .d-flex {
  align-items: flex-start;
}

html[data-glpi-theme=ccmsp_portal] .service-catalog-card-copy {
  min-width: 0;
  flex: 1 1 auto;
}

html[data-glpi-theme=ccmsp_portal] .service-catalog-card-link {
  color: inherit;
  text-decoration: none;
}

html[data-glpi-theme=ccmsp_portal] .service-catalog-card-link:hover,
html[data-glpi-theme=ccmsp_portal] .service-catalog-card-link:focus {
  color: #066395;
  text-decoration: none;
}

html[data-glpi-theme=ccmsp_portal] .service-catalog-card .remove-last-tinymce-margin,
html[data-glpi-theme=ccmsp_portal] .service-catalog-card [data-testid=service-catalog-description] {
  min-width: 0;
  overflow-wrap: anywhere;
}

html[data-glpi-theme=ccmsp_portal] .service-catalog-card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  line-height: 1.55;
  max-height: 6.2em;
}

html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .tiles-banner .text-secondary,
html[data-glpi-theme=ccmsp_portal] .helpdesk-home-container .tickets-banner .text-secondary {
  color: #526273 !important;
}

@media (max-width: 767.98px) {
  html[data-glpi-theme=ccmsp_portal] .portal-home-link {
    padding-inline: 0.75rem;
  }
  html[data-glpi-theme=ccmsp_portal] .portal-home-link span {
    display: none;
  }
}