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

@import "vendor/notyf.min";

@layer components {
  body {
    @apply font-nunito text-PrimaryDarkBlue;
  }

  main {
    min-height: calc(100vh - 105px);
  }

  #sidebar::-webkit-scrollbar { 
    display: none; 
  }

  .elkeszitesre-var,
  .feltoltesre-var {
    background: #FFC107;
    color: #fff;
  }

  .keszlet-rendben {
    background: #28A745;
    color: #fff;
  }

  .c-button--secondary {
    @apply border border-PrimaryDarkBlue text-PrimaryDarkBlue py-3 px-4 rounded-lg text-sm font-bold flex flex-row items-center leading-none cursor-pointer ml-4;
  }

  .container--small {
    @apply mx-auto max-w-[800px] w-full;
  }

  .container--normal {
    @apply mx-auto max-w-[1000px] w-full;
  }

  .container--wide {
    @apply mx-auto max-w-[1200px] w-full;
  }

  .icon {
    display: inline-block;
    fill: currentColor;
    height: 1em;
    line-height: 1;
    position: relative;
    top: -1px;
    vertical-align: middle;
    width: 1em;
  }

  .h2 {
    @apply text-4xl  py-4 leading-none font-light py-2;
  }

  .h3 {
    @apply text-lg sm:text-3xl font-extrabold py-4 leading-10;
  }

  .h4 {
    @apply text-2xl font-bold py-4 leading-7;
  }

  .c-card {
    @apply bg-white rounded-lg p-6 border border-Blue5th;
  }

  .c-modal {
    @apply overflow-y-auto overflow-x-hidden items-center justify-center flex inset-0 z-50 bg-black bg-opacity-60 fixed;
  }

  .c-modal-content--small {
    @apply max-w-[530px] w-full mx-auto; 
  }

  .c-modal-content--narrow {
    @apply max-w-[720px] w-full mx-auto max-h-screen overflow-y-auto sm:max-h-[800px]; 
  }

  .c-modal-content--normal {
    @apply max-w-[1280px] w-full mx-auto max-h-screen overflow-y-auto sm:max-h-[800px]; 
  }

  .btn-primary {
    @apply border bg-PrimaryDarkBlue text-PrimaryDarkBlue py-3 px-4 rounded-lg text-sm font-bold flex flex-row items-center leading-none cursor-pointer text-white;
  }
  .btn-primary--disabled,
  .btn-primary:disabled {
    @apply bg-Blue2nd pointer-events-none cursor-not-allowed;
  }
  .disabled{
    @apply bg-Blue3rd pointer-events-none;
  }
  .label {
    @apply text-AlmostBlack font-medium text-xs;
  }

  select, .ts-dropdown{
    @apply !text-base;
  }

  .choices,
  .input {
    @apply border border-Blue5th rounded-lg text-sm font-mplus text-AlmostBlack py-2 px-4;
  }

  .input:read-only:not(select) {
    @apply bg-border opacity-50;
  }

  /* A select draws its arrow over its right padding, and .input's px-4 left no
     room for it: the last letter of the chosen option sat under the arrow.
     :where() keeps this at .input's own weight, so a padding utility on the
     element (pr-4, px-2) still wins, as it did. A list box has no arrow.
     The wider padding must not push a select out of its cell: as a flex item
     a select will not shrink below its longest option unless min-width says
     it may (the packagings editor's unit select beside the ratio box). */
  :where(select:not([multiple])).input {
    @apply pr-10 max-w-full min-w-0;
  }

  .input--select-mini {
    @apply border border-Blue5th rounded-lg text-sm font-mplus text-AlmostBlack my-1.5 px-2 bg-Blue3rd w-auto text-sm top-0 bottom-0 right-2 absolute flex items-center;
  }

  .input--select-mini--select {
    @apply pr-8;
  }

  form.button_to {
    display: contents;
  }

  .btn-secondary {
    @apply border border-PrimaryDarkBlue text-PrimaryDarkBlue py-2 px-4 rounded-lg text-sm font-bold flex flex-row items-center leading-none cursor-pointer bg-white;
  }

  .btn-secondary--inverse {
    @apply border bg-PrimaryDarkBlue text-white py-2 px-4 rounded-lg text-sm font-bold flex flex-row items-center leading-none cursor-pointer;
  }

  .box-placeholder {
    @apply bg-info px-4 py-2 rounded-xl flex flex-row items-center;
  }

  .box-placeholder--white {
    @apply bg-white px-4 py-6 rounded-xl flex flex-row items-center border border-Blue5th;
  }

  .link {
    @apply text-PrimaryRed underline text-sm cursor-pointer;
  }

  .table-header {
    @apply bg-Blue3rd  text-PrimaryDarkBlue font-medium text-xs font-mplus;
  }
  
  .table-row-item:focus {
    outline: auto;
  }

  /* Open product movement lists: seven data columns plus an actions column
     sized for the edit pencil and the Részletek button side by side. An equal
     eighth of the table is too narrow for both, so they spilled out of it. The
     first column has a floor so the sortable "Azonosító" heading fits. */
  .grid-cols-open-movements {
    grid-template-columns: minmax(6.5rem, 1fr) repeat(6, minmax(0, 1fr)) 13rem;
  }

  /* Movement overview: the same first column, then a type column wide enough for
     "Raktárkészlet feltöltési igény" without the word running into Forrás. */
  .grid-cols-movements-overview {
    grid-template-columns: minmax(6.5rem, 1fr) minmax(7rem, 1fr) repeat(7, minmax(0, 1fr));
  }

  /* Partner list: ten data tracks and a row-action column (Részletek next to the
     "…" menu). An equal twelfth of the table was too narrow for both buttons, so
     they spilled past the table's right edge. */
  .grid-cols-10-actions {
    grid-template-columns: repeat(10, minmax(0, 1fr)) 13rem;
  }

  /* Incoming Nagyker orders: azonosító, partner / átvevőhely, teljesítés,
     tételek, státusz, szállítás, and the action column. */
  .grid-cols-incoming-orders {
    grid-template-columns: minmax(8rem, 1.2fr) minmax(0, 3fr) minmax(8rem, 1.6fr) minmax(5rem, 0.8fr) minmax(7rem, 1.4fr) minmax(8rem, 1.6fr) 13rem;
  }

  /* Delivery notes: sorszám, teljesítés, partner / átvevőhely, nettó, állapot, teendő,
     and the fixed action column. */
  .grid-cols-delivery-notes {
    grid-template-columns: minmax(8rem, 1.2fr) minmax(11rem, 1.4fr) minmax(0, 2.6fr) minmax(7rem, 1.2fr) minmax(7rem, 1fr) minmax(0, 2.4fr) 8rem;
  }

  /* Kitchen prep list: étel / átvevőhely, m.e., rendelt, főzendő, recept, and the
     fixed Elkészítés column that holds the preparation button and status lines. */
  .grid-cols-prep-list {
    grid-template-columns: minmax(0, 4fr) minmax(4rem, 1fr) minmax(5rem, 1fr) minmax(7rem, 1.4fr) minmax(4rem, 0.8fr) 16rem;
  }

  /* The lists below keep the same action column, and give their narrow number
     columns a floor: a sortable heading such as "Feltöltésre vár" plus its sort
     arrow does not fit an equal share of the table on a laptop screen. The name
     column gives way instead. */

  /* Products: név, kategória, tárolás, elérhető készlet, feltöltésre vár.
     The stock columns hold a figure and its unit on one line ("12378.714
     üveg"), so their floor is that line's width; each row is its own grid, so
     the floor is a length and not max-content, which would size every row
     differently. */
  .grid-cols-products {
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(7rem, 1fr) minmax(9.5rem, 1.5fr) minmax(7.5rem, 1.5fr) 13rem;
  }

  /* A storage location's products and the prepared-on-site recipes: név,
     elérhető, optimális, feltöltésre vár, készlet érték, státusz. The stock
     column's floor fits "12 376,714 üveg": the grouped figure is two spaces
     wider than the bare one was. */
  .grid-cols-stock {
    grid-template-columns: minmax(0, 4fr) minmax(9rem, 1fr) repeat(2, minmax(5.5rem, 1fr)) minmax(8rem, 1fr) minmax(6rem, 1fr) 13rem;
  }

  /* Recipes (and sales items, which share the row): név, kategória,
     elkészítés / költség, elérhető / profit, elkészíthető / eladási ár, actions. */
  .grid-cols-recipes {
    grid-template-columns: minmax(0, 2.5fr) minmax(0, 2fr) minmax(7.5rem, 1fr) minmax(0, 2fr) minmax(0, 2fr) minmax(14rem, 3fr);
  }

  /* Storage location ledger on the product page: "#" holds a short row number,
     the movement ID column is wide enough for a nine-digit id, the date column
     for "2026-11-02 14:33", the type column for "Felhasználás". The quantity
     column's floor fits the first half of "+12345 üveg (70 cl) → 864150 cl";
     the row breaks that sentence before the arrow and nowhere else. */
  .grid-cols-ledger {
    grid-template-columns: 3.5rem 9.5rem 6.5rem minmax(7.5rem, 2fr) minmax(0, 3fr) minmax(12rem, 2fr) 7.5rem;
  }

  /* Packagings editor (products/_packagings): name, unit, content, EAN,
     purchasing ratio + unit, actions. One template for the header, every row
     form and the add form. The minimums add up to 59rem, the editor's
     min-width: narrower than that it scrolls sideways instead of squeezing a
     field until its value cannot be read. */
  .grid-cols-packagings {
    grid-template-columns: minmax(9rem, 1.6fr) minmax(8rem, 1fr) minmax(7rem, 0.8fr) minmax(10.5rem, 1.3fr) minmax(14rem, 1.3fr) minmax(10.5rem, 1fr);
  }

  .table-row-item--inner {
    @apply bg-Blue3rd text-AlmostBlack font-mplus text-sm font-medium bg-opacity-20;
  }

  .table-row-item p{
    @apply font-normal text-PrimaryDarkBlue;
  }
  
  .c-form-step-item {
    @apply flex items-center justify-center w-[32px] h-[32px] rounded-full bg-white text-PrimaryDarkBlue font-bold text-base font-mplus border border-Blue5th shrink-0;
  }

  .c-form-step-item--active {
    @apply  bg-PrimaryDarkBlue text-white border-none;
  }

  .c-checkbox + .c-checkbox__icon .c-checkbox__icon--unchecked {
    display: inline-block;
  }
  
  .c-checkbox + .c-checkbox__icon .c-checkbox__icon--checked {
    display: none;
  }
  
  .c-checkbox:checked + .c-checkbox__icon .c-checkbox__icon--unchecked {
    display: none;
  }
  
  .c-checkbox:checked + .c-checkbox__icon .c-checkbox__icon--checked {
    display: inline-block;
  }
  .select{
    @apply py-1 pl-3 pr-7 border-Blue5th rounded-lg;
  }
  .table-child{
    @apply relative ;
  }

  .sidebar__submenu__item {
    @apply px-2 pt-1.5 pb-1 flex my-0.5 text-sm  w-full;
  }

  .sidebar__submenu__item--active {
    @apply bg-PrimaryRed text-white rounded-lg;
  }

  .btn-radio {
    @apply inline-flex justify-center items-center px-4 py-2 border border-black rounded-md cursor-pointer bg-white text-black;
  }
  
  .btn-radio:hover {
    @apply bg-gray-100;
  }

  .order-status--fos {
    @apply bg-Yellow3rd;
  }

  .order-status--0 {
    @apply bg-Yellow3rd;
  }

  .order-status--visszaigazolasra-var {
    @apply bg-Yellow3rd;
  }

  .order-status--visszaigazolva {
    @apply bg-green2nd;
  }

  .order-status--kiszallitva {
    @apply bg-green3rd;
  }

  .order-status--visszautasitva {
    @apply bg-Yellow3rd;
  }
  
  .btn-radio-active {
    @apply bg-black text-white;
  }
  
  .btn-radio-disabled {
    @apply bg-gray-100 text-gray-500 cursor-not-allowed;
  }


  input:disabled + span {
    opacity: 0.5;
    cursor: not-allowed;
  }

  .choices__input {
    background: none!important;
    margin: 0!important;
    padding: 0!important;
  }

  [data-sidebar-menu-target="menuText"] {
    transition: opacity 0.15s ease-in-out;
  }

  .sidebar__root__item {
    @apply bg-PrimaryLightBlue w-full py-2 px-4 rounded-lg text-PrimaryDarkBlue bg-opacity-80;
  }

  .sidebar__root__item--active .icon{
    @apply !text-PrimaryRed;
  }

  .sidebar__submenu {
    @apply w-[90%] bg-white text-PrimaryDarkBlue py-4 px-2 border rounded-lg border-Blue5th mt-4 mb-2 text-AlmostBlack mx-4;
  }

  .sidebar--collapsed .sidebar__submenu {
    @apply !hidden;
  }

   

  .status-pill {
    @apply rounded-full border border-PrimaryDarkBlue px-4 py-2.5 flex items-center gap-2 bg-white
  }

  .status-pill--active {
    @apply bg-PrimaryDarkBlue text-white px-4;
  }

  .status-pill--completed {
    @apply px-0 pl-4 pr-4
  }

  .pagination-inactive {
    @apply opacity-50 cursor-not-allowed;
  }

  .autocomplete-full .autoComplete_wrapper {
    @apply w-full;
  }

  .autocomplete-full input {
    @apply !w-full;
  }

  .ts-wrapper.single .ts-control {
    @apply border border-Blue5th rounded-lg text-sm font-mplus text-AlmostBlack py-2 px-4;
    
    background-image: none;
    background-color: #fff;
    box-shadow: none;
  }
}


