/* app components */
@import "components.css";

@tailwind base;
@tailwind components;
@tailwind utilities;
@import "components/form-selector.css";
@import "components/pagination.css";
.tooltip {
  @apply invisible absolute;
}

.has-tooltip:hover .tooltip {
  @apply visible z-50;
}

.select2 {
  @apply w-full mt-2 block rounded-md text-sm py-1.5 pl-1 pr-10 ring-1 ring-inset ring-light-gray sm:leading-6 placeholder:text-secondary-gray !important;
}

.select2-container--focus, .select2-container--below{
  @apply pr-1 !important;
}

.select2-selection__placeholder{
    @apply text-secondary-gray !important;
}
.select2-results__option {
  @apply text-primary-gray sm:text-sm sm:leading-6 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    @apply bg-light-gray !important;
  }

.select2-selection--single, .select2-selection, .selection {
  @apply border-0 !important;
}

.select2-dropdown {
  @apply border-0 !important;
}

.select2-search__field {
  @apply rounded-md border-0 !important;
}

.select2-results__options{
    @apply text-primary-gray !important;
}

.select2-selection__arrow{
    display: none !important;
}

.indicator {
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #c31313 0%,  #f2bc0c 50%,  #24bc94 100%);
  position: relative;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.circle {
  position: absolute;
  top: -2px;
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  border: 0.5px solid #cccccc; /* Specify the border style and color here */
  transform: translateX(-50%);
  cursor: pointer;
}
/* Tooltip styling */
.circle:hover::after {
  content: attr(data-tooltip); /* This will be your tooltip text */
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  bottom: 6px;
  background-color: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1.4;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
/* Tooltip arrow */
.circle:hover::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
}
.pagy-nav {
  @apply flex space-x-1 font-semibold text-sm text-secondary-gray mt-10;
  .page {
    a {
      @apply block rounded-sm px-3 py-2 ring-1 ring-secondary-gray text-secondary-gray;
      &:hover {
        @apply text-white bg-primary-blue/40;
      }
    }
    &.active a {
      @apply text-white bg-primary-blue cursor-default;
    }
    &.disabled a {
      @apply sr-only;
    }
    &.gap { }  /* if you need to customize it */
  }
  .pagy-combo-input, &.pagy-items-selector-js {
    @apply inline-block whitespace-nowrap bg-light-gray rounded-md px-3 py-0.5;
    input {
      @apply bg-light-gray border-none rounded-md;
    }
  }
}
body {
  color: #394856;
}

.soft {
  color: #95a4b2;
}

.border-juicy-green{
  border-style: solid;
  border-width: 1px;
  border-color: #24bc94;
}

.border-primary-blue{
  border-style: solid;
  border-width: 1px;
  border-color: #1371C3;
}

.border-light{
  border-style: solid;
  border-width: 1px;
  border-color: #E7EBEF;
}

.background-juicy-green{
  color: #24bc94;
  background-color: #ebfff9;
}
.row {
      display: -webkit-box; /* wkhtmltopdf uses this one */
      align-items: left;
      -webkit-box-pack: left; /* wkhtmltopdf uses this one */
      justify-content: left;
  }

  .row > div {
      -webkit-box-flex: 1;
      -webkit-flex: 1;
      flex: 1;
  }

  .row > div:last-child {
      margin-right: 0;
  }

  .font-semibold{
    font-weight: 700;
  }
/*
 * 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.
 *


 */
