.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 300!important;
}

/*
 * Saeditor-preview: nollställ plattformens h1 { font-weight: 300 !important }
 * så sajtens tokens + editorns fetstil (strong/b / inline) kan styra — som live.
 */
.sa_editor_preview .h1,
.sa_editor_preview .h2,
.sa_editor_preview .h3,
.sa_editor_preview .h4,
.sa_editor_preview .h5,
.sa_editor_preview .h6,
.sa_editor_preview h1,
.sa_editor_preview h2,
.sa_editor_preview h3,
.sa_editor_preview h4,
.sa_editor_preview h5,
.sa_editor_preview h6 {
    font-weight: unset !important;
}
.sa_editor_preview :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) :is(strong, b) {
    font-weight: 700;
}

.dropzone .dz-image img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
}


/* Fade-effekt för meny */
.menu-fade {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-fade.show {
    opacity: 1;
}

/* Visa dropdown på hover i horizontal layout */
.hover-dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.hover-dropdown .dropdown-menu {
    display: none;
}

.zen-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zen-menu li {
  display: block;
}

.zen-menu a.menu-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem!important;
  color: #212529;
  text-decoration: none;
  border-radius: 0.375rem;
  width: 100%;
}

/* Profilmeny: full bredd, ingen nested-submenu-indent */
.user-dropdown {
  min-width: 16rem;
}

.user-dropdown .zen-menu {
  padding: 0;
  margin: 0;
  list-style: none;
}

.user-dropdown .zen-menu > li {
  display: block;
  margin: 0;
  padding: 0;
}

.user-dropdown .zen-menu a.menu-item {
  display: flex !important;
  width: 100%;
  box-sizing: border-box;
}

.zen-menu.zen-horizontal {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.zen-menu.zen-horizontal > li {
    display: inline-block;
}

.zen-menu.zen-horizontal .menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #212529;
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
}

.zen-menu.zen-horizontal .menu-item:hover {
    color: #000;
    text-decoration: none;
}

.zen-menu.zen-vertical .zen-submenu {
    display: none;
    flex-direction: column;
    margin-left: 1.5rem;
    margin-top: 0.25rem;
}

.zen-menu.zen-vertical .zen-submenu.show {
    display: flex;
}

.zen-menu.zen-horizontal .zen-dropdown {
    position: relative;
}

.zen-menu.zen-horizontal .zen-dropdown > .zen-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem 0;
    min-width: 12rem;
    z-index: 1000;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.zen-menu.zen-horizontal .zen-dropdown:hover > .zen-submenu {
    display: block;
}

.zen-menu.zen-horizontal .zen-submenu li {
    display: block;
}

.zen-menu.zen-horizontal .zen-submenu .menu-item {
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.icontools-mobile .nav-link,
.icontools-mobile .close-app-button {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
  /* Menyn vertikal i mobil */
  .zen-menu.zen-horizontal {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.25rem !important;
  }

  .zen-menu.zen-horizontal > li {
    display: block !important;
  }

  .zen-menu.zen-horizontal .menu-item {
    padding: 0.4rem 1rem !important;
    justify-content: flex-start !important;
    font-size: 0.95rem;
  }

  .zen-menu.zen-horizontal .zen-submenu {
    position: static !important;
    box-shadow: none !important;
    padding-left: 1.25rem;
    margin-top: 0.25rem;
    gap: 0.25rem;
  }

  .zen-menu .icon {
    min-width: 1.25rem;
    text-align: center;
  }

  /* Huvudikoner på mobil (avatar, logout, etc) */
  .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.25rem;
    padding: 1rem 0;
  }

  .navbar-nav .nav-item {
    display: flex;
    justify-content: center;
  }

  .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Avatar dropdown – mobil */
  .user-avatar-dropdown {
    position: relative !important;
    width: 100%;
  }

  .user-avatar-dropdown .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 0.5rem;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .user-avatar-dropdown-mobile .dropdown-menu {
    width: 100%;
    box-shadow: none !important;
    border-radius: 0.375rem !important;
    margin-top: 0.25rem !important;
    padding: 0.5rem 0.75rem;
  }

  /* ✅ Ny wrapper för notis + stängknapp i mobil */
  .icontools-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
  }

  .icontools-mobile .nav-link,
  .icontools-mobile .close-app-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    line-height: 1;
  }

  .icontools-mobile .close-app-button {
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
  }


    
    .icontools-mobile {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.5rem 1.25rem;
    }
    
    .notification-link {
      position: relative;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.4rem;
      height: 2.4rem;
    }
    
    .close-app-button {
      width: 2.4rem;
      height: 2.4rem;
      background-color: #0d6efd;
      color: white;
      border-radius: 50%;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none !important;
      padding: 0;
      line-height: 1;
    }
    
    
    
    .icontools-mobile .nav-link {
          position: relative; /* Gör så badgen positioneras relativt ikonen */
    }

  /* Avatar längst ner (inte dropdown utan statisk rad) */
  .avatar-row-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }

  .avatar-row-mobile img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
  }

  .avatar-row-mobile .user-name {
    font-weight: 600;
    margin-top: 0.5rem;
  }

  .avatar-row-mobile .user-id {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 0.2rem;
  }
  
  .close-app-button {
      text-decoration: none !important;
  }
}




