@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  /* typography */
  .h1 {
    @apply text-[2.25rem] xl:text-[2.5rem] font-bold text-midnight;
  }
  .h2 {
    @apply text-[1.8rem] xl:text-[2rem] font-bold text-midnight;
  }
  .h3 {
    @apply text-[1.6rem] xl:text-[1.75rem] font-bold text-midnight;
  }
  .h4 {
    @apply text-2xl font-semibold text-midnight;
  }
  .h5 {
    @apply text-xl font-semibold text-midnight;
  }
  .h6 {
    @apply text-lg font-semibold text-midnight;
  }
  .text-primary-lg {
    @apply text-xl text-charcoal;
  }
  .text-primary {
    @apply text-base text-charcoal;
  }
  .text-primary-sm {
    @apply text-sm text-charcoal;
  }
  .inverse {
    @apply text-white;
  }

  .hr {
    @apply text-gray-40 my-2;
  }

  .email-wrap {
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* buttons and link  */
  .inline-link,
  p a:not(.btn):not(.arrow-link) {
    @apply font-semibold text-cornflower-110 underline underline-offset-2 text-base hover:text-orange relative;
    font-size: inherit;
  }

  .inline-link:before {
    @apply bg-orange;
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    border-radius: 4px;
    bottom: 0;
    left: 0;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
  }

  .inline-link:hover::before {
    transform-origin: left;
    transform: scaleX(1);
  }

  button.inline-link::before {
    bottom: 2px;
  }

  .inline-link.inverse {
    @apply text-white hover:text-cornflower-20;
  }
  .inline-link.inverse:before {
    @apply bg-cornflower-20;
  }

  .arrow-link {
    @apply text-base inline-block font-semibold text-cornflower-110 hover:text-orange focus-visible:text-orange focus-visible:outline-0 focus-visible:shadow-sm focus-visible:shadow-cornflower;
  }

  .arrow-link:after,
  .arrow-link:before {
    @apply inline-block transition-transform text-lg;
    font-family: "Font Awesome 5 Pro";
    font-weight: 300;
    padding-bottom: 3px;
    vertical-align: middle;
    position: relative;
    transform: translateX(0);
  }

  .arrow-link.arrow-link-left:before {
    content: "\f060";
    padding-right: 3px;
  }

  .arrow-link.arrow-link-left:hover:before {
    transform: translateX(-7px);
  }

  .arrow-link.arrow-link-right:after {
    content: "\f061";
    padding-left: 3px;
  }

  .arrow-link.arrow-link-right:hover:after {
    transform: translateX(7px);
  }

  .btn {
    @apply text-center text-base font-bold px-4 py-2 mb-0 rounded-md transition select-none cursor-pointer border-2 focus-visible:outline-0 focus-visible:shadow-btn-focus focus-visible:shadow-navy;
    white-space: nowrap;
  }

  a[aria-disabled="true"],
  .btn[aria-disabled="true"],
  .btn[disabled="disabled"],
  .btn[disabled=""],
  input[type="submit"][disabled="disabled"],
  input[type="submit"][disabled=""] {
    @apply opacity-50 cursor-not-allowed;
  }
  .btn-xs {
    @apply border font-semibold text-sm rounded px-2 py-1;
  }
  .btn-sm {
    @apply border font-semibold text-[0.75rem] rounded px-3 py-1;
  }

  .btn-primary {
    @apply bg-navy hover:bg-gold text-gold hover:text-navy border-navy hover:border-gold;
  }

  .btn-primary[aria-disabled="true"] {
    @apply hover:bg-navy hover:border-navy hover:text-gold;
  }

  .btn-secondary {
    @apply bg-transparent md:hover:bg-navy text-navy md:hover:text-gold border-navy;
  }

  .btn-secondary[aria-disabled="true"] {
    @apply hover:bg-transparent hover:text-navy;
  }

  .btn-tertiary {
    @apply bg-cornflower hover:bg-gold text-white hover:text-navy border-cornflower hover:border-gold;
  }

  .btn-tertiary[aria-disabled="true"] {
    @apply hover:bg-cornflower hover:text-white hover:border-cornflower;
  }

  .btn-icon.btn-delete {
    @apply relative text-error border-error hover:text-white hover:bg-error;
  }
  .btn-icon.btn-cancel {
    @apply relative text-gray-80 border-gray-80 hover:text-white hover:bg-gray-80;
  }
  .btn-icon.btn-submit {
    @apply hover:text-gold hover:cursor-pointer focus-visible:outline-0 focus-visible:shadow-btn-focus focus-visible:shadow-navy pl-10 text-base text-navy w-auto;
    background-image: url(/assets/floppy-disk-regular-e2a586976958343428dfd38ece32717176e2429bdea9299301ea1fd5ffa444af.svg);
    background-repeat: no-repeat;
    background-position-x: 1rem;
    background-position-y: center;
    background-size: 16px;
  }
  .btn-icon.btn-submit:hover,
  .btn-icon.btn-submit:focus-visible {
    background-image: url(/assets/floppy-disk-regular-gold-d654cf259fcf95f386ccc07de10919dcb726cd0d4302a15ed6de26f70ec75e3c.svg);
  }
  .btn-icon.btn-submit.btn-upload {
    background-image: url(/assets/upload-regular-aa14bd4b3f6260c9a490a9a129eacf738277702f09d6822ed0663159bc45f98a.svg);
  }
  .btn-icon.btn-submit.btn-upload:hover,
  .btn-icon.btn-submit.btn-upload:focus-visible {
    background-image: url(/assets/upload-regular-gold-7f649730129aebba69d9aaad994668e1a54d835d8e5d42aed8729e14a1004a1b.svg);
  }
  a + .btn,
  .btn + .btn {
    @apply ml-2;
  }
  .label {
    @apply text-base inline-block mb-1 text-gray-100;
  }

  .label-checkbox {
    @apply cursor-pointer;
  }

  .input {
    @apply w-full border border-navy rounded-md p-2 relative focus:outline-0 focus-visible:outline-0 focus:shadow-card-focus focus:border-cornflower focus:ring-offset-cornflower focus:ring-cornflower focus-visible:border-cornflower focus-visible:ring-offset-cornflower focus-visible:ring-cornflower focus-visible:shadow-card-focus;
    box-sizing: border-box;
  }

  select.input {
    @apply cursor-pointer;
  }

  input[type="checkbox"].input {
    @apply w-auto h-auto cursor-pointer rounded-sm border border-navy focus:outline-0 hover:shadow-card-focus hover:ring-cornflower hover:border-cornflower focus:ring-offset-0 focus:ring-0 focus-visible:border-cornflower focus-visible:ring-offset-cornflower focus-visible:ring-cornflower focus-visible:shadow-card-focus focus-visible:outline-0 text-navy;
  }
  input[type="checkbox"].input.input-cbx {
    @apply relative;
    margin-top: 5px;
  }

  input[type="radio"]:checked + .radio-card-label label {
    @apply text-white;
  }
  input[type="radio"].input {
    @apply w-auto h-auto rounded-full cursor-pointer accent-navy text-navy outline-navy border border-navy focus:outline-0 hover:shadow-card-focus hover:ring-cornflower hover:border-cornflower focus:ring-offset-0 focus:ring-0 focus-visible:border-cornflower focus-visible:ring-offset-cornflower focus-visible:ring-cornflower focus-visible:shadow-card-focus focus-visible:outline-0 text-navy;
  }

  input[type="radio"][aria-disabled="true"],
  input[type="radio"][aria-disabled="true"]:checked + .radio-card-label label {
    @apply !text-gray-60;
  }

  input[type="checkbox"].input:disabled,
  input[type="radio"].input:disabled,
  .input:disabled,
  .floating-label .input:disabled,
  .floating-label.select-wrapper .input.input-select:disabled {
    @apply opacity-60 cursor-not-allowed;
  }

  .floating-label {
    @apply relative cursor-pointer;
  }
  .floating-label .input {
    @apply mr-0 relative p-0 bg-transparent w-full border border-navy rounded-md p-2 relative focus:outline-0 focus-visible:outline-0 focus:shadow-card-focus focus:border-cornflower focus:ring-offset-cornflower focus:ring-cornflower focus-visible:border-cornflower focus-visible:ring-offset-cornflower focus-visible:ring-cornflower focus-visible:shadow-card-focus cursor-pointer placeholder:text-gray-100;
    box-shadow: none;
    height: 54px;
  }
  .floating-label .input.input-textarea {
    min-height: 54px;
    height: auto;
  }
  .floating-label .label {
    @apply absolute transition-all opacity-0;
    left: 10px;
    transform: translateY(50%);
    transform-origin: left;
  }
  .floating-label input:not(:placeholder-shown) {
    padding: 20px 0 0 10px;
  }
  .floating-label textarea:not(:placeholder-shown) {
    padding: 26px 0 0 10px;
  }
  .floating-label input:not(:placeholder-shown) + .label,
  .floating-label textarea:not(:placeholder-shown) + .label {
    @apply opacity-100;
    transform: translateY(0) scale(0.85);
  }
  .floating-label
    input:focus:not(:placeholder-shown)
    + .label
    .floating-label
    textarea:focus:not(:placeholder-shown)
    + .label {
    @apply text-navy font-semibold opacity-100;
  }
  .floating-label textarea:not(:placeholder-shown) + .label {
    @apply bg-white;
  }
  .floating-label.select-wrapper .input.input-select {
    @apply focus:shadow-card-focus focus-visible:shadow-card-focus focus-visible:outline-none  focus:border-cornflower focus:ring-offset-cornflower focus:ring-cornflower focus-visible:border-cornflower focus-visible:ring-offset-cornflower focus-visible:ring-cornflower;
    padding: 20px 0 0 10px;
    background-image: none;
  }
  .floating-label.select-wrapper .label.in-focus,
  .floating-label .label.in-focus {
    @apply opacity-100;
    transform: translateY(0) scale(0.85);
  }
  .floating-label.select-wrapper::after {
    @apply absolute text-navy text-base;
    bottom: 10px;
    right: 10px;
    content: "\f107";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    display: inline;
    z-index: -1;
  }

  .field_with_errors .input {
    @apply border-error border-2;
  }

  .input-error {
    @apply text-error text-sm font-semibold mt-2;
  }

  /* Range Input */
  input[type="range"] {
    -webkit-appearance: none;
    margin: 18px 0;
    @apply w-full h-2 rounded-full cursor-pointer;
  }

  input[type="range"]:focus {
    outline: none;
  }

  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    @apply w-8 h-8 rounded-full bg-navy border-navy cursor-pointer;
  }

  input[type="range"]::-moz-range-thumb {
    @apply w-8 h-8 rounded-full bg-navy border-navy cursor-pointer;
  }

  input[type="range"]::-ms-thumb {
    @apply w-8 h-8 rounded-full bg-navy border-navy cursor-pointer;
  }

  /* Pills */
  .status-pill {
    @apply font-semibold rounded-2xl text-[0.85rem] inline-block py-0.5 text-center;
    width: 130px;
  }

  .status-pill-end {
    @apply bg-gray-60 text-charcoal;
  }

  .status-pill-error {
    @apply bg-error text-white;
  }

  .status-pill-info {
    @apply bg-info text-charcoal;
  }

  .status-pill-warning {
    @apply bg-warning text-charcoal;
  }

  .status-pill-warning-minor {
    @apply bg-warning-minor text-charcoal;
  }

  .status-pill-success {
    @apply bg-success text-white;
  }

  /* Alerts */
  .alert {
    @apply text-primary;
  }
  .alert.alert-lg {
    @apply border-l-8 p-4;
  }
  .alert.alert-sm {
    @apply border-2 rounded p-3 text-sm;
  }
  .alert-lg.alert-info {
    @apply border-l-info bg-info-20;
  }
  .alert-sm.alert-info {
    @apply border-info;
  }

  .alert-lg.alert-success {
    @apply border-l-success bg-success-20;
  }
  .alert-sm.alert-success {
    @apply border-success;
  }

  .alert-lg.alert-warning {
    @apply border-l-warning bg-warning-20;
  }
  .alert-sm.alert-warning {
    @apply border-warning;
  }

  .alert-lg.alert-error {
    @apply border-l-error bg-error-20;
  }
  .alert-sm.alert-error {
    @apply border-error;
  }

  .first-alert .alert {
    @apply mb-0;
  }

  /* icons */
  .fa-circle-check::after {
    @apply bg-white rounded-full absolute block;
    content: "";
    height: 12px;
    width: 12px;
    z-index: 1;
    top: 3px;
    left: 3px;
  }
  .fa-circle-check::before {
    @apply relative;
    z-index: 2;
  }

  /* cards */
  .card {
    @apply border border-navy rounded shadow-card hover:border-cornflower hover:shadow-card-focus focus-visible:border-cornflower focus-visible:shadow-card-focus focus-visible:outline-none;
  }
  .card:hover .card-inner {
    @apply border-cornflower;
  }
  .card .card-inner {
    @apply border border-transparent rounded;
  }
  .card.card-no-hover {
    @apply hover:border-navy hover:shadow-card focus-visible:border-navy focus-visible:shadow-card focus-visible:outline-none;
  }

  /* filters - mobile */
  .mobile-filter input[type="radio"] {
    @apply invisible w-0 h-0 absolute;
  }
  .mobile-filter input[type="radio"]:checked + label {
    @apply bg-cornflower-110 text-white;
  }
  .mobile-filter label {
    @apply block px-4 py-3 hover:text-white hover:bg-cornflower-110;
  }

  /* tooltips */
  .tooltip.tooltip-bottom-right .tooltip-content,
  .tooltip.tooltip-bottom-left .tooltip-content {
    top: 2.5rem;
  }
  .tooltip-content::before {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 15px solid transparent !important;
    border-bottom-color: #2a4d87 !important;
    z-index: -1;
  }
  .tooltip-content:after {
    content: "";
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border: 12px solid transparent !important;
    border-bottom-color: #ebeef4 !important;
    z-index: 0;
  }
  .tooltip.tooltip-bottom-right .tooltip-content::before {
    right: 0.5rem;
    bottom: 100%;
  }
  .tooltip.tooltip-bottom-right .tooltip-content:after {
    right: 0.7rem;
    bottom: 100%;
    z-index: 0;
  }

  .tooltip.tooltip-bottom-left .tooltip-content::before {
    left: 0.5rem;
    bottom: 100%;
  }
  .tooltip.tooltip-bottom-left .tooltip-content:after {
    left: 0.7rem;
    bottom: 100%;
    z-index: 0;
  }
  [role="tooltip"]:not(.revealed) {
    visibility: hidden;
  }
  [role="tooltip"].revealed {
    visibility: visible;
  }
  .tooltip-trigger:hover + [role="tooltip"],
  .tooltip-trigger:focus + [role="tooltip"],
  .tooltip-trigger:focus-visible + [role="tooltip"] {
    display: block;
  }

  .tooltip-content ul.list-disc {
    @apply ml-4 relative;
  }
  .tooltip-content ul.list-disc li {
    @apply pl-3 relative;
  }
  .tooltip-content ul.list-disc li::before {
    @apply block absolute;
    content: "-";
    left: 0;
  }
  .tooltip-content ul.list-disc li::marker {
    display: none;
    content: '';
  }

  /* application navigation */
  .application-nav a.inverse .fa-circle,
  .application-nav a.inverse .fa-circle-three-quarters-stroke {
    @apply text-info;
  }
  .application-nav-trigger i {
    transition: transform 0.2s ease-in;
    transform: rotate(0deg);
    transform-origin: center;
  }
  .application-nav-trigger.is-active i {
    transition: transform 0.2s ease-in;
    transform: rotate(180deg);
  }
  .application-nav-mobile-wrapper {
    @apply relative;
    z-index: 2;
  }
  .application-nav-mobile-wrapper.stuck {
    @apply shadow-bottom fixed w-full;
    top: 60px;
  }
  .form-next {
    @apply lg:hover:text-gold lg:hover:cursor-pointer focus-visible:outline-0 focus-visible:shadow-btn-focus focus-visible:shadow-navy py-2 pr-6 @lg:pr-10 text-[1px] lg:text-base text-white lg:text-navy w-[44px] @lg:w-auto lg:text-navy;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='14' viewBox='0 0 448 512' fill='%23000F5D'%3E%3C!--!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z' fill='%23000F5D'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position-x: calc(100% - 1rem);
    background-position-y: center;
  }
  @media (max-width: 1023px) {
    .form-next {
      background-position-x: calc(100% - 0.75rem);
    }
  }
  .form-next:not(.no-hover):hover,
  .form-next:not(.no-hover):focus-visible {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='14' viewBox='0 0 448 512' fill='%23D59F0F'%3E%3C!--!Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M440.6 273.4c4.7-4.5 7.4-10.8 7.4-17.4s-2.7-12.8-7.4-17.4l-176-168c-9.6-9.2-24.8-8.8-33.9 .8s-8.8 24.8 .8 33.9L364.1 232 24 232c-13.3 0-24 10.7-24 24s10.7 24 24 24l340.1 0L231.4 406.6c-9.6 9.2-9.9 24.3-.8 33.9s24.3 9.9 33.9 .8l176-168z' fill='%23D59F0F'/%3E%3C/svg%3E");
  }
  .form-prev {
    @apply relative py-2 pl-9 pr-0 @lg:pr-4 text-[1px] lg:text-base text-white lg:text-navy w-[44px] @lg:w-auto lg:text-navy lg:hover:text-gold;
  }
  .form-prev::before {
    @apply absolute text-navy text-base;
    top: 50%;
    left: 13px;
    transform: translateY(-50%);
    content: "\f060";
    font-family: "Font Awesome 6 Pro";
    font-weight: 500;
    display: inline;
  }
  .form-prev:hover::before {
    @apply lg:text-gold;
  }

  /* layout helper */
  .masonry {
    grid-template-rows: masonry;
  }
}