/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Toasts open below the fixed header (56px) and not over its cart icon and
   profile menu. Notyf's stack is a full-window overlay padded by 20px; on a
   phone it has no padding and the toast is as wide as the screen. Notyf's own
   sheet may load after this one, so the selector outweighs its ".notyf". */
body .notyf {
  padding-top: 76px;
}

@media only screen and (max-width: 480px) {
  body .notyf {
    padding-top: 56px;
  }
}

/* The staging banner (shared/_staging_banner, dev.shortic.hu only) is a
   24px row above everything. The header is fixed without a top, so it
   already sits below the banner; what is pinned to a fixed offset has to
   move down by the banner's height, or it would lie over the header. */
#staging-banner ~ * #sidebar {
  top: 80px;
}

/* The toast stack too (see "body .notyf" above, which the id outweighs).
   Notyf appends it to the body, so it follows the banner. */
#staging-banner ~ .notyf {
  padding-top: 100px;
}

@media only screen and (max-width: 480px) {
  #staging-banner ~ .notyf {
    padding-top: 80px;
  }
}

@media (min-width: 1024px) {
  #staging-banner ~ main .lg\:sticky.lg\:top-4 {
    top: 2.5rem;
  }
}
/*===============================
=            Choices            =
===============================*/

$choices-selector: 'choices' !default;
$choices-font-size-lg: 16px !default;
$choices-font-size-md: 14px !default;
$choices-font-size-sm: 12px !default;
$choices-guttering: 24px !default;
$choices-border-radius: 2.5px !default;
$choices-border-radius-item: 20px !default;
$choices-bg-color: #f9f9f9 !default;
$choices-bg-color-disabled: #eaeaea !default;
$choices-bg-color-dropdown: #ffffff !default;
$choices-text-color: #333333 !default;
$choices-keyline-color: #dddddd !default;
$choices-primary-color: #3B3FD8 !default;
$choices-disabled-color: #eaeaea !default;
$choices-highlight-color: $choices-primary-color !default;
$choices-button-dimension: 8px !default;
$choices-button-offset: 8px !default;
$choices-icon-cross: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==) !default;
$choices-icon-cross-inverse: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==) !default;
$choices-z-index: 1;