/* Ikonfix */
.zen-menu .icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 1.25rem;
    text-align: center;
}


.hoverbox {
    transition: all .1s ease-in-out;
}
.hoverbox:hover {
    transform: scale(1.04);
}

.grow {
    transition: all .1s ease-in-out;
}
.grow:hover {
    transform: scale(1.04);
}

.dashboard-module-icon-wrap {
    line-height: 1;
}

.dashboard-module-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dashboard-module-icon-area {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-module-foot {
    flex: 0 0 5.25rem;
    height: 5.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dashboard-module-title {
    font-size: 1rem;
    line-height: 1.25;
    width: 100%;
    max-width: 100%;
}

.dashboard-module-title-link {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    line-height: 1.25;
    width: 100%;
    min-width: 0;
}

.dashboard-module-title-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.dashboard-module-title-arrow {
    flex-shrink: 0;
}

.dashboard-module-category {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.dashboard-module-badge,
.zen-menu-badge {
    position: static;
    min-width: 1.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.2em 0.45em;
    vertical-align: middle;
    flex-shrink: 0;
    background-color: #fff !important;
    color: #212529 !important;
    --bs-badge-color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.12);
    text-transform: none !important;
}

.zen-menu a.menu-item.active .zen-menu-badge,
.zen-menu a.menu-item:hover .zen-menu-badge,
.zen-menu.zen-horizontal .menu-item.active .zen-menu-badge,
.zen-menu.zen-horizontal .menu-item:hover .zen-menu-badge {
    color: #212529 !important;
    --bs-badge-color: #212529;
    background-color: #fff !important;
}

.zen-menu.zen-horizontal .menu-item .zen-menu-badge {
    margin-left: 0.15rem;
}

#table-supportdesk-tickets tr.sd-ticket-row--attention > td {
    background-color: #f4faf6 !important;
}
#table-supportdesk-tickets.table-striped > tbody > tr.sd-ticket-row--attention:nth-of-type(odd) > td,
#table-supportdesk-tickets.table-striped > tbody > tr.sd-ticket-row--attention:nth-of-type(even) > td {
    background-color: #f4faf6 !important;
}

.liftup {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.liftup:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  z-index: 99;
  position: relative;
}

