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

@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&ampdisplay=swap");
@import url("https://ga.jspm.io/npm:slim-select@2.10.0/dist/slimselect.css");

@layer utilities {
  /* Hide scrollbar for Chrome, Safari and Opera */
  .no-scrollbar::-webkit-scrollbar {
      display: none;
  }
 /* Hide scrollbar for IE, Edge and Firefox */
  .no-scrollbar {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
}
}
/*
 * 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.
 *


 */

/* Root */
:root {
  --primary-color: #edb416;
}

/* Custom Placeholder */
::placeholder {
  color: var(--gray-place-holder, #C4C4C4) !important;
  font-weight: 100 !important;
  font-size: 14px;
}

/* Custom Loading */
button .show-when-disabled {
  display: none;
}
button:disabled .show-when-disabled {
  display: initial
}
button .show-when-enabled {
  display: initial;
}
button:disabled .show-when-enabled {
  display:none;
}

/* Custom Pagy */
/* Custom Pagy */
.pagy > a {
  margin: 1px;
  height: 28px;
  color: #8a8796;
  font-size: 13px;
  font-weight: 300;
  padding: 4px 10px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #d1d9e0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
.pagy > .current {
  color: white;
  background-color: var(--primary-color) !important;
  border: 1px solid var(--primary-color) !important;
}
.pagy > a[aria-disabled="true"][aria-label="Next"],
.pagy > a[aria-disabled="true"][aria-label="Previous"] {
  font-weight: 100 !important;
  color: #d1d9e0 !important;
  border: 1px solid #d1d9e0;
  background-color: white;
}
.pagy > a[aria-label="Next"] {
  color: white;
  border-top-right-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.pagy > a[aria-label="Previous"] {
  color: white;
  border-top-left-radius: 0.375rem;
  border-bottom-left-radius: 0.375rem;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

/* Custom Slim Search */
.ss-list {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;
}
.ss-list::-webkit-scrollbar {
  display: none;
}
.ss-main {
  display: flex !important;
  padding: 10.5px;
}
.ss-search {
  font-size: .875rem !important;
}
.ss-content .ss-list .ss-option:hover {
  background-color: var(--primary-color) !important;
}
.ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
  background-color: var(--primary-color) !important;
}
.ss-main .ss-values .ss-placeholder {
  padding: 0;
  color: #c6c6c6;
  font-weight: 300;
  font-size: .875rem;
  line-height: 1.25rem;
}
.ss-main .ss-values .ss-single {
  font-weight: 300;
  font-size: .875rem;
  line-height: 1.25rem;
}
.ss-content .ss-list .ss-option {
  font-weight: 300;
  font-size: .875rem;
  line-height: 1.25rem;
}
.ellipsis-text-overflow .ss-values .ss-single {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 145px;
}
.ss-content .ss-search .ss-addable {
  width: 35px;
}
.ss-content .ss-search .ss-addable svg {
  color: white;
}
.ss-main .ss-values .ss-value {
  background-color: var(--primary-color);
}
.ss-main:focus {
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 0 var(--primary-color);
}
.ss-main {
  border-radius: 0.5rem;
}
.ss-search {
  color: #c6c6c6 !important;
  font-weight: 300;
  font-size: .875rem;
  line-height: 1.25rem;
}
.ss-search input {
  color: #4d4d4d;
  font-weight: 300;
  font-size: .875rem;
  line-height: 1.25rem;
}
.ss-search input:focus {
  border: 1px solid var(--primary-color);
  box-shadow: 0 0 0 var(--primary-color) !important;
}