.#{$choices-selector} {
  position: relative;
  overflow: hidden;
  margin-bottom: $choices-guttering;
  font-size: $choices-font-size-lg;
  &:focus {
    outline: none;
  }
  &:last-child {
    margin-bottom: 0;
  }
  &.is-open {
    overflow: initial;
  }
  &.is-disabled {
    .#{$choices-selector}__inner,
    .#{$choices-selector}__input {
      background-color: $choices-bg-color-disabled;
      cursor: not-allowed;
      user-select: none;
    }
    .#{$choices-selector}__item {
      cursor: not-allowed;
    }
  }

  [hidden] {
    display: none !important;
  }
}

.#{$choices-selector}[data-type*='select-one'] {
  cursor: pointer;
  .#{$choices-selector}__inner {
    padding-bottom: 7.5px;
  }
  .#{$choices-selector}__input {
    display: block;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid $choices-keyline-color;
    background-color: #ffffff;
    margin: 0;
  }
  .#{$choices-selector}__button {
    background-image: $choices-icon-cross-inverse;
    padding: 0;
    background-size: 8px;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -10px;
    margin-right: 25px;
    height: 20px;
    width: 20px;
    border-radius: 10em;
    opacity: 0.25;
    &:hover,
    &:focus {
      opacity: 1;
    }
    &:focus {
      box-shadow: 0px 0px 0px 2px $choices-highlight-color;
    }
  }
  .#{$choices-selector}__item[data-value=''] .#{$choices-selector}__button {
    display: none;
  }
  &:after {
    content: '';
    height: 0;
    width: 0;
    border-style: solid;
    border-color: $choices-text-color transparent transparent transparent;
    border-width: 5px;
    position: absolute;
    right: 11.5px;
    top: 50%;
    margin-top: -2.5px;
    pointer-events: none;
  }
  &.is-open:after {
    border-color: transparent transparent $choices-text-color transparent;
    margin-top: -7.5px;
  }
  &[dir='rtl'] {
    &:after {
      left: 11.5px;
      right: auto;
    }
    .#{$choices-selector}__button {
      right: auto;
      left: 0;
      margin-left: 25px;
      margin-right: 0;
    }
  }
}