/* 🔔 Klocka i fokusappar (Mailio/Desk/Bingo/Site m.fl.) */
.zen-notify {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  z-index: 20;
  overflow: visible;
}
.zen-notify--focus {
  padding: 0.22rem;
  margin: -0.22rem;
}
.zen-notify-toggle {
  position: relative;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  font-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  text-decoration: none;
  overflow: visible;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.zen-notify-toggle:hover,
.zen-notify-toggle:focus-visible {
  background: rgba(15, 23, 42, 0.06);
  color: inherit;
  outline: none;
}
.zen-notify-toggle[aria-expanded="true"] {
  background: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.12);
  color: var(--brand-primary, #8420d4);
}
.zen-notify-badge {
  position: absolute;
  top: 0.05rem;
  right: 0.05rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.28rem !important;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--brand-primary, var(--bs-primary, #8420d4));
  color: var(--brand-text-on-primary, #fff);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
  z-index: 2;
  pointer-events: none;
  overflow: visible;
  box-sizing: border-box;
}

.zen-notify-panel {
  --zen-notify-bg: #f4f5f7;
  --zen-notify-border: rgba(15, 23, 42, 0.08);
  --zen-notify-text: #0f172a;
  --zen-notify-muted: #64748b;
  --bs-offcanvas-width: min(20.5rem, 94vw);
  width: min(20.5rem, 94vw);
  max-width: 94vw;
  overflow-x: hidden;
  border-left: 1px solid var(--zen-notify-border);
  color: var(--zen-notify-text);
}
body:has(#zfaAccountPanel.show),
body:has(#zenNotifyPanel.show) {
  padding-right: 0 !important;
}
.zen-notify-panel .offcanvas-header {
  padding: 1rem 1.1rem 0.85rem;
  border-bottom: 1px solid var(--zen-notify-border);
  align-items: center;
}
.zen-notify-panel .btn-close {
  flex-shrink: 0;
  opacity: 0.7;
  filter: none;
}
.zen-notify-panel .offcanvas-body {
  padding: 0.85rem 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
}
.zen-notify-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  padding: 0.2rem;
  background: var(--zen-notify-bg);
  border-radius: 10px;
  flex-wrap: nowrap;
}
.zen-notify-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--zen-notify-muted);
  border-radius: 8px;
  padding: 0.45rem 0.4rem;
  font-size: 0.8rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
  line-height: 1.2;
  min-width: 0;
}
.zen-notify-tab-label {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.zen-notify-tab.active,
.zen-notify-tab[aria-selected="true"] {
  background: #fff;
  color: var(--brand-primary, #8420d4);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.zen-notify-tab-count {
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--brand-primary, #8420d4);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  flex-shrink: 0;
}
.zen-notify-panes {
  flex: 1 1 auto;
  min-height: 0;
}
.zen-notify-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: min(28rem, calc(100vh - 16rem));
}
.zen-notify-empty {
  padding: 1.25rem 0.35rem;
  color: var(--zen-notify-muted);
  font-size: 0.88rem;
}
.zen-notify-row {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
  gap: 0.65rem;
  padding: 0.65rem 0.4rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}
.zen-notify-row:hover {
  background: var(--zen-notify-bg);
  color: inherit;
}
.zen-notify-row-title {
  font-weight: 650;
  font-size: 0.88rem;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  color: var(--brand-primary, #8420d4);
}
.zen-notify-row-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.18rem;
  min-width: 0;
  flex: 1 1 auto;
}
.zen-notify-row-meta,
.zen-notify-row-time {
  color: var(--zen-notify-muted) !important;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 450;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.zen-notify-panel a.zen-notify-row {
  color: var(--zen-notify-text) !important;
}
.zen-notify-panel a.zen-notify-row:hover {
  color: var(--zen-notify-text) !important;
}
.zen-notify-panel a.zen-notify-row .zen-notify-row-title {
  color: var(--brand-primary, #8420d4) !important;
}
.zen-notify-panel-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem 0.9rem;
  border-top: 1px solid var(--zen-notify-border);
  background: #f8f9fb;
  min-width: 0;
}
.zen-notify-panel-footer a,
.zen-notify-panel-footer button {
  min-width: 0;
  max-width: 100%;
}

/* 🔔 Notifikation-popup (baserat på usermeny) */
.notification-popup,
.zen-notify-menu {
  min-width: 300px!important;
  max-width: 360px!important;
  width: 100%!important;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  display: none; /* hanteras via .show */
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: auto;
  z-index: 1080;
  background-color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.zen-notify--focus .notification-popup {
  min-width: min(22rem, calc(100vw - 1.5rem)) !important;
  max-width: min(22rem, calc(100vw - 1.5rem)) !important;
}

.zen-notify-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.12);
  color: var(--brand-primary, #8420d4);
}
.zen-notify-icon i,
.notification-popup .zen-notify-icon i.fas {
  font-size: 0.85rem;
}
.zen-notify-icon--primary { background: rgba(var(--bs-primary-rgb, 132, 32, 212), 0.12); color: var(--bs-primary, #8420d4); }
.zen-notify-icon--info { background: rgba(13, 202, 240, 0.14); color: #0aa2c0; }
.zen-notify-icon--success { background: rgba(25, 135, 84, 0.12); color: #198754; }
.zen-notify-icon--warning { background: rgba(255, 193, 7, 0.2); color: #b45309; }
.zen-notify-icon--danger { background: rgba(220, 53, 69, 0.12); color: #dc3545; }

.zen-notify-menu .dropdown-item {
  gap: 0.7rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.zen-notify-menu .dropdown-item:last-of-type {
  border-bottom: 0;
}
.zen-notify-menu .dropdown-item:hover {
  background: #f8f5fc;
}
.zen-notify-footer {
  background: #f8f9fb;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.zen-notify-menu {
  white-space: normal;
}

.notification-popup .notification-section-label {
  letter-spacing: .04em;
  background: var(--bs-light, #f8f9fa);
  border-top: 1px solid rgba(0,0,0,.06);
}

.notification-popup .notification-section-label:first-child {
  border-top: 0;
}

/* När .show är på – visa popupen */
.notification-popup.show {
  display: block;
}

/* Enskild item i dropdownen */
.notification-popup .dropdown-item {
  padding: 0.75rem 1rem;
  white-space: normal;
  line-height: 1.3;
}

/* 🟣 Badge OLÄST */
.notification-popup .badge {
  font-size: 0.7rem;
}

/* Ikonruta till vänster */
.notification-popup .dropdown-item i.fas {
  font-size: 1.2rem;
}

@media (max-width: 991.98px) {
  .notification-popup {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: auto;
    right: 0;
    z-index: 1080;
  }
  .notification-popup .dropdown-item {
    padding: 0.85rem 1rem;
  }
  .nav-item .notification-popup {
    left: 0;
    right: 0;
    min-width: 100%;
  }
}

.notificationbadge {
  position: absolute;
  background-color: #fff!important;
  color: #000!important; 
  border: 1px solid #a9a9a9 !important; 
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1)!important; /* liten skugga för lyft */
  font-weight: bold;
  font-size: 12px!important;
  padding: 3px 6px;
  border-radius: 50% !important;
  line-height: 1;
  z-index: 10;
}



@media (max-width: 576px) {
  .notificationbadge {
    top: -2px;
    right: 0px;
  }
  
  .icontools-mobile .nav-link,
    .icontools-mobile .close-app-button {
        font-size: 1.4rem!important;
    }
}

@media (min-width: 577px) and (max-width: 991.98px) {
  .notificationbadge {
    top: -7px;
    right: -7px;
  }
  
    .icontools-mobile .nav-link,
    .icontools-mobile .close-app-button {
        font-size: 1.4rem!important;
    }
}

@media (min-width: 992px) {
  .notificationbadge {
    top: -3px;
    right: -2px;
  }
  
    .icontools-mobile .nav-link,
    .icontools-mobile .close-app-button {
        font-size: 1.5rem!important;
    }
}

/* Inline edit affordance */
.js-editable {
    cursor: text;
}

.js-editable:hover {
    background-color: #f8f5ff;
    /* diskret lila/grå */
    box-shadow: inset 0 0 0 1px #e0d7ff;
}

/* Inline text edit (t.ex. offert-hälsning) */
.estimate-intro-card .form-control.estimate-title-inline,
.estimate-intro-card .form-control.estimate-spec-message-edit,
.estimate-closing-card .form-control.estimate-spec-message-edit,
.js-inline-text-edit textarea.estimate-spec-message-edit {
    border: 1px solid rgba(var(--brand-primary-rgb, 132, 32, 212), 0.22) !important;
    background: #fff;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.estimate-intro-card .form-control.estimate-title-inline:hover,
.estimate-intro-card .form-control.estimate-spec-message-edit:hover,
.estimate-closing-card .form-control.estimate-spec-message-edit:hover,
.js-inline-text-edit textarea.estimate-spec-message-edit:hover {
    border-color: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.45) !important;
    background: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.03);
}

.estimate-intro-card .form-control.estimate-title-inline:focus,
.estimate-intro-card .form-control.estimate-spec-message-edit:focus,
.estimate-closing-card .form-control.estimate-spec-message-edit:focus,
.js-inline-text-edit textarea.estimate-spec-message-edit:focus {
    border-color: var(--form-focus-color, var(--brand-primary, #8420d4)) !important;
    background: #fff;
    box-shadow: 0 0 0 0.25rem var(--form-focus-shadow, rgba(var(--brand-primary-rgb, 132, 32, 212), 0.25)) !important;
    outline: none !important;
}

.js-inline-text-edit textarea.estimate-message-inline {
    border: 1px solid rgba(var(--brand-primary-rgb, 132, 32, 212), 0.22) !important;
    background: #fff;
    resize: vertical;
    min-height: 10rem;
    line-height: 1.75;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.js-inline-text-edit textarea.estimate-message-inline:hover {
    border-color: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.45) !important;
    background: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.03);
}

.js-inline-text-edit textarea.estimate-message-inline:focus {
    border-color: var(--form-focus-color, var(--brand-primary, #8420d4)) !important;
    background: #fff;
    box-shadow: 0 0 0 0.25rem var(--form-focus-shadow, rgba(var(--brand-primary-rgb, 132, 32, 212), 0.25)) !important;
    outline: none !important;
}

.js-inline-text-edit.is-saving textarea.estimate-message-inline {
    opacity: 0.7;
}

.js-estimate-rich-edit {
    position: relative;
    overflow: visible;
}

.js-estimate-rich-edit .estimate-rich-edit-shell {
    position: relative;
    overflow: visible;
}

.js-estimate-rich-edit:not(.is-editing) .estimate-rich-toolbar {
    display: none !important;
}

.js-estimate-rich-edit .estimate-rich-toolbar {
    display: none;
    align-items: center;
    gap: 0.15rem;
    width: fit-content;
    max-width: 100%;
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.35rem);
    top: auto;
    z-index: 20;
    margin: 0;
    padding: 0.25rem 0.35rem;
    background: #fff;
    border: 1px solid rgba(var(--brand-primary-rgb, 132, 32, 212), 0.28);
    border-radius: 0.5rem;
    box-shadow: 0 6px 18px rgba(var(--brand-primary-rgb, 132, 32, 212), 0.12);
    pointer-events: auto;
}

.js-estimate-rich-edit.is-editing .estimate-rich-toolbar {
    display: inline-flex !important;
}

.js-estimate-rich-edit .estimate-rich-toolbar .btn-light {
    border-color: transparent;
    color: var(--brand-primary, #8420d4);
    min-width: 2rem;
    padding: 0.2rem 0.45rem;
    border-radius: 0.35rem;
}

.js-estimate-rich-edit .estimate-rich-toolbar .btn-light:hover,
.js-estimate-rich-edit .estimate-rich-toolbar .btn-light:focus {
    background: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.12);
    border-color: transparent;
    color: var(--brand-primary, #8420d4);
}

.js-estimate-rich-edit .estimate-rich-body {
    min-height: 10rem;
    line-height: 1.75;
    padding: 0.75rem;
    border: 1px solid rgba(var(--brand-primary-rgb, 132, 32, 212), 0.22) !important;
    border-radius: 0.375rem;
    background: #fff;
    outline: none !important;
    box-shadow: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.js-estimate-rich-edit .estimate-rich-body:hover {
    border-color: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.45) !important;
    background: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.02);
}

.js-estimate-rich-edit.is-editing .estimate-rich-body,
.js-estimate-rich-edit .estimate-rich-body:focus,
.js-estimate-rich-edit .estimate-rich-body:focus-visible {
    padding: 0.75rem;
    background: #fff;
    outline: none !important;
    border-color: var(--form-focus-color, var(--brand-primary, #8420d4)) !important;
    box-shadow: 0 0 0 0.25rem var(--form-focus-shadow, rgba(var(--brand-primary-rgb, 132, 32, 212), 0.25)) !important;
}

.js-estimate-rich-edit.is-saving .estimate-rich-body {
    opacity: 0.7;
}

.js-estimate-rich-edit .estimate-rich-body p,
.estimate-message-body p {
    margin: 0 0 0.75rem;
}

.js-estimate-rich-edit .estimate-rich-body p:last-child,
.estimate-message-body p:last-child {
    margin-bottom: 0;
}

.js-estimate-rich-edit .estimate-rich-body p.estimate-msg-gap,
.estimate-message-body p.estimate-msg-gap {
    min-height: 0.75rem;
}

.estimate-spec-message-edit {
    white-space: pre-wrap;
}

@keyframes zenEstimateLineIn {
    from {
        opacity: 0;
        transform: translateY(-0.65rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zenEstimateLineOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(0.65rem);
    }
}

.js-estimate-draft-lines tr.estimate-draft-line--enter {
    animation: zenEstimateLineIn 0.36s ease-out;
}

.js-estimate-draft-lines tr.estimate-draft-line--leave {
    animation: zenEstimateLineOut 0.28s ease-in forwards;
    pointer-events: none;
}

.text-pre-line {
    white-space: pre-line;
}

.estimate-message-body h2,
.js-estimate-rich-edit .estimate-rich-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.25rem 0 0.5rem;
}

.estimate-message-body h3,
.js-estimate-rich-edit .estimate-rich-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1rem 0 0.35rem;
}

.estimate-intro-hero__img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.estimate-intro-hero__img--public {
    max-height: 320px;
}

.estimate-intro-hero--admin .estimate-intro-hero__img {
    max-height: 220px;
}

.estimate-intro-hero-wrap {
    border-radius: 0.75rem;
    overflow: hidden;
}

.estimate-intro-hero-wrap .estimate-intro-hero__img--admin {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.estimate-intro-hero-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding: 1.5rem;
    background: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 0.75rem;
    text-align: center;
}

.estimate-intro-change-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
}

.estimate-intro-hero__img--modal-preview {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.estimate-intro-card .card-body,
.estimate-closing-card .card-body {
    overflow: visible;
}

.estimate-title-inline {
    background: #fff;
    box-shadow: none;
    border: 1px solid rgba(var(--brand-primary-rgb, 132, 32, 212), 0.22) !important;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.estimate-title-inline:hover {
    background: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.03);
    border-color: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.45) !important;
}

.estimate-title-inline:focus {
    background: #fff;
    border-color: var(--form-focus-color, var(--brand-primary, #8420d4)) !important;
    box-shadow: 0 0 0 0.25rem var(--form-focus-shadow, rgba(var(--brand-primary-rgb, 132, 32, 212), 0.25)) !important;
    outline: none !important;
}


.estimate-closing-hero-wrap {
    max-width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
}

.estimate-closing-hero__img {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 0.75rem;
}

.estimate-closing-card .estimate-rich-body--closing,
.estimate-closing-preview-inner.estimate-rich-body--closing,
.estimate-public-closing .estimate-rich-body--closing {
    text-align: center;
    line-height: 1.75;
}

.estimate-closing-preview-inner.estimate-rich-body--closing p,
.estimate-public-closing .estimate-rich-body--closing p {
    margin: 0 0 0.75rem;
}

.estimate-closing-preview-inner.estimate-rich-body--closing p:last-child,
.estimate-public-closing .estimate-rich-body--closing p:last-child {
    margin-bottom: 0;
}

.estimate-closing-preview-inner.estimate-rich-body--closing p.estimate-msg-gap,
.estimate-public-closing .estimate-rich-body--closing p.estimate-msg-gap {
    min-height: 0.75rem;
    line-height: 0.75rem;
}

.estimate-closing-card .estimate-closing-preview,
.estimate-public-closing .estimate-closing-preview {
    line-height: 1.8;
    text-align: center;
}

.estimate-closing-card .estimate-rich-body--closing,
.estimate-closing-preview-inner {
    text-align: center;
}

.estimate-closing-card .estimate-rich-body--closing h2,
.estimate-closing-card .estimate-rich-body--closing h3,
.estimate-closing-preview-inner h2,
.estimate-closing-preview-inner h3 {
    text-align: center;
}

.estimate-closing-card .estimate-rich-body--closing ul,
.estimate-closing-preview-inner ul {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

.estimate-closing-card .estimate-closing-lead {
    color: var(--bs-body-color, #212529);
}

.estimate-closing-gap {
    min-height: 1.75rem;
    line-height: 1.75rem;
}

.estimate-public-closing .estimate-closing-gap {
    min-height: 2rem;
    line-height: 2rem;
}

/* Webboffert — luft mellan intro, spec och avslut (även via app.css) */
#public-estimate .estimate-public-cover {
    margin-bottom: 0;
    padding-bottom: 3.5rem;
    border-bottom: none;
}

#public-estimate .estimate-public-cover + .estimate-public-offer-head {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#public-estimate .estimate-public-spec {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#public-estimate .estimate-public-closing {
    margin-top: 6rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

#public-estimate .estimate-public-closing .estimate-closing-hero-wrap {
    margin-top: 3rem;
}

/* Admin offertvy — luft mellan intro, spec och avslut */
.estimate-web-document .estimate-intro-card {
    margin-bottom: 3.5rem !important;
}

.estimate-web-document .card.shadow-sm.border-0.rounded-4.mb-5 {
    margin-top: 3.5rem;
    margin-bottom: 3.5rem !important;
}

.estimate-web-document .estimate-closing-card {
    margin-top: 4rem !important;
}

.estimate-web-document .estimate-closing-hero-wrap {
    margin-top: 3rem;
}

.estimate-closing-card .estimate-closing-contact a {
    color: var(--brand-primary, #8420d4);
    text-decoration: none;
    font-weight: 500;
}

.estimate-closing-card .estimate-closing-contact a:hover {
    text-decoration: underline;
}

.estimate-closing-edit {
    border: 1px solid rgba(var(--brand-primary-rgb, 132, 32, 212), 0.22) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.estimate-closing-edit:hover {
    border-color: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.45) !important;
}

.estimate-closing-edit:focus {
    border-color: var(--form-focus-color, var(--brand-primary, #8420d4)) !important;
    box-shadow: 0 0 0 0.25rem var(--form-focus-shadow, rgba(var(--brand-primary-rgb, 132, 32, 212), 0.25)) !important;
    outline: none !important;
}

.estimate-spec-message-edit {
    border: 1px solid rgba(var(--brand-primary-rgb, 132, 32, 212), 0.22) !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.estimate-spec-message-edit:hover {
    border-color: rgba(var(--brand-primary-rgb, 132, 32, 212), 0.45) !important;
}

.estimate-spec-message-edit:focus {
    border-color: var(--form-focus-color, var(--brand-primary, #8420d4)) !important;
    box-shadow: 0 0 0 0.25rem var(--form-focus-shadow, rgba(var(--brand-primary-rgb, 132, 32, 212), 0.25)) !important;
    outline: none !important;
}

.estimate-greeting-auto-footer-preview {
    border-top: 1px solid color-mix(in srgb, var(--brand-primary, #8420d4) 12%, #e9ecef);
}

.estimate-greeting-auto-footer .estimate-greeting-signature {
    color: var(--bs-body-color, #212529);
}

.estimate-greeting-auto-footer .estimate-greeting-signature-email a {
    color: var(--brand-primary, #8420d4);
    text-decoration: none;
}

.estimate-greeting-auto-footer .estimate-greeting-signature-email a:hover {
    text-decoration: underline;
}


/* License widget (ring) */
.license-ring-wrap{
  width: 110px;
  height: 110px;
  position: relative;
}

.license-ring{
  width:110px;
  height:110px;
  border-radius:50%;
  display:grid;
  place-items:center;
}

.license-ring::after{
  content:"";
  width:82px;
  height:82px;
  border-radius:50%;
  background:#fff;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.03);
}

.license-ring-inner{
  position:absolute;
  text-align:center;
  line-height:1.1;
}

.license-ring-label{
  font-size:.80rem;
  color:#6c757d;
  margin-bottom:.1rem;
}

.license-ring-value{
  font-size:1.4rem;
  font-weight:800;
  color:var(--primary-color);
}

/* Infinity icon styling */
.license-inf{
  font-size: 1.25em;
  font-weight: 700;
  vertical-align: -0.10em;
  opacity: .85;
}

/* Animate the ring fill */
@property --p {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.license-ring-anim{
  animation: licenseFill 900ms cubic-bezier(.2,.9,.2,1) forwards;
}

.license-ring-wrap.ring-compact {
  transform: scale(0.75);
}

@keyframes licenseFill{
  from { --p: 0%; }
  to   { --p: var(--target); }
}

/* Icon pop animation */
.license-ring-anim .license-inf{
  animation: licenseIconPop 650ms cubic-bezier(.2,.9,.2,1) 120ms forwards;
  opacity: 0;
  transform: translateY(1px) scale(.92);
}

@keyframes licenseIconPop{
  0%   { opacity: 0; transform: translateY(1px) scale(.92); }
  60%  { opacity: 1; transform: translateY(1px) scale(1.04); }
  100% { opacity: 1; transform: translateY(1px) scale(1); }
}


/* =========================================
   Stat ring (generic, reusable)
   ========================================= */

.stat-ring-wrap {
    position: relative;
    width: var(--size, 92px);
    height: var(--size, 92px);
}

.stat-ring {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.stat-ring::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: var(--inner, 70px);
    height: var(--inner, 70px);
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .03);
    z-index: 0;
}

.stat-ring-inner {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    color: #212529;
    pointer-events: none;
}

.stat-ring-label {
    font-size: .80rem;
    color: #6c757d;
    margin-bottom: .1rem;
}

.stat-ring-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: #212529 !important;
    letter-spacing: -0.02em;
}

.stat-ring-value .stat-ring-total {
    font-weight: 600;
    font-size: 0.85em;
    color: #495057 !important;
}

/* Animate fill (reuse same property name, OK globally) */
@property --p {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

.stat-ring-anim {
    animation: statRingFill 900ms cubic-bezier(.2, .9, .2, 1) forwards;
}

@keyframes statRingFill {
    from {
        --p: 0%;
    }

    to {
        --p: var(--target);
    }
}

/* Compact preset (header) */
.stat-ring-wrap.is-compact {
    --size: 64px;
    --inner: 46px;
}

.stat-ring-wrap.is-compact .stat-ring-label {
    display: none;
    /* header: inga extra rader */
}

.stat-ring-wrap.is-compact .stat-ring-value {
    font-size: 1.05rem;
}

/* Ännu mindre ring (t.ex. hälsokort på översikt) */
.stat-ring-wrap.is-embed {
    --size: 56px;
    --inner: 42px;
}

.stat-ring-wrap.is-compact.is-embed {
    --size: 50px;
    /* --inner: 36px;*/
}

.stat-ring-wrap.is-embed .stat-ring-value {
    font-size: 0.95rem;
}

.stat-ring-wrap.is-compact.is-embed .stat-ring-value {
    font-size: 0.9rem;
}

.stat-ring-wrap.is-compact.is-embed .stat-ring-value .stat-ring-total {
    font-size: 0.78em;
}

/* Översikt hälsokort: större ring, samma sifferstorlek → mer luft */
.sa-health-panel-ring .stat-ring-wrap.is-compact.is-embed {
    --size: 76px;
    --inner: 58px;
}

.sa-health-panel-ring .stat-ring-wrap.is-compact.is-embed .stat-ring-value {
    font-size: 0.9rem;
}

/* Hälsa-flik: ännu större ring + något större brödtext */
.wpkit-health-ring-detail .stat-ring-wrap.is-compact {
    --size: 112px;
    --inner: 86px;
}

.wpkit-health-ring-detail .stat-ring-wrap.is-compact .stat-ring-value {
    font-size: 1rem;
    line-height: 1.15;
}

.wpkit-health-ring-detail .stat-ring-wrap.is-compact .stat-ring-value .stat-ring-total {
    font-size: 0.8em;
}

.wpkit-health-tab .wpkit-health-intro {
    font-size: 0.95rem;
}

.wpkit-health-tab .wpkit-health-status {
    font-size: 1rem;
}

.wpkit-health-tab .wpkit-health-status .fw-semibold {
    font-size: 1.05rem;
}

.filter-bar{
  background: #fff;
}

.filter-bar .input-group{
  background: #f8f9fa;
  border-radius: 999px;
  padding: .25rem .25rem;
}

.filter-bar .input-group-text,
.filter-bar .form-control{
  background: transparent !important;
}

.filter-bar .form-control:focus{
  box-shadow: none;
}

.filter-bar .btn-group{
  background: #f8f9fa;
  border-radius: 999px;
  padding: .25rem;
}

.filter-bar .btn{
  border: 0;
  border-radius: 999px !important;
  padding: .45rem .9rem;
}

.filter-bar .btn.active{
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* Säljstöd — Hämta företag: tydlig aktiv flik i söktyp (btn-check + tema) */
.sales-ft-mode-group .btn-check:checked + .btn {
    z-index: 2;
}

/* Bootstrap Table: undvik onödig vertikal scrollbar i tabellkroppen när ingen
   fast höjd (data-height) används — vendor sätter overflow:auto + height:100%.
   Sätt inte overflow-x:auto på en yttre wrapper runt tabellen; det ger dubbel
   scroll (tom lista m.m.). overflow-y får inte vara visible tillsammans med
   overflow-x:auto (CSS tvingar då y till auto och ger sidscroll i kortet). */
.bootstrap-table .fixed-table-container {
    width: 100%;
    max-width: 100%;
}
.bootstrap-table .fixed-table-container:not(.fixed-height) .fixed-table-body {
    overflow-x: auto;
    overflow-y: hidden;
    height: auto !important;
}

/* Säljstöd — Kanban-kort (hover lyft + ram, ingen skugga) */
.sales-kanban-board .card.sales-kanban-card,
.sales-mine-nya-grid .card.sales-kanban-card {
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    outline: 2px solid transparent;
    outline-offset: -2px;
    transition: transform 0.22s ease, border-color 0.22s ease, outline-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease !important;
    position: relative;
}

.sales-kanban-board .card.sales-kanban-card:hover,
.sales-mine-nya-grid .card.sales-kanban-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--brand-primary, #8420d4) !important;
    outline: 2px solid color-mix(in srgb, var(--brand-primary, #8420d4) 40%, transparent) !important;
    outline-offset: -1px;
    box-shadow: 0 0 0 1px var(--brand-primary, #8420d4) !important;
    background-color: #fff !important;
    z-index: 5;
}

.sales-kanban-board .card.sales-kanban-card.border-danger-subtle:hover,
.sales-mine-nya-grid .card.sales-kanban-card.border-danger-subtle:hover {
    border-color: var(--bs-danger, #dc3545) !important;
    outline-color: rgba(var(--bs-danger-rgb, 220, 53, 69), 0.35) !important;
}

.sales-kanban-card .sales-kanban-card-title {
    margin-top: 1rem !important;
    padding-top: 0.35rem !important;
    line-height: 1.35;
}

.sales-kanban-card .sales-kanban-card-divider {
    border: 0;
    border-top: 1px solid var(--bs-border-color-translucent, rgba(0, 0, 0, 0.1));
    opacity: 1;
    margin: 0.15rem 0 0.35rem;
}

.sales-kanban-card .sales-kanban-card-footer {
    padding-top: 0;
    margin-top: 0;
}

.sales-kanban-card .sales-kanban-card-people > div + div {
    margin-top: 0.2rem;
}

/* === Kaffepaus (innehåll i #genericModal) === */
.zen-coffee-break__cup {
    color: #6b4f3a;
    display: flex;
    justify-content: center;
    line-height: 0;
}

.zen-coffee-break__svg {
    display: block;
    max-width: 120px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.zen-coffee-break__headline {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-body-color, #212529);
}

.zen-coffee-break__text {
    font-size: 0.95rem;
    line-height: 1.45;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
}

.zen-coffee-break__steam {
    color: rgba(107, 79, 58, 0.45);
}

.zen-coffee-break__steam-line {
    transform-origin: center bottom;
    animation: zenCoffeeSteam 2.4s ease-in-out infinite;
}

.zen-coffee-break__steam-line--1 {
    animation-delay: 0s;
}

.zen-coffee-break__steam-line--2 {
    animation-delay: 0.45s;
}

.zen-coffee-break__steam-line--3 {
    animation-delay: 0.9s;
}

.zen-coffee-break__body,
.zen-coffee-break__handle,
.zen-coffee-break__rim {
    animation: zenCoffeeSway 3.6s ease-in-out infinite;
    transform-origin: 60px 100px;
}

@keyframes zenCoffeeSteam {
    0%,
    100% {
        opacity: 0.25;
        transform: translateY(0) scaleY(1);
    }
    50% {
        opacity: 0.85;
        transform: translateY(-6px) scaleY(1.08);
    }
}

@keyframes zenCoffeeSway {
    0%,
    100% {
        transform: rotate(-1.2deg);
    }
    50% {
        transform: rotate(1.2deg);
    }
}

/* Opaque toasts and Bootstrap tooltips (platform-wide) */
.toast,
.zen-toast {
    --bs-toast-bg: #ffffff;
    --bs-toast-color: #0f172a;
    --bs-toast-border-width: 1px;
    --bs-toast-border-color: rgba(15, 23, 42, 0.12);
    --bs-toast-box-shadow: 0 0.65rem 1.85rem rgba(15, 23, 42, 0.2);
    background-color: #ffffff !important;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 0.65rem 1.85rem rgba(15, 23, 42, 0.2) !important;
    opacity: 1 !important;
}
.toast.showing,
.toast.show,
.zen-toast.showing,
.zen-toast.show {
    opacity: 1 !important;
}
.toast .toast-body,
.zen-toast .toast-body {
    font-weight: 500;
    color: #0f172a;
}
.zen-toast .zen-toast__icon {
    display: inline-block;
    transform-origin: center;
}
.zen-toast .zen-toast__icon.fa-circle-check {
    animation: zen-toast-check 0.48s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
}
@keyframes zen-toast-check {
    0% {
        transform: scale(0.35);
        opacity: 0;
    }
    55% {
        transform: scale(1.16);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.toast-container,
.zen-toast-container {
    z-index: 10920 !important;
}
.tooltip {
    --bs-tooltip-bg: #0f172a;
    --bs-tooltip-color: #fff;
    --bs-tooltip-opacity: 1;
}
.tooltip .tooltip-inner {
    font-weight: 550;
    box-shadow: 0 0.35rem 0.9rem rgba(15, 23, 42, 0.22);
}

@media (prefers-reduced-motion: reduce) {
    .zen-toast .zen-toast__icon.fa-circle-check {
        animation: none;
    }

    .zen-coffee-break__steam-line,
    .zen-coffee-break__body,
    .zen-coffee-break__handle,
    .zen-coffee-break__rim {
        animation: none;
    }

    .zen-coffee-break__steam-line {
        opacity: 0.5;
    }
}
