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

@font-face {
    src: url(/assets/FormaDJRBanner-Bold-17c2c2191bddd451a9112eddcb80675c879397f1e49d36d1b4ab89ebc56183e8.woff) format("woff");
    font-family: 'FormaDJRBannerBold';
    font-style: normal;
    font-weight: bold;
}

@font-face {
    src: url(/assets/FormaDJRBanner-Light-a7a5f6e30a8e41b76c77d439acda5780fc7faa0700af7af347c5ae6d6b055a15.woff) format("woff");
    font-family: 'FormaDJRBannerLight';
    font-style: normal;
    font-weight: 300;
}

@font-face {
    src: url(/assets/FormaDJRText-Regular-01c45a8b7e7eadd39aaede5513a223c59f64266c8ccdc7648baab90eefb914b1.woff) format("woff");
    font-family: 'FormaDJRBannerRegular';
}

@layer base {
  @font-face {
    src: url(/assets/FormaDJRMicro-Regular-16a212ca2bcab17656ff4903eb18e808986b21f4633c4e3c8008843d8d820424.woff) format("woff");
    font-family: 'forma-djr-micro';
    font-weight: 400;
  }

  @font-face {
    src: url(/assets/FormaDJRMicro-Medium-30116c04d6b6f51a27407a76c293c8eecabfbbe68d20616ce51e7ccbefcac1b4.woff) format("woff");
    font-family: 'forma-djr-micro';
    font-weight: 500;
  }

  @font-face {
    src: url(/assets/PingFang-Medium-0e019e6bc4ee48d3161e12b9e3ff9f9359667201e5b4437decfed6d8cd80a55a.woff) format("woff");
    font-family: 'PingFangMedium';
    font-weight: 500;
  }

  @font-face {
    src: url(/assets/PingFang-Regular-d073f047df4804f62eff74bd8291bd209d29b52a208ed815e61481e6c222d064.woff) format("woff");
    font-family: 'PingFangRegular';
    font-weight: 400;
  }

  h1, h2 {
    @apply font-forma-djr-micro font-medium;
  }

  h1 {
    @apply text-2xl leading-6;
  }

  h2 {
    @apply text-base leading-5;
  }

  h4 {
    @apply font-ping-fang font-medium text-sm;
  }

  h5 {
    @apply font-ping-fang font-normal text-xs leading-[18px];
  }

  .h1-title {
    @apply font-forma-djr-micro font-medium text-2xl leading-6;
  }

  .h2-heading {
    @apply font-forma-djr-micro font-medium text-base leading-5;
  }

  .h4-heading {
    @apply font-ping-fang font-medium text-sm;
  }

  .text-body-normal {
    @apply font-forma-djr-micro font-normal text-sm;
  }

  .text-body-sm {
    @apply font-forma-djr-micro leading-[10px] text-[10px];
  }
}
.check-box-container {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  /* Hide the browser's default checkbox */
  input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }

  /* Create a custom checkbox */
  .checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 16px;
    width: 16px;
    background-color: white;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
  }

  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }

  /* Show the checkmark when checked */
  input:checked ~ .checkmark:after {
    display: block;
  }

  /* Style the checkmark/indicator */
  .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #24393E;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
}
.row-bottom-border {
  position: relative;

  &::after {
    position: absolute;
    content: "";
    bottom: 0;
    left: 22px;
    right: 22px;
    height: 1px;
    background-color: #F3F4F6;
  }
}
:root {
  --side-bar-width: 256px;
}

.members-action-bar-position {
  position: fixed;
  bottom: 40px;
  left: calc(((100vw - (var(--side-bar-width))) / 2) + 40px);

  @media (max-width: 768px) {
    left: calc((100vw / 2) - 215px);
  }
}

.action-bar-icon path {
  stroke: #24393E;
}

.action-bar-message-auto-hide {
  animation: hideAnimation 5s forwards;
}

@keyframes hideAnimation {
  0%   {
    opacity: 1;
  }
  90%  {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.member-notes-container {
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.5s ease;

  &.expanded {
    max-height: none;
  }
}
/*
 * 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.
 *


 */

.custom-blue:hover svg {
  fill: #eee7cd;
}

.webkit-fill-available {
  width: -webkit-fill-available;
}

.custom-height {
  height: calc(100vh - 80px);
}

.invisible-horizontal-scrollbar::-webkit-scrollbar {
  display: none;
}

.invisible-horizontal-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
