@import "tailwindcss";

@layer base {
  @font-face {
    font-family: "SF Pro Display";
    src: url("/assets/SF-Pro-Display-Regular-5e419ba1.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "SF Pro Display";
    src: url("/assets/SF-Pro-Display-Medium-2ab4af51.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "SF Pro Display";
    src: url("/assets/SF-Pro-Display-Semibold-a27cb139.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "SF Pro Display";
    src: url("/assets/SF-Pro-Display-Bold-c139f6a2.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }

  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    border-color: var(--color-slate-200, currentColor);
  }

  body {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
}

.copied:after {
  content: "✓";
  position: absolute;
  right: -13px;
  top: -1px;
  color: blueviolet;
}

.calc-h-login {
  min-height: -moz-calc(100vh - 130px); /* Firefox */
  min-height: -webkit-calc(100vh - 130px); /* Chrome, Safari */
  min-height: calc(100vh - 130px);
}

.calc-h-main {
  height: -moz-calc(100% - 97px); /* Firefox */
  height: -webkit-calc(100% - 97px); /* Chrome, Safari */
  height: calc(100% - 97px); /* IE9+ and future browsers */
}

.calc-h-wrapper {
  height: -moz-calc(100% + 40px); /* Firefox */
  height: -webkit-calc(100% + 40px); /* Chrome, Safari */
  height: calc(100% + 40px); /* IE9+ and future browsers */
}

.pagy {
  @apply flex space-x-1 font-semibold text-xs text-slate-500;
  a:not(.gap) {
    @apply block rounded px-2 py-1 bg-gray-50;
    &:hover {
      @apply bg-slate-100;
    }
    &:not([href]) { /* disabled links */
      @apply text-slate-300 bg-gray-100 cursor-default;
    }
    &.current {
      @apply text-white bg-sky-500;
    }
  }
  label {
    @apply inline-block whitespace-nowrap bg-gray-200 rounded px-3 py-0.5;
    input {
      @apply bg-gray-100 border-none rounded-md;
    }
  }
}