.#{$choices-selector}[data-type*='select-multiple'],
.#{$choices-selector}[data-type*='text'] {
  .#{$choices-selector}__inner {
    cursor: text;
  }
  .#{$choices-selector}__button {
    position: relative;
    display: inline-block;
    margin-top: 0;
    margin-right: -$choices-button-offset/2;
    margin-bottom: 0;
    margin-left: $choices-button-offset;
    padding-left: $choices-button-offset * 2;
    border-left: 1px solid darken($choices-primary-color, 10%);
    background-image: $choices-icon-cross;
    background-size: $choices-button-dimension;
    width: $choices-button-dimension;
    line-height: 1;
    opacity: 0.75;
    border-radius: 0;
    &:hover,
    &:focus {
      opacity: 1;
    }
  }
}

.#{$choices-selector}__inner {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  background-color: $choices-bg-color;
  padding: 7.5px 7.5px 3.75px;
  border: 1px solid $choices-keyline-color;
  border-radius: $choices-border-radius;
  font-size: $choices-font-size-md;
  min-height: 44px;
  overflow: hidden;
  .is-focused &,
  .is-open & {
    border-color: darken($choices-keyline-color, 15%);
  }
  .is-open & {
    border-radius: $choices-border-radius $choices-border-radius 0 0;
  }
  .is-flipped.is-open & {
    border-radius: 0 0 $choices-border-radius $choices-border-radius;
  }
}

