/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/

.pagy-nav.pagination {
  @apply isolate inline-flex -space-x-px rounded-md shadow-sm;
}

.page.next a {
  @apply relative inline-flex items-center rounded-r-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20;
}

.page.prev a {
  @apply relative inline-flex items-center rounded-l-md border border-gray-300 bg-white px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20;
}

.page.next.disabled {
  @apply relative inline-flex items-center rounded-r-md border border-gray-300 bg-slate-100 px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20;
}

.page.prev.disabled {
  @apply relative inline-flex items-center rounded-l-md border border-gray-300 bg-slate-100 px-2 py-2 text-sm font-medium text-gray-500 hover:bg-gray-50 focus:z-20;
}

.page a,
.page.gap {
  @apply bg-white border-gray-300 text-gray-500 hover:bg-gray-50 relative inline-flex items-center border px-4 py-2 text-sm font-medium focus:z-20;
}

.page.active {
  @apply z-10 border-indigo-500 bg-indigo-50 text-indigo-600 relative inline-flex items-center border px-4 py-2 text-sm font-medium focus:z-20;
}

/*
Font families defined by this CSS:
  - InterVariable  variable font for modern web browsers
  - Inter          static fonts for older web browsers (small optical size)
  - InterDisplay   static fonts for older web browsers (large optical size)

Usage example:
  :root { font-family: Inter, sans-serif; }
  @supports (font-variation-settings: normal) {
    :root { font-family: InterVariable, sans-serif; }
  }

*/
@font-face {
  font-family: InterVariable;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/font-files/InterVariable.woff2?v=4.1) format('woff2');
}
@font-face {
  font-family: InterVariable;
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/font-files/InterVariable-Italic.woff2?v=4.1) format('woff2');
}
/* legacy name "Inter var" (Oct 2023) */
@font-face { font-family:'Inter var'; font-style:normal; font-weight:100 900; font-display:swap; src: url(/font-files/InterVariable.woff2?v=4.1) format('woff2'); }
@font-face { font-family:'Inter var'; font-style:italic; font-weight:100 900; font-display:swap; src: url(/font-files/InterVariable-Italic.woff2?v=4.1) format('woff2'); }
/* static fonts */
@font-face { font-family:Inter; font-style:normal; font-weight:100; font-display:swap; src:url(/font-files/Inter-Thin.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:100; font-display:swap; src:url(/font-files/Inter-ThinItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:200; font-display:swap; src:url(/font-files/Inter-ExtraLight.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:200; font-display:swap; src:url(/font-files/Inter-ExtraLightItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:300; font-display:swap; src:url(/font-files/Inter-Light.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:300; font-display:swap; src:url(/font-files/Inter-LightItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:400; font-display:swap; src:url(/font-files/Inter-Regular.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:400; font-display:swap; src:url(/font-files/Inter-Italic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:500; font-display:swap; src:url(/font-files/Inter-Medium.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:500; font-display:swap; src:url(/font-files/Inter-MediumItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:600; font-display:swap; src:url(/font-files/Inter-SemiBold.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:600; font-display:swap; src:url(/font-files/Inter-SemiBoldItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:700; font-display:swap; src:url(/font-files/Inter-Bold.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:700; font-display:swap; src:url(/font-files/Inter-BoldItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:800; font-display:swap; src:url(/font-files/Inter-ExtraBold.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:800; font-display:swap; src:url(/font-files/Inter-ExtraBoldItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:normal; font-weight:900; font-display:swap; src:url(/font-files/Inter-Black.woff2?v=4.1) format("woff2"); }
@font-face { font-family:Inter; font-style:italic; font-weight:900; font-display:swap; src:url(/font-files/Inter-BlackItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:100; font-display:swap; src:url(/font-files/InterDisplay-Thin.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:100; font-display:swap; src:url(/font-files/InterDisplay-ThinItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:200; font-display:swap; src:url(/font-files/InterDisplay-ExtraLight.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:200; font-display:swap; src:url(/font-files/InterDisplay-ExtraLightItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:300; font-display:swap; src:url(/font-files/InterDisplay-Light.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:300; font-display:swap; src:url(/font-files/InterDisplay-LightItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:400; font-display:swap; src:url(/font-files/InterDisplay-Regular.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:400; font-display:swap; src:url(/font-files/InterDisplay-Italic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:500; font-display:swap; src:url(/font-files/InterDisplay-Medium.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:500; font-display:swap; src:url(/font-files/InterDisplay-MediumItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:600; font-display:swap; src:url(/font-files/InterDisplay-SemiBold.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:600; font-display:swap; src:url(/font-files/InterDisplay-SemiBoldItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:700; font-display:swap; src:url(/font-files/InterDisplay-Bold.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:700; font-display:swap; src:url(/font-files/InterDisplay-BoldItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:800; font-display:swap; src:url(/font-files/InterDisplay-ExtraBold.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:800; font-display:swap; src:url(/font-files/InterDisplay-ExtraBoldItalic.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:normal; font-weight:900; font-display:swap; src:url(/font-files/InterDisplay-Black.woff2?v=4.1) format("woff2"); }
@font-face { font-family:InterDisplay; font-style:italic; font-weight:900; font-display:swap; src:url(/font-files/InterDisplay-BlackItalic.woff2?v=4.1) format("woff2"); }

@font-feature-values InterVariable {
    @character-variant {
        cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
        cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
        alt-1:            1; /* Alternate one */
        alt-3:            9; /* Flat-top three */
        open-4:           2; /* Open four */
        open-6:           3; /* Open six */
        open-9:           4; /* Open nine */
        lc-l-with-tail:   5; /* Lower-case L with tail */
        simplified-u:     6; /* Simplified u */
        alt-double-s:     7; /* Alternate German double s */
        uc-i-with-serif:  8; /* Upper-case i with serif */
        uc-g-with-spur:  10; /* Capital G with spur */
        single-story-a:  11; /* Single-story a */
        compact-lc-f:    12; /* Compact f */
        compact-lc-t:    13; /* Compact t */
    }
    @styleset {
        ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
        open-digits: 1;                /* Open digits */
        disambiguation: 2;             /* Disambiguation (with zero) */
        disambiguation-except-zero: 4; /* Disambiguation (no zero) */
        round-quotes-and-commas: 3;    /* Round quotes &amp; commas */
        square-punctuation: 7;         /* Square punctuation */
        square-quotes: 8;              /* Square quotes */
        circled-characters: 5;         /* Circled characters */
        squared-characters: 6;         /* Squared characters */
    }
}
@font-feature-values Inter {
    @character-variant {
        cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
        cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
        alt-1:            1; /* Alternate one */
        alt-3:            9; /* Flat-top three */
        open-4:           2; /* Open four */
        open-6:           3; /* Open six */
        open-9:           4; /* Open nine */
        lc-l-with-tail:   5; /* Lower-case L with tail */
        simplified-u:     6; /* Simplified u */
        alt-double-s:     7; /* Alternate German double s */
        uc-i-with-serif:  8; /* Upper-case i with serif */
        uc-g-with-spur:  10; /* Capital G with spur */
        single-story-a:  11; /* Single-story a */
        compact-lc-f:    12; /* Compact f */
        compact-lc-t:    13; /* Compact t */
    }
    @styleset {
        ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
        open-digits: 1;                /* Open digits */
        disambiguation: 2;             /* Disambiguation (with zero) */
        disambiguation-except-zero: 4; /* Disambiguation (no zero) */
        round-quotes-and-commas: 3;    /* Round quotes &amp; commas */
        square-punctuation: 7;         /* Square punctuation */
        square-quotes: 8;              /* Square quotes */
        circled-characters: 5;         /* Circled characters */
        squared-characters: 6;         /* Squared characters */
    }
}
@font-feature-values InterDisplay {
    @character-variant {
        cv01: 1; cv02: 2; cv03: 3; cv04: 4; cv05: 5; cv06: 6; cv07: 7; cv08: 8;
        cv09: 9; cv10: 10; cv11: 11; cv12: 12; cv13: 13;
        alt-1:            1; /* Alternate one */
        alt-3:            9; /* Flat-top three */
        open-4:           2; /* Open four */
        open-6:           3; /* Open six */
        open-9:           4; /* Open nine */
        lc-l-with-tail:   5; /* Lower-case L with tail */
        simplified-u:     6; /* Simplified u */
        alt-double-s:     7; /* Alternate German double s */
        uc-i-with-serif:  8; /* Upper-case i with serif */
        uc-g-with-spur:  10; /* Capital G with spur */
        single-story-a:  11; /* Single-story a */
        compact-lc-f:    12; /* Compact f */
        compact-lc-t:    13; /* Compact t */
    }
    @styleset {
        ss01: 1; ss02: 2; ss03: 3; ss04: 4; ss05: 5; ss06: 6; ss07: 7; ss08: 8;
        open-digits: 1;                /* Open digits */
        disambiguation: 2;             /* Disambiguation (with zero) */
        disambiguation-except-zero: 4; /* Disambiguation (no zero) */
        round-quotes-and-commas: 3;    /* Round quotes &amp; commas */
        square-punctuation: 7;         /* Square punctuation */
        square-quotes: 8;              /* Square quotes */
        circled-characters: 5;         /* Circled characters */
        squared-characters: 6;         /* Squared characters */
    }
}
/*
 * 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.
 *


 */

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

/* For Firefox */
::-moz-scrollbar {
  width: 0px;
  height: 0px;
}

/* For Microsoft Edge and Internet Explorer */
::-ms-scrollbar {
  width: 0px;
  height: 0px;
}

/* Customize the appearance of the scrollbar track */
::-webkit-scrollbar-track {
  background-color: transparent;
  /* Change to your desired color */
}

/* Customize the appearance of the scrollbar thumb */
::-webkit-scrollbar-thumb {
  background-color: #f1f1f1;
  /* Change to your desired color */
}

.flash {
  position: fixed;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  max-width: 100%;
  width: max-content;
  z-index: 100;
}

.message {
  font-size: 14px;
  animation: appear-then-fade 4s both;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes appear-then-fade {

  0%,
  100% {
    opacity: 0
  }

  5%,
  60% {
    opacity: 1
  }
}

/* css for emoji */

.picmo__popupContainer,
.picmo__light,
.picmo__picker.picmo__picker {
  height: 200px !important;
  width: 200px !important;
  gap: 4px !important;
}

.dark .picmo__popupContainer,
.dark .picmo__picker.picmo__picker {
  background-color: black;
  color: white;
  height: 200px !important;
  width: 200px !important;
  gap: 4px !important;
}

.picmo__picker .picmo__searchContainer,
.picmo__categoryButtons {
  height: 20px !important;
  padding: 0px !important;
  margin: 0px !important;
  gap: 0px !important;
}

.dark .picmo__picker .picmo__searchContainer,
.dark .picmo__categoryButtons {
  background-color: black;
  color: white;
}

.picmo__header {
  padding: 5px !important;
  gap: 8px !important;
  gap: 4px !important;
}

.dark .picmo__header {
  background-color: black;
  color: white;
}

.picmo__categoryTab button.picmo__categoryButton {
  width: 20px !important;
  height: 20px !important;
}

.picmo__content {
  height: '90%' !important;
  overflow: auto !important;
  padding-bottom: 10px !important;
}

.picmo__picker .picmo__emojiArea {
  margin-bottom: 10px !important;
}

.picmo__picker .picmo__preview {
  display: none;
}

.picmo__picker .picmo__error {
  height: '90%' !important;
}

.picmo__picker .picmo__error .picmo__icon {
  height: 50px !important;
  width: 50px !important;
}

.picmo__picker .picmo__searchContainer .picmo__searchField {
  font-size: 12px !important;
}

.dark .picmo__picker .picmo__searchContainer .picmo__searchField,
.dark .picmo__picker .picmo__searchContainer .picmo__searchField:focus {
  background-color: black;
  color: white;
}

.picmo__picker .picmo__emojiCategory .picmo__categoryName {
  font-size: 12px !important;
}

.dark .picmo__picker .picmo__emojiCategory .picmo__categoryName {
  background-color: black;
  color: white;
}

.picmo__picker .picmo__searchContainer .picmo__searchAccessory {
  right: 0 !important;
}

/* heatmap calendar */
.heatmap-calendar {
  display: grid;
  grid-template-rows: repeat(7, minmax(0, 1fr));
  grid-auto-flow: column;
  gap: 5px;
  padding: 5px;
}

.employee-filter-section {
  margin-bottom: 24px;
}

.filter-header {
  margin-bottom: 10px;
}

.filter-description {
  color: #718096;
  margin: 0;
  font-size: 0.9rem;
}

.employee-filter-form {
  width: 100%;
}

.filter-controls {
  display: flex;
  gap: 16px;
  align-items: end;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.form-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-size: 0.9rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: #4299e1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #4299e1;
  color: white;
}

.btn-primary:hover {
  background-color: #3182ce;
}

.btn-secondary {
  background-color: #e2e8f0;
  color: #4a5568;
}

.btn-secondary:hover {
  background-color: #cbd5e0;
}

@media (max-width: 768px) {
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .form-group {
    min-width: 100%;
  }

  .form-actions {
    margin-top: 16px;
  }
}
