/*
 * 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.
 *

 */

/* Tom Select Styles */
.ts-wrapper {
  width: 100%;
  margin-left: 0 !important;
}

.ts-control {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border-radius: 0.5rem;
  border-color: rgb(209 213 219);
  background-color: white;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  /* Add caret */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
}

.ts-dropdown {
  border-radius: 0.375rem;
  border: 1px solid rgb(209 213 219);
  font-size: 1rem;
  line-height: 1.5rem;
}

.ts-dropdown [data-selectable].option:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.ts-dropdown [data-selectable].option:last-child {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.ts-dropdown .create:hover,
.ts-dropdown .option:hover {
  background-color: rgb(240 249 255);
  color: rgb(12 74 110);
}

.ts-dropdown .active {
  background-color: rgb(243 244 246);
  color: rgb(17 24 39);
}