.#{$choices-selector}__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.#{$choices-selector}__list--single {
  display: inline-block;
  padding: 4px 16px 4px 4px;
  width: 100%;
  [dir='rtl'] & {
    padding-right: 4px;
    padding-left: 16px;
  }
  .#{$choices-selector}__item {
    width: 100%;
  }
}

.#{$choices-selector}__list--multiple {
  display: inline;
  .#{$choices-selector}__item {
    display: inline-block;
    vertical-align: middle;
    border-radius: $choices-border-radius-item;
    padding: 4px 10px;
    font-size: $choices-font-size-sm;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: $choices-primary-color;
    border: 1px solid darken($choices-primary-color, 5%);
    color: #ffffff;
    word-break: break-all;
    box-sizing: border-box;
    &[data-deletable] {
      padding-right: 5px;
    }
    [dir='rtl'] & {
      margin-right: 0;
      margin-left: 3.75px;
    }
    &.is-highlighted {
      background-color: darken($choices-primary-color, 5%);
      border: 1px solid darken($choices-primary-color, 10%);
    }
    .is-disabled & {
      background-color: darken($choices-disabled-color, 25%);
      border: 1px solid darken($choices-disabled-color, 35%);
    }
  }
}

.#{$choices-selector}__list--dropdown {
  visibility: hidden;
  z-index: $choices-z-index;
  position: absolute;
  width: 100%;
  background-color: $choices-bg-color-dropdown;
  border: 1px solid $choices-keyline-color;
  top: 100%;
  margin-top: -1px;
  border-bottom-left-radius: $choices-border-radius;
  border-bottom-right-radius: $choices-border-radius;
  overflow: hidden;
  word-break: break-all;
  will-change: visibility;
  &.is-active {
    visibility: visible;
  }
  .is-open & {
    border-color: darken($choices-keyline-color, 15%);
  }
  .is-flipped & {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: -1px;
    border-radius: 0.25rem 0.25rem 0 0;
  }
  .#{$choices-selector}__list {
    position: relative;
    max-height: 300px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
  }
  .#{$choices-selector}__item {
    position: relative;
    padding: 10px;
    font-size: $choices-font-size-md;
    [dir='rtl'] & {
      text-align: right;
    }
  }
  .#{$choices-selector}__item--selectable {
    @media (min-width: 640px) {
      padding-right: 100px;
      &:after {
        content: attr(data-select-text);
        font-size: $choices-font-size-sm;
        opacity: 0;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
      }
      [dir='rtl'] & {
        text-align: right;
        padding-left: 100px;
        padding-right: 10px;
        &:after {
          right: auto;
          left: 10px;
        }
      }
    }
    &.is-highlighted {
      background-color: mix(#000000, #ffffff, 5%);
      &:after {
        opacity: 0.5;
      }
    }
  }
}