/* Highlight missing translations so that they can more easily be corrected. */
.translation_missing {
  background-color: lightpink;
}

/* navigation */
.hamburger {
  transform: none;
  margin-left: 25px;
  width: 30px;
  height: 30px;
  background-color: transparent;
  border: none;
}
.hamburger .icon-bar {
  transition-property: transform, background-color;
  transition-duration: 0.2s;
  transition-timing-function: ease-in;
  transform: rotate(0deg);
}
.hamburger.is-active .icon-bar:nth-child(2) {
  top: 14px;
  width: 0%;
  left: 50%;
}
.hamburger.is-active .icon-bar:nth-child(3) {
  transform: rotate(45deg);
}
.hamburger.is-active .icon-bar:nth-child(4) {
  transform: rotate(-45deg);
}
.hamburger.is-active .icon-bar:nth-child(5) {
  top: 14px;
  width: 0%;
  left: 50%;
}

@media (min-width: 768px) {
  .app-nav-container {
    container-type: normal;
  }
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  border: 3px solid;
  border-color: #000f5d #000f5d transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.loader::after {
  content: "";
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 3px solid;
  border-color: transparent #d59f0f #d59f0f;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  animation: rotationBack 0.5s linear infinite;
  transform-origin: center center;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotationBack {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}
/**
 * tom-select.css (v2.3.1)
 * Copyright (c) contributors
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
 * file except in compliance with the License. You may obtain a copy of the License at:
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
 * ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 *
 */
 .ts-control {
    /* border: 1px solid #000000; */
    padding: 5px 10px;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    box-shadow: none;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;

    outline: none;
  }
  .ts-wrapper.multi.has-items .ts-control {
    padding: calc(8px - 2px - 0) 8px calc(8px - 2px - 3px - 0);
  }
  .full .ts-control {
    background-color: #fff;
  }
  .disabled .ts-control, .disabled .ts-control * {
    cursor: default !important;
  }
  .focus .ts-control {
    outline: none; 
    /* box-shadow: 0 0 7px 0px #000f5d;
    border-color: #2a4d87; 
    --tw-ring-offset-color: #2a4d87;
    --tw-ring-color: #2a4d87;  */
  }
  .ts-control > * {
    vertical-align: baseline;
    display: inline-block;
  }
  .ts-wrapper.multi .ts-control > div {
    cursor: pointer;
    margin: 0 3px 3px 0;
    padding: 2px 6px;
    background: #f2f2f2;
    color: #303030;
    border: 0 solid #d0d0d0;
  }
  .ts-wrapper.multi .ts-control > div.active {
    background: #e8e8e8;
    color: #303030;
    border: 0 solid #cacaca;
  }
  .ts-wrapper.multi.disabled .ts-control > div, .ts-wrapper.multi.disabled .ts-control > div.active {
    color: #7d7d7d;
    background: white;
    border: 0 solid white;
  }
  .ts-control > input {
    flex: 1 1 auto;
    min-width: 7rem;
    display: inline-block !important;
    padding: 0 !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100% !important;
    margin: 0 !important;
    text-indent: 0 !important;
    border: 0 none !important;
    background: none !important;
    line-height: inherit !important;
    -webkit-user-select: auto !important;
       -moz-user-select: auto !important;
        -ms-user-select: auto !important;
            user-select: auto !important;
    box-shadow: none !important;
  }
  .ts-control > input::-ms-clear {
    display: none;
  }
  .ts-control > input:focus {
    outline: none !important;
  }
  .has-items .ts-control > input {
    margin: 0 4px !important;
  }
  .ts-control.rtl {
    text-align: right;
  }
  .ts-control.rtl.single .ts-control:after {
    left: 15px;
    right: auto;
  }
  .ts-control.rtl .ts-control > input {
    margin: 0 4px 0 -2px !important;
  }
  .disabled .ts-control {
    opacity: 0.5;
    background-color: #fafafa;
  }
  .input-hidden .ts-control > input {
    opacity: 0;
    position: absolute;
    left: -10000px;
  }
  
  .ts-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    border: 1px solid #d0d0d0;
    background: #fff;
    margin: 0.25rem 0 0;
    border-top: 0 none;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 3px 3px;
  }
  .ts-dropdown [data-selectable] {
    cursor: pointer;
    overflow: hidden;
  }
  .ts-dropdown [data-selectable] .highlight {
    background: rgba(125, 168, 208, 0.2);
    border-radius: 1px;
  }
  .ts-dropdown .option,
  .ts-dropdown .optgroup-header,
  .ts-dropdown .no-results,
  .ts-dropdown .create {
    padding: 5px 8px;
  }
  .ts-dropdown .option, .ts-dropdown [data-disabled], .ts-dropdown [data-disabled] [data-selectable].option {
    cursor: inherit;
    opacity: 0.5;
  }
  .ts-dropdown [data-selectable].option {
    opacity: 1;
    cursor: pointer;
  }
  .ts-dropdown .optgroup:first-child .optgroup-header {
    border-top: 0 none;
  }
  .ts-dropdown .optgroup-header {
    color: #303030;
    background: #fff;
    cursor: default;
  }
  .ts-dropdown .active {
    background-color: #f5fafd;
    color: #495c68;
  }
  .ts-dropdown .active.create {
    color: #495c68;
  }
  .ts-dropdown .create {
    color: rgba(48, 48, 48, 0.5);
  }
  .ts-dropdown .spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 5px 8px;
  }
  .ts-dropdown .spinner::after {
    content: " ";
    display: block;
    width: 24px;
    height: 24px;
    margin: 3px;
    border-radius: 50%;
    border: 5px solid #d0d0d0;
    border-color: #d0d0d0 transparent #d0d0d0 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .ts-dropdown-content {
    overflow: hidden auto;
    max-height: 200px;
    scroll-behavior: smooth;
  }
  
  .ts-wrapper.plugin-drag_drop .ts-dragging {
    color: transparent !important;
  }
  .ts-wrapper.plugin-drag_drop .ts-dragging > * {
    visibility: hidden !important;
  }
  
  .plugin-checkbox_options:not(.rtl) .option input {
    margin-right: 0.5rem;
  }
  
  .plugin-checkbox_options.rtl .option input {
    margin-left: 0.5rem;
  }
  
  /* stylelint-disable function-name-case */
  .plugin-clear_button {
    --ts-pr-clear-button: 1em;
  }
  .plugin-clear_button .clear-button {
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc(8px - 6px);
    margin-right: 0 !important;
    background: transparent !important;
    transition: opacity 0.5s;
    cursor: pointer;
  }
  .plugin-clear_button.form-select .clear-button, .plugin-clear_button.single .clear-button {
    right: max(var(--ts-pr-caret), 8px);
  }
  .plugin-clear_button.focus.has-items .clear-button, .plugin-clear_button:not(.disabled):hover.has-items .clear-button {
    opacity: 1;
  }
  
  .ts-wrapper .dropdown-header {
    position: relative;
    padding: 10px 8px;
    border-bottom: 1px solid #d0d0d0;
    background: color-mix(#fff, #d0d0d0, 85%);
    border-radius: 3px 3px 0 0;
  }
  .ts-wrapper .dropdown-header-close {
    position: absolute;
    right: 8px;
    top: 50%;
    color: #303030;
    opacity: 0.4;
    margin-top: -12px;
    line-height: 20px;
    font-size: 20px !important;
  }
  .ts-wrapper .dropdown-header-close:hover {
    color: black;
  }
  
  .plugin-dropdown_input.focus.dropdown-active .ts-control {
    box-shadow: none;
    border: 1px solid #d0d0d0;
  }
  .plugin-dropdown_input .dropdown-input {
    border: 1px solid #d0d0d0;
    border-width: 0 0 1px;
    display: block;
    padding: 8px 8px;
    box-shadow: none;
    width: 100%;
    background: transparent;
  }
  .plugin-dropdown_input .items-placeholder {
    border: 0 none !important;
    box-shadow: none !important;
    width: 100%;
  }
  .plugin-dropdown_input.has-items .items-placeholder, .plugin-dropdown_input.dropdown-active .items-placeholder {
    display: none !important;
  }
  
  .ts-wrapper.plugin-input_autogrow.has-items .ts-control > input {
    min-width: 0;
  }
  .ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input {
    flex: none;
    min-width: 4px;
  }
  .ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::-ms-input-placeholder {
    color: transparent;
  }
  .ts-wrapper.plugin-input_autogrow.has-items.focus .ts-control > input::placeholder {
    color: transparent;
  }
  
  .ts-dropdown.plugin-optgroup_columns .ts-dropdown-content {
    display: flex;
  }
  .ts-dropdown.plugin-optgroup_columns .optgroup {
    border-right: 1px solid #f2f2f2;
    border-top: 0 none;
    flex-grow: 1;
    flex-basis: 0;
    min-width: 0;
  }
  .ts-dropdown.plugin-optgroup_columns .optgroup:last-child {
    border-right: 0 none;
  }
  .ts-dropdown.plugin-optgroup_columns .optgroup::before {
    display: none;
  }
  .ts-dropdown.plugin-optgroup_columns .optgroup-header {
    border-top: 0 none;
  }
  
  .ts-wrapper.plugin-remove_button .item {
    display: inline-flex;
    align-items: center;
  }
  .ts-wrapper.plugin-remove_button .item .remove {
    color: inherit;
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
    padding: 0 6px;
    border-radius: 0 2px 2px 0;
    box-sizing: border-box;
  }
  .ts-wrapper.plugin-remove_button .item .remove:hover {
    background: rgba(0, 0, 0, 0.05);
  }
  .ts-wrapper.plugin-remove_button.disabled .item .remove:hover {
    background: none;
  }
  .ts-wrapper.plugin-remove_button .remove-single {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 23px;
  }
  
  .ts-wrapper.plugin-remove_button:not(.rtl) .item {
    padding-right: 0 !important;
  }
  .ts-wrapper.plugin-remove_button:not(.rtl) .item .remove {
    border-left: 1px solid #d0d0d0;
    margin-left: 6px;
  }
  .ts-wrapper.plugin-remove_button:not(.rtl) .item.active .remove {
    border-left-color: #cacaca;
  }
  .ts-wrapper.plugin-remove_button:not(.rtl).disabled .item .remove {
    border-left-color: white;
  }
  
  .ts-wrapper.plugin-remove_button.rtl .item {
    padding-left: 0 !important;
  }
  .ts-wrapper.plugin-remove_button.rtl .item .remove {
    border-right: 1px solid #d0d0d0;
    margin-right: 6px;
  }
  .ts-wrapper.plugin-remove_button.rtl .item.active .remove {
    border-right-color: #cacaca;
  }
  .ts-wrapper.plugin-remove_button.rtl.disabled .item .remove {
    border-right-color: white;
  }
  
  :root {
    --ts-pr-clear-button: 0;
    --ts-pr-caret: 0;
    --ts-pr-min: .75rem;
  }
  
  .ts-wrapper.single .ts-control, .ts-wrapper.single .ts-control input {
    cursor: pointer;
  }
  
  .ts-control:not(.rtl) {
    padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
  }
  
  .ts-control.rtl {
    padding-left: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
  }
  
  .ts-wrapper {
    position: relative;
  }
  
  .ts-dropdown,
  .ts-control,
  .ts-control input {
    /* color: #303030;
    font-family: inherit;
    font-size: 13px; */
    line-height: 18px;
  }
  
  .ts-control,
  .ts-wrapper.single.input-active .ts-control {
    background: #fff;
    cursor: text;
  }
  
  .ts-hidden-accessible {
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    -webkit-clip-path: inset(50%) !important;
            clip-path: inset(50%) !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
  }
  /*# sourceMappingURL=tom-select.css.map */
/*
 * 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.
 *


 *= requre tom-select
 */

