/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

@import url("/assets/tribute-0caa4786.css");

@import url("/assets/imagepicker-c6cd5a06.css");

@import url("/assets/actiontext-f5d537aa.css");

/* Custom styling for pagy pager */
nav.pagy {
  & a {
    padding: 0 0.5rem 0 0.5rem;

    &.current {
      color: var(--color-primary);
      font-weight: bolder;
    }
  }
}

/* Custom styling for Hotwire combobox */
div .hw-combobox {
  & .hw-combobox__main__wrapper {
    background-color: white;
    @media(max-width: 48em) {
      width: 250%;
      max-width: 90vw;
    }
  }
}

.hw-combobox__listbox {
  z-index: 20; /* to be over the floating labels */
}

a:not(.navbar-link, .button-link, .unstyled-link, .menu-link, h3 a) {
  font-weight: 500;
  color: var(--color-primary);
}

dialog.custom-confirm {
  border: 0px solid transparent;
  min-width: min-content;
  /*  max-width: min-content;*/
}

dialog.box-shadow {
  padding: 20px;
  border-radius: 5px;

  -webkit-box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
  -moz-box-shadow: rgba(0,0,0,0.3) 0 1px 3px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px;
}

body {
  background-color: var(--background);
}

nav:not(.pagy), #mobile-navbar div {
  background-color: oklch(92.3% 0.003 48.717);
}

trix-editor {
  background-color: white;
}