.#{$choices-selector}__item {
  cursor: default;
}

.#{$choices-selector}__item--selectable {
  cursor: pointer;
}

.#{$choices-selector}__item--disabled {
  cursor: not-allowed;
  user-select: none;
  opacity: 0.5;
}

.#{$choices-selector}__heading {
  font-weight: 600;
  font-size: $choices-font-size-sm;
  padding: 10px;
  border-bottom: 1px solid lighten($choices-keyline-color, 10%);
  color: lighten(#333, 30%);
}

.#{$choices-selector}__button {
  text-indent: -9999px;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  &:focus {
    outline: none;
  }
}

.#{$choices-selector}__input {
  display: inline-block;
  vertical-align: baseline;
  background-color: $choices-bg-color;
  font-size: $choices-font-size-md;
  margin-bottom: 5px;
  border: 0;
  border-radius: 0;
  max-width: 100%;
  padding: 4px 0 4px 2px;
  &:focus {
    outline: 0;
  }
  [dir='rtl'] & {
    padding-right: 2px;
    padding-left: 0;
  }
}

.#{$choices-selector}__placeholder {
  opacity: 0.5;
}

/*=====  End of Choices  ======*/
@-webkit-keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@-webkit-keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@-webkit-keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{position:fixed;top:0;left:0;height:100%;width:100%;color:#fff;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;pointer-events:none;box-sizing:border-box;padding:20px}.notyf__icon--error,.notyf__icon--success{height:21px;width:21px;background:#fff;border-radius:50%;display:block;margin:0 auto;position:relative}.notyf__icon--error:after,.notyf__icon--error:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px;left:9px;height:12px;top:5px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px}.notyf__icon--success:after{height:6px;transform:rotate(-45deg);top:9px;left:6px}.notyf__icon--success:before{height:11px;transform:rotate(45deg);top:5px;left:10px}.notyf__toast{display:block;overflow:hidden;pointer-events:auto;-webkit-animation:notyf-fadeinup .3s ease-in forwards;animation:notyf-fadeinup .3s ease-in forwards;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);position:relative;padding:0 15px;border-radius:2px;max-width:300px;transform:translateY(25%);box-sizing:border-box;flex-shrink:0}.notyf__toast--disappear{transform:translateY(0);-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{-webkit-animation:notyf-fadeoutright .3s forwards;animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}.notyf__toast--disappear .notyf__message{-webkit-animation-delay:.05s;animation-delay:.05s}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{height:400px;width:400px;position:absolute;transform-origin:bottom right;right:0;top:0;border-radius:50%;transform:scale(0) translateY(-51%) translateX(13%);z-index:5;-webkit-animation:ripple .4s ease-out forwards;animation:ripple .4s ease-out forwards}.notyf__wrapper{display:flex;align-items:center;padding-top:17px;padding-bottom:17px;padding-right:15px;border-radius:3px;position:relative;z-index:10}.notyf__icon{width:22px;text-align:center;font-size:1.3em;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.3s;animation-delay:.3s;margin-right:13px}.notyf__dismiss{position:absolute;top:0;right:0;height:100%;width:26px;margin-right:-15px;-webkit-animation:notyf-fadeinleft .3s forwards;animation:notyf-fadeinleft .3s forwards;-webkit-animation-delay:.35s;animation-delay:.35s;opacity:0}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;transition:opacity .2s ease,background-color .2s ease;outline:none;opacity:.35;height:100%;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{content:"";background:#fff;height:12px;width:2px;border-radius:3px;position:absolute;left:calc(50% - 1px);top:calc(50% - 5px)}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{opacity:.7;background-color:rgba(0,0,0,.15)}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{vertical-align:middle;position:relative;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;line-height:1.5em}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{height:600px;width:600px;-webkit-animation-duration:.5s;animation-duration:.5s}.notyf__toast{max-width:none;border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);width:100%}.notyf__dismiss{width:56px}}
/*
 * 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.
 *


 */
