@use '../../../../styles/_globals.scss' as *;

:host {
  background-color: inherit;
  display: block;
  text-align: center;
  min-height: 100%;
  box-sizing: border-box;
  position: relative;
}

header {
  margin-top: var(--s);
  margin-bottom: var(--s2);

  @include mq(xs) {
    margin-bottom: 0;
  }
}

.notes {
  padding: calc(var(--s) * 1.5);
  // Add extra bottom padding to ensure last note is fully visible
  padding-bottom: calc(var(--s) * 3);

  // Remove max-height and overflow-y to prevent double scrollbars
  // Let the parent bottom-panel-content handle scrolling instead
}

note {
  display: block;
  margin-bottom: calc(var(--s) * 1.5);
}

.drag-over-msg {
  pointer-events: none;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  display: flex;
  z-index: 2;
}

.highlight-searched-item note ::ng-deep .note {
  outline: 2px solid var(--c-accent) !important;
  box-shadow: var(--whiteframe-shadow-6dp) !important;
  transition:
    outline 0.2s ease,
    box-shadow 0.2s ease;
}
