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

@layer components {
  .nav-link {
    @apply text-base px-8 py-4 -skew-x-6 font-futura text-white font-bold uppercase tracking-wider;
    &:hover {
      @apply bg-dark-red;
    }
  }
  .page-subhead {
    @apply font-futura uppercase italic font-bold text-xl tracking-wide;
  }
  .page-head {
    @apply font-futura text-4xl font-bold uppercase tracking-wide italic;
  }
  .red-line {
    @apply flex border border-tnt-red h-px w-full;
  }
  .button {
    @apply items-center whitespace-nowrap text-white text-center px-8 pb-2.5 pt-3 rounded-full bg-tnt-red border border-dark-red shadow-xl font-futura font-semibold italic tracking-wider uppercase;
    &:hover {
      @apply bg-dark-red border-red-700;
    }
  }
  .disabled {
    @apply items-center whitespace-nowrap text-gray-500 text-center px-8 pb-2.5 pt-3 rounded-full bg-gray-300 border border-gray-500 shadow-xl font-futura font-semibold italic tracking-wider uppercase;
  }
  .gray-button {
    @apply bg-gray-200 text-gray-400 border-gray-300;
    &:hover {
      @apply border-gray-300 bg-gray-200;
    }
  }
  .swatch {
    @apply inline w-4 h-4 border border-black rounded-full;
  }
  .label {
    @apply mx-2 text-xs font-bold tracking-widest uppercase;
  }
  .input {
    @apply w-full rounded-lg text-lg border-inherit;
  }
  .thead {
    @apply font-futura font-bold text-xs tracking-wider uppercase;
  }
  .order-cell {
    @apply px-4 py-2;
  }
}
@layer components {
  .has-error {
    @apply border-red-500 text-red-500;
  }
}
@font-face {
  font-family: futura-pt;
  src: url(/assets/Futura-Bol-30ef51b9f5a9ccbf76b0bce0dc37a7628aa10c7ecd4820b148f20faa8ce06ee4.woff) format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: futura-pt;
  src: url(/assets/Futura-BolObl-69a70723e9b1ec531757ac6bcbb7698424cc6055cd1fee1bb49114173f06ce0b.woff) format("woff");
  font-display: swap;
  font-style: italic;
  font-weight: 700;
}

@font-face {
  font-family: futura-pt;
  src: url(/assets/Futura-Dem-c37f4436737cb55ad25fbec2880c2df1f7403d82245ac3fd1c310055947a2018.woff) format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: futura-pt;
  src: url(/assets/Futura-Book-389be75cee40988a23dbef8aa479e3b46e1a65cf911121afa9d501b6ef12df13.woff) format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
/*
 * 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.
 *



 */
/* line 23, app/assets/stylesheets/application.scss */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* line 29, app/assets/stylesheets/application.scss */
main {
  flex: 1;
  max-width: 100vw;
}

/* line 34, app/assets/stylesheets/application.scss */
.drawer-shadow {
  box-shadow: 30px 0 50px 0 rgba(0, 0, 0, 0.25);
}

/* line 44, app/assets/stylesheets/application.scss */
.pagy {
  display: flex;
  font-family: sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: #6b7280;
}

/* line 52, app/assets/stylesheets/application.scss */
.pagy > :not([hidden]) ~ :not([hidden]) {
  --space-reverse: 0;
  margin-right: calc(0.25rem * var(--space-reverse));
  margin-left: calc(0.25rem * calc(1 - var(--space-reverse)));
}

/* line 57, app/assets/stylesheets/application.scss */
.pagy a:not(.gap) {
  display: block;
  text-decoration: none;
  border-radius: 0.5rem;
  background-color: #e5e7eb;
  padding: 0.25rem 0.75rem;
  color: inherit;
}

/* line 65, app/assets/stylesheets/application.scss */
.pagy a:not(.gap):hover {
  background-color: #d1d5db;
}

/* line 68, app/assets/stylesheets/application.scss */
.pagy a:not(.gap):not([href]) {
  /* disabled links */
  cursor: default;
  background-color: #f3f4f6;
  color: #d1d5db;
}

/* line 73, app/assets/stylesheets/application.scss */
.pagy a.current:not(.gap) {
  background-color: #9ca3af;
  color: white;
}

/* line 77, app/assets/stylesheets/application.scss */
.pagy label {
  white-space: nowrap;
  display: inline-block;
  border-radius: 0.5rem;
  background-color: #e5e7eb;
  padding: 0.125rem 0.75rem;
}

/* line 84, app/assets/stylesheets/application.scss */
.pagy label input {
  line-height: 1.5rem;
  border-radius: 0.375rem;
  border-style: none;
  background-color: #f3f4f6;
}

/* line 90, app/assets/stylesheets/application.scss */
.top-layer {
  z-index: 1000;
}

/* line 93, app/assets/stylesheets/application.scss */
.nav-layer {
  z-index: 998;
}

/* line 96, app/assets/stylesheets/application.scss */
.drawer-layer {
  z-index: 999;
}

/* line 99, app/assets/stylesheets/application.scss */
.bottom-layer {
  z-index: 0;
}
