
/* HOSTSENTRA_UI_TOOLBAR1 */

#hsBulk11.hs-toolbar1-enabled {
  position: relative;
  box-sizing: border-box;
  padding: 9px 11px;
}

#hsBulk11 .hs-toolbar1 {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

#hsBulk11 .hs-toolbar1-selection {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

#hsBulk11 .hs-toolbar1-selection label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  cursor: pointer;
  font-size: 12px;
}

#hsBulk11 .hs-toolbar1-selection strong {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

#hsBulk11 .hs-toolbar1-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

#hsBulk11 .hs-toolbar1-actions button {
  font-size: 12px;
  padding: 7px 9px;
  min-height: 31px;
  line-height: 1.2;
  white-space: nowrap;
}

#hsBulk11 .hs-toolbar1-popwrap {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

#hsBulk11 .hs-toolbar1-popup {
  position: absolute;
  z-index: 100;
  top: calc(100% + 5px);
  left: 0;
  width: max-content;
  min-width: 175px;
  max-width: min(260px, 82vw);
  box-sizing: border-box;
  padding: 7px;
  border: 1px solid var(--line, #414141);
  border-radius: 9px;
  background: var(--panel, #242424);
  color: var(--text, inherit);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

#hsBulk11 .hs-toolbar1-popup[hidden] {
  display: none !important;
}

#hsBulk11 .hs-toolbar1-popup.hs-toolbar1-more {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

#hsBulk11 .hs-toolbar1-popup.hs-toolbar1-more button {
  width: 100%;
  text-align: left;
}

#hsBulk11 .hs-toolbar1-popup.hs-toolbar1-move {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
}

#hsBulk11 .hs-toolbar1-popup select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 12px;
}

#hsBulk11 .hs-toolbar1-clear {
  position: absolute;
  right: 7px;
  top: 6px;
}

#hsBulk11 .hs-toolbar1-clear button {
  min-width: 25px;
  min-height: 25px;
  padding: 0 5px;
  font-size: 19px;
  line-height: 1;
}

#hsBulk11 .hs-toolbar1-selection {
  padding-right: 25px;
}

#hsBulk11 #hsBulk11Status {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  padding: 0;
  font-size: 11px;
  overflow-wrap: anywhere;
}

#hsBulk11 #hsBulk11Status:empty {
  display: none;
}

@media (max-width: 440px) {
  #hsBulk11 .hs-toolbar1-actions {
    gap: 4px;
  }

  #hsBulk11 .hs-toolbar1-actions button {
    padding: 6px 7px;
    font-size: 11px;
  }
}

/* HOSTSENTRA_MAIL_FOLDERS6Z5A
   Werkzeugleiste bei markierten Papierkorb-Ordnern.
   Erste Zeile: Endgueltig loeschen.
   Zweite Zeile: Mehr und Wiederherstellen.
*/

#hsBulk11.hs-toolbar1-enabled
.hs-toolbar1-actions.hs-toolbar1-folder-selection {
  display: grid !important;
  grid-template-columns: max-content max-content !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 6px !important;
}

#hsBulk11.hs-toolbar1-enabled
.hs-toolbar1-folder-selection > [data-bulk="trash"] {
  grid-column: 1 / -1 !important;
  grid-row: 1 !important;
}

#hsBulk11.hs-toolbar1-enabled
.hs-toolbar1-folder-selection > .hs-toolbar1-popwrap:not([hidden]) {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

#hsBulk11.hs-toolbar1-enabled
.hs-toolbar1-folder-selection > [data-bulk="restorefolder"] {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  width: auto;
  padding: 7px 9px;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

#hsBulk11.hs-toolbar1-enabled
.hs-toolbar1-actions > [data-bulk="restorefolder"][hidden] {
  display: none !important;
}

#hsBulk11.hs-toolbar1-enabled
.hs-toolbar1-actions > .hs-toolbar1-popwrap[hidden] {
  display: none !important;
}

@media (max-width: 440px) {
  #hsBulk11.hs-toolbar1-enabled
  .hs-toolbar1-folder-selection > [data-bulk="restorefolder"] {
    padding: 6px 7px;
    font-size: 11px;
  }
}


/* HOSTSENTRA_MAIL_UI_VIEW1B */
.hs-view1b-menu {
    border-top: 1px solid var(--line, #d5dce5);
    padding: 5px 0;
    font-family: Arial, "Segoe UI", sans-serif;
}
.hs-view1b-menu > summary {
    cursor: pointer;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text, #253243);
}
.hs-view1b-menu > summary:hover {
    background: var(--soft, #eef2f8);
}
.hs-view1b-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 6px 5px 15px;
}
.hs-view1b-choice {
    display: block;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    text-align: left;
    padding: 8px 11px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--text, #253243);
    font: 13px/1.4 Arial, "Segoe UI", sans-serif;
}
.hs-view1b-choice:hover:not(:disabled) {
    background: var(--soft, #eef2f8);
}
.hs-view1b-choice[aria-pressed="true"] {
    border-color: var(--accent, #4874b8);
    font-weight: 700;
}
.hs-view1b-choice:disabled {
    opacity: .4;
    cursor: default;
}
