:root {
  font-family: 'ABC Monument', system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  display: flex;
  flex-direction: column;

  /* Light theme (default) */
  --bg-primary: rgb(242, 242, 242);
  --bg-secondary: #f5f5f5;
  --text-primary: #000000;
  --text-secondary: #666666;
  --border-color: #e0e0e0;
  --card-bg: #cecece;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --menu-bg: #CCE9E8;
  --menu-active-bg: #ffffff;
  --chrome-bg: #ffffff;
  --lesson-scroll-progress: 0;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Regular-h2tzaPjv.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-RegularItalic-DiQoKRoF.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Thin-BngmxQLr.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-ThinItalic-DVaOo7Jg.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Light-drOVhkTG.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-LightItalic-DUm1_Rqd.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Medium-DBobXx86.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-MediumItalic-BpgGZ1Su.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Bold-B7eQazb9.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-BoldItalic-TYdihbCV.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Heavy-zb4eb_JP.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-HeavyItalic-D9SMTFn4.otf') format('opentype');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Black-CRChrYnd.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-BlackItalic-B5TTyl1H.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-Ultra-DzP23P2u.otf') format('opentype');
  font-weight: 950;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABC Monument';
  src: url('/assets/ABCMonumentGrotesk-UltraItalic-BJqVrFbb.otf') format('opentype');
  font-weight: 950;
  font-style: italic;
  font-display: swap;
}

/*[data-theme="dark"] {*/
/*  --bg-primary: #1a1a1a;*/
/*  --bg-secondary: rgba(36, 36, 36, 0);*/
/*  --text-primary: #ffffff;*/
/*  --text-secondary: #a0a0a0;*/
/*  --border-color: #333333;*/
/*  --card-bg: #2d2d2d;*/
/*  --shadow-color: rgba(0, 0, 0, 0.3);*/
/*  --menu-bg: #1a1a1a;*/
/*  --menu-active-bg: #1a1a1a;*/
/*  --chrome-bg: #1a1a1a;*/
/*}*/

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'ABC Monument', system-ui, Avenir, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}

a:hover {
  color: #535bf2;
}

body {
  min-width: 320px;
  font-family: 'ABC Monument', system-ui, Avenir, Helvetica, Arial, sans-serif;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.3s, color 0.3s;
  /* Disable default tap highlight on mobile */
  -webkit-tap-highlight-color: transparent;
}


/* Show focus styles only for keyboard users (accessibility preserved). */
button:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Add accessible line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
  font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
  isolation: isolate;
}


#root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}

.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}

.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.read-the-docs {
  color: #888;
}

/* ============================================
   GLOBAL MODAL ANIMATIONS
   ============================================ */

/* Modal backdrop animations */
@keyframes modalBackdropFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalBackdropFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Modal container animations - Professional and linear */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
  }
}

/* Modal content fade animations */
@keyframes modalContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalContentFadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Modal title slide animations */
@keyframes modalTitleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes modalTitleSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(12px);
  }
}

/* Modal close button animations */
@keyframes modalCloseButtonIn {
  from {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
  }
  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes modalCloseButtonOut {
  from {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  to {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
  }
}
/* Splash container - full screen without layout */
.splash-container {
  width: 100%;
  height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  overflow: hidden;
}

.splash-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 160px, 0) scale(0.94);
  will-change: transform, opacity;
  margin-bottom: 0;
}

/* Top section for logo and button */
.splash-top-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  top: 20%;
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 100 !important;
  padding: 0 1rem;
}

.splash-logo {
  width: min(270px, 44vw);
  height: auto;
  display: block;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  margin-bottom: 0;
}

.splash-cta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translate3d(0, 160px, 0) scale(0.94);
  pointer-events: none;
  will-change: transform, opacity;
  margin-top: -20px;
  margin-bottom: 0;
}

.splash-cta-wrap.is-visible {
  pointer-events: auto;
}

.splash-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-width: 172px;
  padding: 0.95rem 1.35rem;
  border: 1px solid rgba(17, 17, 17, 0.85);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  color: #111111;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.splash-cta-button__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #111111;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.splash-cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(17, 17, 17, 0.06) 46%,
    rgba(17, 17, 17, 0.12) 50%,
    rgba(17, 17, 17, 0.06) 54%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.splash-cta-button::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(17, 17, 17, 0.06);
  pointer-events: none;
}

.splash-cta-button:hover {
  transform: translateY(-2px);
  background: #111111;
  color: #ffffff;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.splash-cta-button:hover::before {
  transform: translateX(120%);
}

.splash-cta-button:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.splash-cta-button:disabled,
.splash-cta-button.is-loading {
  cursor: wait;
  opacity: 0.72;
}

.splash-cta-button__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.splash-cta-button__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1rem;
  flex: 0 0 auto;
  z-index: 1;
}

.splash-cta-button__icon-line {
  width: 1rem;
  height: 1px;
  background: currentColor;
  transform: translateX(-1px);
  transition: transform 180ms ease, width 180ms ease;
}

.splash-cta-button__icon-head {
  position: absolute;
  right: 0.1rem;
  width: 0.45rem;
  height: 0.45rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.splash-cta-button:hover .splash-cta-button__icon-line {
  width: 1.12rem;
  transform: translateX(0);
}

.splash-cta-button:hover .splash-cta-button__icon {
  transform: translateX(2px);
}

/* Start version display */
.start-version {
  position: absolute;
  top: -1rem;
  right: 0.2rem;
  color: #999999;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  z-index: 100;
  padding: 0.5rem 1rem;
}

/* Start header container */
.start-header {
  position: absolute;
  top: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

/* Start group icon */
.start-group-icon {
  width: 60px;
  height: 60px;
}

/* Start header text column */
.start-header-text {
  display: flex;
  flex-direction: column;
}

/* CX Match Level text */
.start-level {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1;
}

/* Selling Floor title */
.start-title-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-primary);
}

/* Start page container */
.start-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  flex: 1;
  padding: 0;
  z-index: 1;
  position: relative;
  overflow: hidden;
}

/* Centering wrapper so logo+title are vertically centered */
.start-content {
  position: absolute;
  inset: calc(3rem + env(safe-area-inset-top, 0px)) 0 calc(8.5rem + env(safe-area-inset-bottom, 0px)) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* Start logo section */
.start-logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Start logo image */
.start-logo {
  width: 200px;
  height: 140px;
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.8);
  animation: logoEntrance 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

/* Logo entrance animation */
@keyframes logoEntrance {
  0% {
    opacity: 0.7;
    transform: translate3d(0, 20px, 0) scale(0.8);
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.7;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Start title text */
.start-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: bold;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease-out 0.3s, transform 0.4s ease-out 0.3s;
}

.start-title.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Dialog */
.start-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.start-dialog {
  background: white;
  color: black;
  border-radius: 8px;
  padding: 24px;
  width: 320px;
  position: relative;
}

.start-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: #666;
}

.start-dialog-title {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.start-dialog-field {
  margin-bottom: 16px;
}

.start-dialog-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.start-dialog-field input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.start-dialog-password {
  position: relative;
}

.start-dialog-eye {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.start-dialog-error {
  color: red;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.start-dialog-submit {
  width: 100%;
  padding: 10px;
  background: black;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.start-dialog-submit:disabled {
  opacity: 0.6;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Button entrance animation */
@keyframes buttonEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tree animation styles */
.splash-tree-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100vw;
  height: min(80vh, 80svh);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  overflow: hidden;
}

.splash-tree-animation::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(96px, 16svh, 180px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.72) 42%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}

.tree-animation-iframe {
  width: 100vw;
  height: 100%;
  border: none;
  background: transparent;
  pointer-events: none;
  position: absolute;
  top: 150px;
  left: 0;
  transform: scale(1.6);
  transform-origin: center bottom;
}

@media (orientation: landscape) and (max-height: 900px) {
  .splash-top-section {
    top: 14%;
  }

  .splash-logo {
    width: min(220px, 28vw);
  }

  .splash-cta-wrap {
    margin-top: -14px;
  }

  .splash-tree-animation {
    height: min(58svh, 58vh);
  }

  .tree-animation-iframe {
    top: 62px;
    transform: scale(1.15);
  }
}

@media (orientation: portrait) and (max-width: 820px) {
  .splash-top-section {
    top: 48%;
    transform: translate(-50%, -50%) !important;
  }

  .splash-logo-wrapper {
    transform: translate3d(0, 0, 0) scale(0.94);
  }

  .splash-logo {
    width: min(270px, 38vw);
  }

  .splash-cta-wrap {
    margin-top: -18px;
  }

  .splash-tree-animation {
    height: min(72svh, 74vh);
  }

  .splash-tree-animation::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.82) 50%, #ffffff 100%);
  }

  .tree-animation-iframe {
    top: 280px;
    transform: scale(1.34);
  }
}

@media (max-width: 480px) {
  .splash-logo {
    width: min(220px, 60vw);
  }

  .splash-cta-button {
    min-width: 156px;
    padding: 0.9rem 1.2rem;
  }

  .splash-tree-animation {
    height: min(68svh, 68vh);
  }

  .tree-animation-iframe {
    top: 108px;
    transform: scale(1.38);
  }
}

@media (orientation: portrait) and (max-width: 480px) {
  .splash-tree-animation {
    height: min(70svh, 70vh);
  }

  .splash-tree-animation::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.82) 50%, #ffffff 100%);
  }

  .tree-animation-iframe {
    top: 245px;
    transform: scale(1.3);
  }
}

@media (min-width: 1024px) and (min-height: 900px) {
  .splash-top-section {
    top: 18%;
  }

  .splash-logo {
    width: min(300px, 18vw);
  }

  .splash-cta-wrap {
    margin-top: -18px;
  }

  .splash-tree-animation {
    height: min(78svh, 78vh);
  }

  .splash-tree-animation::after {
    height: clamp(240px, 22svh, 360px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.78) 38%, #ffffff 100%);
  }

  .tree-animation-iframe {
    top: 190px;
    transform: scale(1.58);
  }
}/* Filter group wrapper */

.header-right {
  display: flex;
  align-items: center;
  flex-direction: row;
  z-index: 30;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}

.header-filters-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  flex: 1 1 auto;
  justify-content: flex-end;
}

/* Selected filter chips */

.header-selected-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  min-width: 0;
  flex-shrink: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%);
          mask-image: linear-gradient(to right, transparent 0%, black 2%);
  cursor: grab;
}

.header-selected-filters:active {
  cursor: grabbing;
}

.header-selected-filters::-webkit-scrollbar {
  display: none;
}

.header-filter-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #000000;
  white-space: nowrap;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: default;
  line-height: 1;
  flex-shrink: 0;
  height: 36px;
}

.header-filter-chip.entering {
  animation: chipFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

.header-filter-chip.exiting {
  animation: chipFadeOut 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

.header-filter-chip-label {
  display: flex;
  align-items: center;
  vertical-align: middle;
}

.header-filter-chip-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  color: #000000;
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
  height: 100%;
}

@keyframes chipFadeIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes chipFadeOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(12px);
  }
}

/* Scroll hint */

.header-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  color: #000000;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  flex-shrink: 0;
}

.header-scroll-hint--visible {
  opacity: 1;
  transform: translateX(0);
}

.header-scroll-hint-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.header-scroll-hint-button--visible {
  opacity: 1;
  transform: translateX(0);
}

.header-scroll-hint-button--hidden {
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
}

.header-scroll-hint-button:disabled {
  cursor: default;
}

.header-scroll-hint-icon {
  font-size: 1rem;
  transform-origin: center;
  animation: headerScrollHintPulse 1.6s ease-in-out infinite;
}

.header-scroll-hint-icon--one {
  opacity: 0.25;
  animation-delay: 0s;
}

.header-scroll-hint-icon--two {
  opacity: 0.55;
  animation-delay: 0.15s;
}

.header-scroll-hint-icon--three {
  opacity: 0.9;
  animation-delay: 0.3s;
}

@keyframes headerScrollHintPulse {
  0%, 100% {
    transform: translateX(0);
    opacity: var(--scroll-hint-opacity, 1);
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

/* Filters dropdown button */

.header-filters-dropdown {
  position: relative;
  flex-shrink: 0;
  z-index: 35;
}

.header-filters-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  position: relative;
  flex-shrink: 0;
  text-transform: uppercase;
  line-height: 1;
  height: 36px;
  border-radius: 0px;
  background-color: #ffffff;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.header-filters-btn span {
  display: flex;
  align-items: center;
  vertical-align: middle;
}

.header-filters-chevron {
  transition: transform 0.2s ease;
  transform-origin: center;
  display: flex;
  align-items: center;
  vertical-align: middle;
  height: 100%;
}

.header-filters-chevron.open {
  transform: rotate(180deg);
}

/* Backdrop */

.header-filters-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  opacity: 0;
}

.header-filters-backdrop.opening {
  animation: filtersBackdropFadeIn 0.16s ease both;
}

.header-filters-backdrop.open {
  opacity: 1;
}

.header-filters-backdrop.closing {
  animation: filtersBackdropFadeOut 0.12s ease both;
  pointer-events: none;
}

@keyframes filtersBackdropFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes filtersBackdropFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Main menu */

.header-filters-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 0.5rem;
  z-index: 50;
  opacity: 0;
  transform: translateY(-6px);
  transform-origin: top right;
  pointer-events: none;
}

.header-filters-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-filters-menu.opening {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: auto;
  animation: filtersMenuSlideDown 0.24s ease both;
}

.header-filters-menu.closing {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  animation: filtersMenuSlideUp 0.18s ease both;
}

@keyframes filtersMenuSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes filtersMenuSlideUp {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}

.header-filters-menu-panel,
.header-filters-submenu {
  min-width: 16rem;
  border-radius: 0;
  background: rgba(255, 255, 255, 0);
}

.header-filters-menu-panel {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

/* nth-child stagger indices */
.header-filters-menu-panel > *:nth-child(1),
.header-filters-submenu-list > *:nth-child(1) { --menu-item-index: 0; }
.header-filters-menu-panel > *:nth-child(2),
.header-filters-submenu-list > *:nth-child(2) { --menu-item-index: 1; }
.header-filters-menu-panel > *:nth-child(3),
.header-filters-submenu-list > *:nth-child(3) { --menu-item-index: 2; }
.header-filters-menu-panel > *:nth-child(4),
.header-filters-submenu-list > *:nth-child(4) { --menu-item-index: 3; }

.header-filters-menu-item,
.header-filters-submenu-item {
  width: 100%;
  color: #000000;
  border: 1px solid #000000;
  background: white;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-filters-menu-item-arrow {
  flex-shrink: 0;
  display: inline-flex;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.85;
}

.header-filters-menu-item-arrow.opening,
.header-filters-menu-item-arrow.open {
  opacity: 1;
  animation: filtersMenuArrowOpen 0.24s cubic-bezier(0.2, 0, 0, 1) both;
}

.header-filters-menu-item-arrow.closing {
  animation: filtersMenuArrowClose 0.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes filtersMenuArrowOpen {
  from { opacity: 0.8; transform: rotate(0deg); }
  to   { opacity: 1;   transform: rotate(90deg); }
}

@keyframes filtersMenuArrowClose {
  from { opacity: 1;   transform: rotate(90deg); }
  to   { opacity: 0.8; transform: rotate(0deg); }
}

.header-filters-menu.opening .header-filters-menu-item,
.header-filters-menu.open    .header-filters-menu-item {
  animation: filtersMenuItemIn 0.3s cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: calc(var(--menu-item-index, 0) * 75ms);
  will-change: transform, opacity;
}

.header-filters-menu.closing .header-filters-menu-item,
.header-filters-menu.closing .header-filters-submenu-item {
  animation: filtersMenuItemOut 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: calc((3 - var(--menu-item-index, 0)) * 55ms);
  will-change: transform, opacity;
}

.header-filters-menu-item:hover,
.header-filters-submenu-item:hover,
.header-filters-menu-item.selected,
.header-filters-submenu-item.selected {
  background-color: #f3f4f6;
}

.header-filters-menu-item.active {
  background-color: #e5e7eb;
}

.header-filters-menu-item.direct {
  justify-content: flex-start;
}

.header-filters-menu-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Submenu */

.header-filters-submenu {
  min-width: 14rem;
  position: absolute;
  right: calc(100% + 0.5rem);
  top: var(--submenu-top, 0px);
  z-index: 51;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  padding-bottom: 7.5rem;
  overflow: hidden;
}

.header-filters-submenu.opening {
  animation: filtersSubmenuSlideIn 0.22s ease both;
  pointer-events: auto;
}

.header-filters-submenu.open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.header-filters-submenu.closing {
  animation: filtersSubmenuSlideOut 0.18s ease both;
  pointer-events: none;
}

.header-filters-submenu-title {
  padding-top: 0.85rem;
  padding-bottom: 0.5rem;
  padding-right: 1rem;
  font-size: 0.725rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.header-filters-submenu-title-text {
  padding: 0.3rem 0.75rem;
  background: #ffffff;
  display: inline;
  border: 1px solid #000000;
}

/* Submenu Search */

.header-filters-submenu-search {
  position: relative;
  padding: 0.5rem 0;
  flex-shrink: 0;
}

.header-filters-submenu-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
  z-index: 1;
}

.header-filters-submenu-search-input {
  width: 100%;
  padding: 0.6rem 2.5rem 0.6rem 2.3rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.header-filters-submenu-search-input::-moz-placeholder {
  color: #9ca3af;
  text-transform: none;
}

.header-filters-submenu-search-input::placeholder {
  color: #9ca3af;
  text-transform: none;
}

.header-filters-submenu-search-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.1);
}

.header-filters-submenu-search-clear {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  border-radius: 0;
  transition: color 0.2s ease, background-color 0.2s ease;
  z-index: 1;
}

.header-filters-submenu-search-clear:hover {
  color: #000000;
  background-color: rgba(0, 0, 0, 0.05);
}

.header-filters-submenu-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.header-filters-submenu-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

@keyframes filtersSubmenuSlideIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes filtersSubmenuSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(10px); }
}

.header-filters-submenu.opening .header-filters-submenu-item,
.header-filters-submenu.open    .header-filters-submenu-item {
  animation: filtersMenuItemIn 0.3s cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: calc(var(--menu-item-index, 0) * 20ms);
  will-change: transform, opacity;
}

.header-filters-submenu.closing .header-filters-submenu-item {
  animation: filtersMenuItemOut 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: calc((3 - var(--menu-item-index, 0)) * 15ms);
  will-change: transform, opacity;
}

@keyframes filtersMenuItemIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes filtersMenuItemOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-12px) scale(0.985); }
}

.header-filters-submenu-item {
  justify-content: flex-start;
}

/* Submenu Loader */

.header-filters-submenu-loader {
  padding: 1.2rem 0.8rem;
  width: 100%;
  min-height: 60px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background-color: rgba(0, 0, 0, 0.01);
  flex-shrink: 0;
}

/* Submenu Empty State */

.header-filters-submenu-empty {
  display: flex;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  padding-bottom: 0.2rem;
  transform: translateY(-12px) scale(0.985);
}

.header-filters-submenu.opening .header-filters-submenu-empty,
.header-filters-submenu.open .header-filters-submenu-empty {
  animation: filtersMenuItemIn 0.3s cubic-bezier(0.2, 0, 0, 1) both;
  will-change: transform, opacity;
}

.header-filters-submenu.closing .header-filters-submenu-empty {
  animation: filtersMenuItemOut 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
  will-change: transform, opacity;
}

.header-filters-submenu-empty-text {
  font-size: 0.75rem;
  font-weight: 400;
  padding: 1rem;
  letter-spacing: 0.04em;
  background-color: #ffffff;
  border-radius: 0;
  border: 1px solid #000000;
  color: #000000;
  line-height: 1.4;
  text-transform: none;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive */

@media (max-width: 580px) {
  .header-right {
    flex-shrink: 0;
  }
}

/* Loader Component - Generic loading spinner for the entire app */

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: loaderFadeIn 0.3s ease-out;
}

/* Size variants */
.loader.small {
  gap: 0.4rem;
  font-size: 0.65rem;
  padding: 0.5rem;
}

.loader.medium {
  gap: 0.6rem;
  font-size: 0.75rem;
  padding: 1rem;
}

.loader.large {
  gap: 0.8rem;
  font-size: 0.85rem;
  padding: 2rem;
  min-height: 220px;
}

@keyframes loaderFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loader-spinner {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loader-dot {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader.small .loader-dot {
  width: 4px;
  height: 4px;
}

.loader.large .loader-dot {
  width: 7px;
  height: 7px;
}

.loader-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.loader-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0s;
}

.loader-text {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

@keyframes loaderBounce {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.app-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #000000;
}

.app-header-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3.5rem;
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  flex: 0 0 auto;
}

.header-brand {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.05em;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
  padding-top: 0.3rem;
  padding-left: 0;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.header-search-placeholder {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  align-items: center;
  pointer-events: none;
  transform: translateY(-50%);
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  z-index: 1;
  line-height: 1;
  height: 36px;
}

.header-search-placeholder.hidden {
  opacity: 0;
}

.header-search-placeholder.showing .header-search-placeholder-letter {
  animation: placeholderLetterMotion 0.3s ease forwards;
  animation-direction: reverse;
  animation-fill-mode: both;
  animation-delay: var(--letter-delay);
}

.header-search-placeholder.hiding .header-search-placeholder-letter {
  animation: placeholderLetterMotion 0.45s ease forwards;
  animation-delay: var(--letter-delay);
}

.header-search-placeholder.visible .header-search-placeholder-letter {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.header-search-placeholder-letter {
  display: inline-block;
  opacity: 1;
  font-size: 14px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.2);
  transform: translateY(0) scale(1);
  will-change: transform, opacity;
}

@keyframes placeholderLetterMotion {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-4px) scale(0.95);
  }
}

.header-search-input {
  border: none;
  border-bottom: 1px solid #000000;
  background: transparent;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.2);
  min-width: 200px;
  padding: 0;
  outline: none;
  transition: border-color 0.2s;
  position: relative;
  z-index: 1;
}

.header-search-clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: clearSpinIn 0.4s ease forwards;
  transition: transform 0.2s ease;
  z-index: 3;
  pointer-events: auto;
}

.header-search-clear:hover {
  transform: translateY(-50%) scale(1.1);
}

.header-search-clear.hiding {
  animation: clearSpinOut 0.4s ease forwards;
}

@keyframes clearSpinIn {
  0% {
    opacity: 0;
    transform: translateY(-50%) rotate(-180deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translateY(-50%) rotate(0deg) scale(1);
  }
}

@keyframes clearSpinOut {
  0% {
    opacity: 1;
    transform: translateY(-50%) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) rotate(180deg) scale(0.5);
  }
}

@media (max-width: 580px) {
  .app-header {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }

  .header-left {
    gap: 1rem;
    flex: 1;
    min-width: 0;
  }

  .header-search {
    flex: 1;
    min-width: 0;
  }

  .header-search-input {
    min-width: 0;
    width: 100%;
  }
}
.tabs-nav-wrapper {
  width: 100%;
  padding: 30px 2rem 0;
  background-color: #ffffff;
  margin-bottom: 15px;
}

.tabs-nav {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  display: flex;
  gap: 2rem;
}

.tabs-nav-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background-color: #000000;
  opacity: 0;
  transform: translateX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1), width 240ms cubic-bezier(0.2, 0, 0, 1), opacity 140ms ease;
  pointer-events: none;
  will-change: transform, width;
}

.tab-link {
  position: relative;
  z-index: 1;
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
  padding-bottom: 8px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.tab-link:hover {
  color: #000000;
  background-color: #ffffff;
}

.tab-link:focus,
.tab-link:active {
  outline: none;
  background-color: transparent;
}

.tab-link:focus-visible {
  outline: none;
  color: #000000;
}

.tab-link-active {
  color: #000000;
}

@media (max-width: 580px) {
  .tabs-nav-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tabs-nav {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-link {
    white-space: nowrap;
  }
}
.main-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background-color: #ffffff;
  overflow-x: hidden;
}

.main-content {
  flex: 1;
  padding: 1rem 2rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.main-content::-webkit-scrollbar {
  display: none;
}

@media (max-width: 580px) {
  .main-content {
    padding: 1rem 1rem 2rem;
  }
}
.dashboard-widget-card {
  position: relative;
  border: 1px solid #000000;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0.1rem 0.8rem 0.65rem;
  margin-right: -1px;
  margin-bottom: -1px;
}

.dashboard-widget-card-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.dashboard-widget-card-label {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  font-size: 0.72rem;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000000;
  min-height: 2.1em;
  justify-content: center;
}

.dashboard-widget-card-value {
  font-size: 2.55rem;
  line-height: 0.9;
  font-weight: 400;
  color: #000000;
}

.dashboard-widget-card-percentage {
  align-self: flex-end;
  font-size: 0.72rem;
  line-height: 1;
  color: #000000;
}
.dashboard-summary-table {
  width: 100%;
  overflow-x: auto;
}

.dashboard-summary-table-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.dashboard-summary-table-grid th,
.dashboard-summary-table-grid td {
  border: 1px solid rgba(0, 0, 0, 1);
  padding: 0.75rem 0.65rem;
  vertical-align: middle;
}

.dashboard-summary-table-corner {
  width: 8rem;
  background: #ffffff;
}

.dashboard-summary-table-header {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #000000;
  background: #ffffff;
}

.dashboard-summary-table-header-total,
.dashboard-summary-table-row-label-total {
  background: #f2f2f2;
  font-weight: 600;
  border-color: #000000;
}

.dashboard-summary-table-row-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  color: #000000;
  width: 8rem;
  background: #ffffff;
}

.dashboard-summary-table-cell {
  text-align: center;
  background: #ffffff;
  white-space: nowrap;
}

.dashboard-summary-table-cell-total {
  background: #ececec;
  font-weight: 600;
  border-color: #000000;
}

.dashboard-summary-table-total-row .dashboard-summary-table-cell,
.dashboard-summary-table-total-row .dashboard-summary-table-row-label {
  background: #ececec;
  font-weight: 600;
  border-top: 1px solid #000000;
}

.dashboard-summary-table-total-row .dashboard-summary-table-cell-value {
  font-weight: 600;
}

.dashboard-summary-table-total-row .dashboard-summary-table-cell-percentage {
  color: #8c8c8c;
}

.dashboard-summary-table-cell-total .dashboard-summary-table-cell-value,
.dashboard-summary-table-cell-total .dashboard-summary-table-cell-percentage {
  font-weight: 600;
}

.dashboard-summary-table-cell-total .dashboard-summary-table-cell-percentage {
  color: #afafaf;
}

.dashboard-summary-table-cell-value,
.dashboard-summary-table-cell-percentage {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
  vertical-align: baseline;
}

.dashboard-summary-table-cell-value {
  width: 3ch;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  color: #000000;
  text-align: right;
}

.dashboard-summary-table-cell-percentage {
  width: 5.5ch;
  margin-left: 0.6rem;
  font-size: 1rem;
  line-height: 1;
  color: #cccccc;
  text-align: left;
}

.dashboard-summary-table-total-row {
  box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.02);
}
.dashboard-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-header {
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.dashboard-title {
  font-size: 5rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
  line-height: 0.8;
  margin-left: -1.5px;
}

/* Empty state */
.dashboard-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem;
}

.dashboard-empty-state__text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.35);
  text-align: center;
  margin: 0;
}

.dashboard-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-left: 0;
  margin-left: 0;
}

.dashboard-notifications {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 0 0 auto;
  margin-bottom: 3rem;
}

.notification-item {
  display: grid;
  grid-template-columns: 3ch 1fr;
  -moz-column-gap: 0.5rem;
       column-gap: 0.5rem;
  align-items: start;
  gap: 3.5rem;
}

.notification-number {
  text-align: left;
  line-height: 0.9;
  font-size: 46px;
}

.notification-label {
  display: block;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
  padding-left: 1px;
}

.dashboard-widget-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 7rem));
  grid-template-rows: repeat(3, minmax(0, 7rem));
  gap: 0;
  align-self: flex-start;
}

.dashboard-content {
  padding-top: 5rem;
  background-color: #ffffff;
  border-radius: 8px;
  min-height: 400px;
}

.dashboard-placeholder {
  color: #000000;
  text-align: center;
  margin-top: 2rem;
}

@media (max-width: 580px) {
  .dashboard-title {
    font-size: 3.5rem;
  }

  .dashboard-summary {
    flex-direction: column;
    gap: 2rem;
  }

  .dashboard-widget-map {
    align-self: flex-start;
  }
}
.employees-table-row {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.employees-table-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgb(0, 0, 0);
  pointer-events: none;
}

.employees-table-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.employees-table-row--last::after {
  display: none;
}

.employees-table-row:hover {
  background: rgba(0, 0, 0, 0.03);
}

.employees-table-row--pressing::before {
  animation: employees-table-row-press 180ms ease-out forwards;
}

.employees-table-row--pressing {
  pointer-events: none;
}

.employees-table-row:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: -2px;
}

@keyframes employees-table-row-press {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  30% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0;
    transform: scaleX(1);
  }
}

.employees-table-cell {
  font-size: 0.78rem !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.employees-table-cell-role {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.employees-table-role-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0.3rem 0.3rem;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

.employees-table-role-tag-j {
  background: #00A4ED;
}

.employees-table-role-tag-r {
  background: #4EEDA3;
}

.employees-table-cell-final {
  display: flex;
  align-items: center;
  align-self: center;
  justify-content: flex-start;
  gap: 0.55rem;
}

.employees-table-final-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.employees-table-final-badge-excellent {
  background: #71D88D;
}

.employees-table-final-badge-pass {
  background: #71D8D8;
}

.employees-table-final-badge-notExceed {
  background: #D88971;
}

.employees-table-cell-chevron {
  color: #000000;
  font-size: 1rem;
  margin-left: auto;
}

.employees-table-row--animated {
  opacity: 0;
  transform: translateY(15px);
  animation: employeesRowFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--row-index, 0) * 0.08s);
}

@keyframes employeesRowFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.employees-table {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #000000;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.employees-table--has-rows {
  border-bottom: none;
}

.employees-table::-webkit-scrollbar {
  display: none;
}

.employees-table-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.employees-table-header-row,
.employees-table-row {
  display: grid;
  grid-template-columns: 18% 16% 20% 14% 10% 10% 12%;
  align-items: center;
}

.employees-table-header-row {
  border-bottom: 1px solid #000000;
}

.employees-table-body {
  display: flex;
  flex-direction: column;
  position: relative;
}

.employees-table-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 220px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #374151;
}

.employees-table-empty-state-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
}

.employees-table-empty-state-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
}

.employees-table-empty-state-text {
  max-width: 320px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4b5563;
}

.employees-table-header,
.employees-table-cell {
  padding: 1rem 0.7rem;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000000;
  text-align: left;
  min-width: 0;
}

.employees-table-header {
  font-weight: 400;
  color: #6b7280;
}

.employees-table-cell {
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.employees-table-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 220px;
  width: 100%;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2rem;
  animation: employeesFadeIn 0.3s ease-out;
}

.employees-table-body-content {
  display: contents;
}

.employees-table-body-content--visible {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: employeesFadeIn 0.3s ease-out both;
}

@keyframes employeesFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.employees-table-loading-spinner {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.employees-table-loading-dot {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  animation: employeesTableBounce 1.4s ease-in-out infinite both;
}

.employees-table-loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.employees-table-loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.employees-table-loading-dot:nth-child(3) {
  animation-delay: 0s;
}

.employees-table-loading-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes employeesTableBounce {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.employees-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid #000000;
  overflow: hidden;
}

.employees-pagination-info {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6b7280;
  animation: employeesPaginationSlideInLeft 0.4s ease-out both;
}

.employees-pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: employeesPaginationSlideInRight 0.4s ease-out both;
}

@keyframes employeesPaginationSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes employeesPaginationSlideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.employees-pagination-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #000000;
  border-radius: 0px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease;
  color: #000000;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.employees-pagination-button:hover:not(:disabled) {
  background: #f5f5f5;
}

.employees-pagination-button:active:not(:disabled) {
  background: #e5e5e5;
}

.employees-pagination-button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: #ffffff;
}

.employees-pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.employees-pagination-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 0.5rem;
  border: 1px solid transparent;
  border-radius: 0px;
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #000000;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.employees-pagination-page:hover {
  background: #f5f5f5;
  border-color: #000000;
}

.employees-pagination-page--active {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

.employees-pagination-page--active:hover {
  background: #1a1a1a;
}

.employees-pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #6b7280;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  letter-spacing: 0.1em;
}@property --toast-percent {
  syntax: '<number>';
  inherits: false;
  initial-value: 100;
}

.toast-notification {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
  width: min(100vw - 1rem, 520px);
  margin: 0 auto;
  padding: 0.9rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.toast-notification::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1.5px solid currentColor;
  opacity: 0.14;
  pointer-events: none;
}

.toast-notification::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;

  background: conic-gradient(
          from 0deg,
          currentColor 0%,
          currentColor calc(var(--toast-percent) * 1%),
          transparent calc(var(--toast-percent) * 1%),
          transparent 100%
  );

  -webkit-mask:
          linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0.85;
  animation: toastLineCollapse var(--toast-duration) linear forwards;
}

@keyframes toastLineCollapse {
  from {
    --toast-percent: 100;
  }
  to {
    --toast-percent: 0;
  }
}

.toast-notification-shell {
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  --toast-duration: 3500ms;
}

.toast-notification-shell > * {
  pointer-events: auto;
}

.toast-notification-shell--visible {
  animation: toastNotificationIn 420ms cubic-bezier(0.14, 1, 0.32, 1) both;
}

.toast-notification-shell--hidden {
  animation: toastNotificationOut 260ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

.toast-notification--success { border-color: transparent; background: #f0fdf4; color: #15803d; }
.toast-notification--error   { border-color: transparent; background: #fef2f2; color: #b91c1c; }
.toast-notification--warning { border-color: transparent; background: #fffbeb; color: #d97706; }

.toast-notification__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
}

.toast-notification--success .toast-notification__icon { background: rgba(21, 128, 61, 0.12); }
.toast-notification--error .toast-notification__icon   { background: rgba(185, 28, 28, 0.12); }
.toast-notification--warning .toast-notification__icon { background: rgba(217, 119, 6, 0.12); }

.toast-notification__check { width: 20px; height: 20px; overflow: visible; }
.toast-notification__check-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-dasharray: 62.83;
  stroke-dashoffset: 62.83;
  animation: toastCheckRingIn 900ms cubic-bezier(0.12, 0.92, 0.18, 1) forwards;
}
.toast-notification__check-mark {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: toastCheckMarkIn 760ms cubic-bezier(0.12, 0.92, 0.18, 1) 320ms forwards;
}

.toast-notification__content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.toast-notification__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

.toast-notification__title { font-size: 0.95rem; font-weight: 700; line-height: 1.25; }
.toast-notification__message { margin: 0; font-size: 0.82rem; line-height: 1.4; opacity: 0.9; }

.toast-notification__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  opacity: 0.7;
  transition: background-color 0.24s ease, opacity 0.24s ease, transform 0.24s ease;
}

.toast-notification__close:hover {
  background: rgba(17, 24, 39, 0.08);
  opacity: 1;
  transform: scale(1.04);
}

@keyframes toastNotificationIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastNotificationOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-14px) scale(0.97); }
}
@keyframes toastCheckRingIn {
  from { stroke-dashoffset: 62.83; }
  to { stroke-dashoffset: 0; }
}
@keyframes toastCheckMarkIn {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

@media (max-width: 640px) {
  .toast-notification { width: min(100vw - 1rem, 100%); padding: 0.85rem; }
}.add-employee-dialog-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  padding: 1.5rem;
}

.add-employee-dialog-backdrop.open {
  animation: modalBackdropFadeIn 0.25s ease-out both;
}

.add-employee-dialog-backdrop.closing {
  animation: modalBackdropFadeOut 0.2s ease-out both;
}

.add-employee-dialog-backdrop--small {
  z-index: 1100;
}

.add-employee-dialog {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.15);
  width: min(760px, 94vw);
  height: min(86vh, 900px);
  max-height: min(86vh, 900px);
  overflow: visible;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  display: flex;
  flex-direction: column;
}

.add-employee-dialog.open {
  animation: modalSlideIn 0.3s ease-out both;
}

.add-employee-dialog.closing {
  animation: modalSlideOut 0.25s ease-out both;
}

.add-employee-dialog--small {
  width: min(400px, 90vw);
  height: auto;
  max-height: none;
}

.add-employee-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #000000;
}

.add-employee-dialog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(-12px);
}

.add-employee-dialog.open .add-employee-dialog-title {
  animation: modalTitleSlideIn 0.3s ease-out 0.05s both;
}

.add-employee-dialog.closing .add-employee-dialog-title {
  animation: modalTitleSlideOut 0.2s ease-out both;
}

.add-employee-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  border-radius: 0;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.add-employee-dialog.open .add-employee-dialog-close {
  animation: modalCloseButtonIn 0.3s ease-out 0.1s both;
}

.add-employee-dialog-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.add-employee-dialog.closing .add-employee-dialog-close {
  animation: modalCloseButtonOut 0.2s ease-out both;
}

.add-employee-dialog-content {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  opacity: 0;
  transform: translateY(8px);
}

.add-employee-dialog.open .add-employee-dialog-content {
  animation: modalContentFadeIn 0.3s ease-out 0.1s both;
}

.add-employee-dialog.closing .add-employee-dialog-content {
  animation: modalContentFadeOut 0.2s ease-out both;
}

.add-employee-dialog-search-block,
.add-employee-dialog-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.add-employee-dialog-search-results {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease, flex-basis 0.24s ease;
  max-height: 100%;
  opacity: 1;
  transform: translateY(0);
}

.add-employee-dialog-search-results--hidden {
  flex: 0 1 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  pointer-events: none;
}

.add-employee-dialog-label,
.add-employee-dialog-selected-user-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.add-employee-dialog-field-error,
.add-employee-dialog-submit-error {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #b91c1c;
}

.add-employee-dialog-submit-error {
  margin-right: auto;
  padding-right: 0.75rem;
  align-self: center;
}

.add-employee-dialog-search-input-wrap {
  position: relative;
}

.add-employee-dialog-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  pointer-events: none;
}

.add-employee-dialog-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.add-employee-dialog-search-clear svg {
  width: 16px;
  height: 16px;
}

.add-employee-dialog-search-input,
.add-employee-dialog-text-input {
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.add-employee-dialog-search-input {
  padding-left: 2.3rem;
  padding-right: 2.3rem;
}

.add-employee-dialog-search-input:focus,
.add-employee-dialog-text-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.1);
}

.add-employee-dialog-state-panel {
  width: 100%;
  height: 100%;
  display: flex;
  min-height: 0;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transform-origin: top right;
  animation: filtersMenuSlideDown 0.24s ease both;
}

.add-employee-dialog-state-panel--results {
  min-height: 240px;
}

.add-employee-dialog-state-panel--results {
  align-items: stretch;
}

.add-employee-dialog-state-panel--idle,
.add-employee-dialog-state-panel--empty {
  align-items: stretch;
  justify-content: stretch;
}

.add-employee-dialog-state {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: transparent;
}

.add-employee-dialog-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.add-employee-dialog-results-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.add-employee-dialog-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 100%;
  width: 100%;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.add-employee-dialog-loading-spinner {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.add-employee-dialog-loading-dot {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  animation: addEmployeeDialogBounce 1.4s ease-in-out infinite both;
}

.add-employee-dialog-loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.add-employee-dialog-loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.add-employee-dialog-loading-dot:nth-child(3) {
  animation-delay: 0s;
}

.add-employee-dialog-loading-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.add-employee-dialog-results-loading-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 0;
}

.add-employee-dialog-results-loading-spinner {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.add-employee-dialog-results-loading-dot {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  animation: addEmployeeDialogBounce 1.4s ease-in-out infinite both;
}

.add-employee-dialog-results-loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.add-employee-dialog-results-loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.add-employee-dialog-results-loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.add-employee-dialog-result {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  text-align: left;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.add-employee-dialog-result--animated {
  opacity: 0;
  transform: translateY(-12px) scale(0.985);
  animation: filtersMenuItemIn 0.3s cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: calc(var(--menu-item-index, 0) * 75ms);
  will-change: transform, opacity;
}

.add-employee-dialog-result:hover {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.add-employee-dialog-result--selected {
  background-color: rgba(0, 0, 0, 0.05);
}

.add-employee-dialog-result-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.add-employee-dialog-result-meta {
  font-size: 0.72rem;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.add-employee-dialog-empty-state {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: #374151;
  text-align: center;
}

.add-employee-dialog-empty-state--idle {
  color: #000000;
}

.add-employee-dialog-empty-state-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
}

.add-employee-dialog-empty-state-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.add-employee-dialog-empty-state-text {
  max-width: 320px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4b5563;
}

.add-employee-dialog-empty-state-action {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0;
  background: transparent;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.15s ease;
  border: none;
}

.add-employee-dialog-empty-state-action:hover {
  color: #374151;
  text-decoration: underline;
}

.add-employee-dialog-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.24s ease, opacity 0.24s ease, transform 0.24s ease, padding-top 0.24s ease, border-top-color 0.24s ease;
}

.add-employee-dialog-form--hidden {
  max-height: 0;
  opacity: 0;
  transform: translateY(12px);
  padding-top: 0;
  border-top-color: transparent;
  pointer-events: none;
}

.add-employee-dialog-selected-user {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid #000000;
  background: #fafafa;
  padding-right: 3rem;
}

.add-employee-dialog-selected-user-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.add-employee-dialog-selected-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.add-employee-dialog-selected-user-clear {
  position: absolute;
  top: 1.5rem;
  right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.add-employee-dialog-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 0.25rem;
}

.add-employee-dialog-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 28px;
  white-space: nowrap;
  line-height: 1;
}

.add-employee-dialog-submit:hover {
  background-color: #f3f4f6;
}

.add-employee-dialog-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .add-employee-dialog {
    width: 96vw;
    max-height: 92vh;
  }

  .add-employee-dialog-header,
  .add-employee-dialog-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .add-employee-dialog-result {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@keyframes filtersMenuSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes filtersMenuItemIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes addEmployeeDialogBounce {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  30% {
    opacity: 1;
    transform: scale(1.2);
  }
}
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
}

.dropdown {
  position: relative;
  width: 100%;
}

.dropdown--open {
  z-index: 2001;
}

.dropdown--disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  outline: none !important;
  box-shadow: none !important;
}

.dropdown-trigger:focus,
.dropdown-trigger:active,
.dropdown-trigger:hover {
  outline: none !important;
  border: 1px solid #000000 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.dropdown--open .dropdown-trigger {
  outline: none !important;
  border: 1px solid #000000 !important;
  background: #f3f4f6 !important;
  box-shadow: none !important;
}

.dropdown-trigger--portal {
  background: #f3f4f6 !important;
  border: 1px solid #000000 !important;
  box-sizing: border-box;
}

.dropdown--open .dropdown-trigger-text {
  color: #333 !important;
}

.dropdown--open .dropdown-trigger-arrow {
  color: #666 !important;
}

.dropdown--disabled .dropdown-trigger {
  cursor: not-allowed;
  background: #f5f5f5;
}

.dropdown-trigger-text {
  flex: 1;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown--disabled .dropdown-trigger-text {
  color: #999;
}

.dropdown-trigger-arrow {
  color: #666;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.dropdown-trigger-arrow--open {
  transform: rotate(180deg);
}

.dropdown-menu {
  background: rgba(255, 255, 255, 0);
  border-radius: 0;
  z-index: 2001;
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dropdown-menu::-webkit-scrollbar {
  display: none;
}

.dropdown-option {
  width: 100%;
  border: none;
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
  background: white;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
  animation: filtersMenuItemIn 0.3s cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: calc(var(--menu-item-index, 0) * 75ms);
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.dropdown-option:hover {
  background-color: #f3f4f6;
}

.dropdown-option--selected {
  background-color: #f3f4f6;
}

@keyframes filtersMenuItemIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes filtersMenuItemOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
  }
}

.dropdown--closing .dropdown-option,
.dropdown-menu--closing .dropdown-option {
  animation: filtersMenuItemOut 0.22s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: calc((3 - var(--menu-item-index, 0)) * 55ms);
  will-change: transform, opacity;
}
.date-range-picker {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.date-range-picker .add-employee-dialog-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.date-range-picker .add-employee-dialog-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.date-range-picker .add-employee-dialog-text-input {
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.date-range-picker .add-employee-dialog-text-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.1);
}

.date-range-picker .date-field-clickable {
  cursor: pointer;
}

.date-range-picker .date-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 0;
  cursor: pointer;
  min-height: 48px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  width: 100%;
  box-sizing: border-box;
}

.date-range-picker .date-trigger-text {
  flex: 1;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.date-range-picker .date-input-icon {
  color: #666;
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 16px;
}
.custom-date-picker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.custom-date-picker-overlay.open {
  opacity: 1;
}

.custom-date-picker-overlay.closing {
  opacity: 0;
}

.custom-date-picker-dialog {
  position: relative;
  background: white;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  width: 380px;
  font-family: inherit;
  z-index: 2001;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: all 0.2s ease-out;
}

.custom-date-picker-dialog.open {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.custom-date-picker-dialog.closing {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
}

.custom-date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #000000;
}

.custom-date-picker-nav {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  color: #000000;
}

.custom-date-picker-title {
  font-weight: 600;
  font-size: 14px;
  color: #000000;
}

.custom-date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px 16px;
  gap: 4px;
}

.custom-date-picker-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #666666;
}

.custom-date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px 16px 16px;
  gap: 6px;
}

.custom-date-picker-days.month-change-left {
  animation: slideInRight 0.2s ease-out;
}

.custom-date-picker-days.month-change-right {
  animation: slideInLeft 0.2s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.custom-date-picker-day {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #000000;
  border-radius: 999px;
}

.custom-date-picker-day.selected {
  background: #000000;
  color: white;
  border: 1px solid #000000;
  font-weight: 600;
}

.custom-date-picker-day.today {
  border: 1px solid #000000;
  font-weight: 600;
}

.custom-date-picker-footer {
  padding: 12px 16px;
  border-top: 1px solid #000000;
  display: flex;
  justify-content: center;
}

.custom-date-picker-today-btn {
  background: transparent;
  border: 1px solid #000000;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0;
  color: #000000;
  transition: background-color 0.2s ease;
}

.custom-date-picker-today-btn:hover {
  background-color: #f3f4f6;
}
.add-employee-dialog-backdrop--small {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.2s ease-out;
  padding: 1.5rem;
}

.add-employee-dialog-backdrop--small.open {
  opacity: 1;
}

.add-employee-dialog-backdrop--small.closing {
  opacity: 0;
}

.add-employee-dialog--small {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.15);
  width: min(400px, 90vw);
  height: auto;
  max-height: none;
  overflow: visible;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: all 0.2s ease-out;
  display: flex;
  flex-direction: column;
}

.add-employee-dialog--small.open {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.add-employee-dialog--small.closing {
  opacity: 0;
  transform: scale(0.96) translateY(8px);
}

.add-employee-dialog--small .add-employee-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #000000;
}

.add-employee-dialog--small .add-employee-dialog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
}

.add-employee-dialog--small .add-employee-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: #000000;
  transition: background-color 0.2s ease;
}

.add-employee-dialog--small .add-employee-dialog-content {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
}

.add-employee-dialog--small .add-employee-dialog-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.add-employee-dialog--small .add-employee-dialog-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
}

.add-employee-dialog--small .add-employee-dialog-text-input {
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 0;
  font-size: 0.875rem;
  color: #000000;
  transition: all 0.2s ease;
}

.add-employee-dialog--small .add-employee-dialog-text-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.add-employee-dialog--small .add-employee-dialog-text-input::-moz-placeholder {
  color: #9ca3af;
}

.add-employee-dialog--small .add-employee-dialog-text-input::placeholder {
  color: #9ca3af;
}

.add-employee-dialog--small .add-employee-dialog-field-error {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

.add-employee-dialog--small .add-employee-dialog-submit-error {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #b91c1c;
  margin-right: auto;
  padding-right: 0.75rem;
  align-self: center;
  margin-bottom: 1rem;
}

.add-employee-dialog--small .add-employee-dialog-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}

.add-employee-dialog--small .add-employee-dialog-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 28px;
  white-space: nowrap;
  line-height: 1;
}

.add-employee-dialog--small .add-employee-dialog-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .add-employee-dialog-backdrop--small {
    padding: 1rem;
  }

  .add-employee-dialog--small .add-employee-dialog-header,
  .add-employee-dialog--small .add-employee-dialog-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.employees-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.employees-page-header {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.employees-page-title {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.employees-page-add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #000000;
  border-radius: 0px;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 28px;
  white-space: nowrap;
  line-height: 1;
}

.employees-page-content {
  background-color: #ffffff;
  border-radius: 8px;
  min-height: 400px;
}

/* Empty state */
.employees-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem;
}

.employees-empty-state__text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.35);
  text-align: center;
  margin: 0;
}

.employees-page-placeholder {
  color: #000000;
  text-align: center;
  margin-top: 2rem;
}
.employee-single-feedback-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.employee-single-feedback-card {
  min-height: 155px;
  padding: 0.85rem 0.75rem 0.7rem;
  border: 1px solid rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
}

.employee-single-feedback-card--muted {
  opacity: 0.26;
}

.employee-single-feedback-card-number,
.employee-single-feedback-card-title,
.employee-single-feedback-card-subtitle,
.employee-single-feedback-card-date {
  margin: 0;
  text-transform: uppercase;
}

.employee-single-feedback-card-number {
  font-size: 1.3rem;
  line-height: 1;
}

.employee-single-feedback-card-title {
  font-size: 0.68rem;
  line-height: 1.1;
}

.employee-single-feedback-card-subtitle {
  margin-top: 0.65rem;
  font-size: 0.58rem;
  line-height: 1.15;
}

.employee-single-feedback-card-date {
  font-size: 0.58rem;
  line-height: 1.2;
}

.employee-single-feedback-card-action {
  align-self: flex-end;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  text-transform: uppercase;
  cursor: pointer;
}

.employee-single-feedback-card-action:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .employee-single-feedback-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .employee-single-feedback-grid {
    grid-template-columns: 1fr;
  }
}
.employee-single-section-title {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.employee-single-section-title--small {
  margin: 0.5rem 0 0.5rem !important;
}

.employee-single-inline-action {
  align-self: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.employee-single-inline-action--bottom {
  margin-top: auto;
}

.employee-single-inline-action--strong {
  font-size: 0.88rem;
}
.employee-single-materials-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.employee-single-material-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.employee-single-material-row--muted {
  opacity: 0.28;
}

.employee-single-material-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.employee-single-material-row--clickable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.employee-single-material-row--clickable:active {
  background-color: rgba(0, 0, 0, 0.1);
}

.employee-single-material-status {
  flex: 0 0 auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.employee-single-material-checkbox {
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid #000000;
  border-radius: 50%;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.employee-single-material-checkbox:checked {
  background-color: #000000;
}

.employee-single-material-checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.3rem;
  height: 0.3rem;
  background-color: #ffffff;
  border-radius: 50%;
}

.employee-single-material-checkbox:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.confirm-cancel-dialog-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
}

.confirm-cancel-dialog-backdrop.open {
  animation: modalBackdropFadeIn 0.25s ease-out both;
}

.confirm-cancel-dialog-backdrop.closing {
  animation: modalBackdropFadeOut 0.2s ease-out both;
}

.confirm-cancel-dialog {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 90vw;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
}

.confirm-cancel-dialog.open {
  animation: modalSlideIn 0.3s ease-out both;
}

.confirm-cancel-dialog.closing {
  animation: modalSlideOut 0.25s ease-out both;
}

.confirm-cancel-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
}

.confirm-cancel-dialog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  opacity: 0;
  transform: translateX(-12px);
}

.confirm-cancel-dialog.open .confirm-cancel-dialog-title {
  animation: modalTitleSlideIn 0.3s ease-out 0.05s both;
}

.confirm-cancel-dialog.closing .confirm-cancel-dialog-title {
  animation: modalTitleSlideOut 0.2s ease-out both;
}

.confirm-cancel-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  width: 2rem;
  height: 2rem;
  color: #000000;
  cursor: pointer;
  border-radius: 0;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.confirm-cancel-dialog-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.confirm-cancel-dialog.open .confirm-cancel-dialog-close {
  animation: modalCloseButtonIn 0.3s ease-out 0.1s both;
}

.confirm-cancel-dialog.closing .confirm-cancel-dialog-close {
  animation: modalCloseButtonOut 0.2s ease-out both;
}

.confirm-cancel-dialog-content {
  padding: 1.5rem;
  opacity: 0;
  transform: translateY(8px);
}

.confirm-cancel-dialog.open .confirm-cancel-dialog-content {
  animation: modalContentFadeIn 0.3s ease-out 0.1s both;
}

.confirm-cancel-dialog.closing .confirm-cancel-dialog-content {
  animation: modalContentFadeOut 0.2s ease-out both;
}

.confirm-cancel-dialog-message {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #000000;
}

.confirm-cancel-dialog-actions {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background-color: #ffffff;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(8px);
}

.confirm-cancel-dialog.open .confirm-cancel-dialog-actions {
  animation: modalContentFadeIn 0.3s ease-out 0.2s both;
}

.confirm-cancel-dialog.closing .confirm-cancel-dialog-actions {
  animation: modalContentFadeOut 0.2s ease-out both;
}

.confirm-cancel-dialog-button {
  padding: 0.5rem 1rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  min-width: 80px;
  transition: all 0.15s ease;
}

.confirm-cancel-dialog-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.confirm-cancel-dialog-button--cancel {
  color: #ef4444;
  border-color: #ef4444;
}

.confirm-cancel-dialog-button--cancel:hover {
  background-color: #ef4444;
  color: #ffffff;
}

.confirm-cancel-dialog-button--confirm {
  color: #10b981;
  border-color: #10b981;
}

.confirm-cancel-dialog-button--confirm:hover {
  background-color: #10b981;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 480px) {
  .confirm-cancel-dialog {
    width: 95vw;
    max-width: none;
    margin: 1rem;
  }
  
  .confirm-cancel-dialog-header {
    padding: 0.75rem 1rem;
  }
  
  .confirm-cancel-dialog-content {
    padding: 1rem;
  }
  
  .confirm-cancel-dialog-actions {
    padding: 0.75rem 1rem;
    flex-direction: column;
  }
  
  .confirm-cancel-dialog-button {
    width: 100%;
    justify-content: center;
  }
}
.employee-single-profile-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.employee-single-profile-id {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.employee-single-profile-name {
  margin: 0;
  font-size: clamp(2.2rem, 3.2vw, 3.65rem);
  line-height: 0.82;
  font-weight: 300;
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.employee-single-profile-name span {
  display: block;
}

.employee-single-profile-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.18rem 0.45rem;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.employee-single-profile-tag-j {
  background: #00A4ED;
}

.employee-single-profile-tag-r {
  background: #4EEDA3;
}

.employee-single-profile-email {
  margin: 0.05rem 0 0;
  font-size: 0.82rem;
  line-height: 1.2;
}

.employee-single-profile-editable-text {
  outline: none;
  cursor: text;
  transition: background-color 0.2s ease;
  padding: 0;
  margin: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  position: relative;
}

/* Editable field indicator */
.employee-single-profile-editable-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.employee-single-profile-editable-icon {
  font-size: 0.85rem;
  color: #9ca3af;
  transition: color 0.2s ease;
  pointer-events: none;
  flex-shrink: 0;
}

.employee-single-profile-editable-wrapper:focus-within .employee-single-profile-editable-icon {
  color: #10b981;
}

.employee-single-profile-blocks {
  margin-top: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.employee-single-profile-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.employee-single-profile-block-label {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.employee-single-profile-block-sub-label {
  margin: 0.5rem 0 0.08rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.employee-single-profile-block-value {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.15;
}

.employee-single-profile-block-value-date {
  font-size: 0.78rem;
  line-height: 1.15;
}

.employee-single-profile-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: end;
}

.employee-single-inline-action--cancel {
  color: #ef4444;
}

.employee-single-inline-action--confirm {
  color: #10b981;
}

.employee-single-inline-action--active {
  color: #10b981;
  font-weight: 600;
}

.employee-single-inline-action--confirm:disabled {
  color: #9ca3af;
  background-color: transparent;
  cursor: not-allowed;
}

.employee-single-inline-action--confirm:disabled:hover {
  background-color: transparent;
}

.employee-single-inline-action-text {
  transition: opacity 0.2s ease;
  display: inline-block;
  text-decoration: underline;
  position: relative;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.employee-single-inline-action-text--transitioning {
  opacity: 0;
}

@keyframes wipeIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes wipeOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.employee-single-inline-action-text--typing {
  animation: wipeIn 0.4s ease-out forwards;
}

.employee-single-inline-action--transitioning {
  position: relative;
  overflow: hidden;
}

@media (max-width: 720px) {
  .employee-single-profile-name {
    font-size: 2.35rem;
  }
}
.dialog-employee-schedule-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 2rem;
  opacity: 0;
  animation: overlayFadeIn 0.5s ease-out 0.1s forwards;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.dialog-employee-schedule-dialog {
  background: #ffffff;
  border-radius: 0;
  border: 2px solid #000000;
  box-shadow: 
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 95vw;
  min-height: 95vh;
  width: 100%;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  animation: dialogRevealIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  transform-origin: center center;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

.dialog-employee-schedule-dialog--closing {
  animation: dialogRevealOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: transform, opacity;
}

.dialog-employee-schedule-dialog--closing ~ .dialog-employee-schedule-overlay {
  animation: overlayFadeOut 0.3s ease-out 0.1s forwards;
}

.dialog-employee-schedule-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1rem 1.5rem;
  background: #ffffff;
  gap: 1rem;
}

.dialog-employee-schedule-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 0.5rem;
}

.dialog-employee-inline-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid #000000;
  border-radius: 0px;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 28px;
  white-space: nowrap;
}

.dialog-employee-inline-action--active {
  background: #ffffff;
  color: #059669;
  border-color: #059669;
}

.dialog-employee-inline-action--cancel {
  background: #ffffff;
  color: #dc2626;
  border-color: #dc2626;
}

.dialog-employee-schedule-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.dialog-employee-schedule-month-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.dialog-employee-schedule-month-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dialog-employee-schedule-month-label--changing {
  opacity: 0.6;
}

.dialog-employee-schedule-month-label--next {
  animation: dialogMonthSlideNext 0.3s ease-out;
}

.dialog-employee-schedule-month-label--previous {
  animation: dialogMonthSlidePrevious 0.3s ease-out;
}

.dialog-employee-schedule-month-loading-dots {
  display: flex;
  gap: 3px;
  opacity: 0.8;
  font-size: 0.9rem;
  font-weight: 600;
}

.dialog-employee-schedule-today-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid #000000;
  border-radius: 0px;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 28px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
}

.dialog-employee-schedule-today-button--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dialog-employee-schedule-today-button--hidden {
  opacity: 0 !important;
  transform: translateY(-4px) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

@keyframes dialogMonthSlideNext {
  0% {
    transform: translateX(6px);
    opacity: 0.5;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes dialogMonthSlidePrevious {
  0% {
    transform: translateX(-6px);
    opacity: 0.5;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.dialog-employee-schedule-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000000;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.dialog-employee-schedule-content {
  padding-top: 0;
  margin-right: 0.2rem;
  margin-left: 0.2rem;
  overflow: auto;
  max-height: calc(95vh - 120px);
  position: relative;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dialog-employee-schedule-content::-webkit-scrollbar {
  display: none;
}

.dialog-employee-schedule-horizontal-table {
  min-width: 100%;
}

.dialog-employee-schedule-horizontal-table.dialog-employee-schedule-table--loading {
  opacity: 0.4;
  filter: blur(1px);
  pointer-events: none;
}

.dialog-employee-schedule-loader {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1000;
  pointer-events: none;
}

.dialog-employee-schedule-spinner {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.dialog-employee-schedule-spinner-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: dialogSpinnerBounce 1.4s ease-in-out infinite both;
}

.dialog-employee-schedule-spinner-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.dialog-employee-schedule-spinner-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dialogSpinnerBounce {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.dialog-employee-schedule-horizontal-header {
  display: flex;
  align-items: stretch;
  border-bottom: 2px solid #000000;
  margin-bottom: 0;
}


.dialog-employee-schedule-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.dialog-employee-schedule-header-row {
  border-bottom: 2px solid #000000;
}

.dialog-employee-schedule-specialists-label {
  width: 150px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  vertical-align: middle;
}

.dialog-employee-schedule-row {
  border-bottom: 1px solid #e5e7eb;
}

.dialog-employee-schedule-row:last-child {
  border-bottom: 0;
}

.dialog-employee-schedule-row-label {
  width: 150px;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  vertical-align: middle;
}

.dialog-employee-schedule-day {
  background: #ffffff;
  font-weight: 400;
  position: relative;
  padding: 1rem 0.5rem;
  font-size: 1rem;
  border-right: 1px solid #e5e7eb;
  text-align: center;
  vertical-align: middle;
  min-width: 30px;
  width: 50px;
}

.dialog-employee-schedule-day:last-child {
  border-right: 0;
}

.dialog-employee-schedule-day--today {
  color: #000000;
  font-weight: 600;
}

.dialog-employee-schedule-day--today .dialog-employee-schedule-day-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #000000;
  border-radius: 50%;
  margin: 0 auto;
  font-size: 0.9rem;
}

.dialog-employee-schedule-day--weekend {
  background: #f2f2f2;
  color: #8b8b8b;
}

.dialog-employee-schedule-cell {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
  min-height: 3.5rem;
  text-align: center;
  vertical-align: middle;
  padding: 0.75rem 0.5rem;
  min-width: 60px;
  width: 60px;
}

.dialog-employee-schedule-cell:last-child {
  border-right: 0;
}

.dialog-employee-schedule-cell--weekend {
  background: #f2f2f2;
  color: #8b8b8b;
}

.dialog-employee-schedule-cell-mark {
  display: inline-block;
  min-width: 0.75rem;
  line-height: 1;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  will-change: opacity, transform;
}

.dialog-employee-schedule-cell-mark--filled {
  opacity: 1;
  transform: scale(1);
}

.dialog-employee-schedule-cell-mark--green {
  color: #10b981;
}

.dialog-employee-schedule-cell-mark--red {
  color: #ef4444;
}

.dialog-employee-schedule-cell-mark--dark {
  color: #374151;
}

.dialog-employee-schedule-cell-mark--weekend {
  color: #8b8b8b;
}

.dialog-employee-schedule-cell--editable {
  cursor: pointer;
  transition: background-color 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.dialog-employee-schedule-cell--training-validation {
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.dialog-employee-schedule-cell--training-validation:hover .dialog-employee-schedule-cell-mark {
  transform: scale(1.08);
  transition: transform 0.2s ease;
}

.dialog-employee-schedule-cell--training-selected {
  background-color: rgba(0, 255, 61, 0.2);
}

.dialog-employee-schedule-cell--training-selected .dialog-employee-schedule-cell-mark--red {
  color: #dc2626;
  font-weight: 600;
}

@keyframes overlayFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes overlayFadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes dialogRevealIn {
  0% {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0px);
  }
}

@keyframes dialogRevealOut {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0px);
  }
  100% {
    opacity: 0;
    transform: scale(0.94) translateY(12px);
  }
}
.employee-single-schedule-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.15rem 0 1rem;
}

.employee-single-month-control,
.employee-single-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.employee-single-month-control:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.employee-single-month-control svg {
  font-size: 0.9rem;
}

.employee-single-month-label {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: inline-block;
  min-width: 80px;
  text-align: center;
}

.employee-single-month-label--changing {
  opacity: 0.2;
}

.employee-single-month-label--next {
  transform: translateX(-6px);
}

.employee-single-month-label--previous {
  transform: translateX(6px);
}

.employee-single-month-loading-dots {
  display: inline-flex;
  gap: 3px;
}

.employee-single-month-loading-dots span {
  animation: employeeSingleLoadingDot 1.4s ease-in-out infinite;
  opacity: 0.8;
  font-size: 0.9rem;
  font-weight: 600;
}

.employee-single-month-loading-dots span:nth-child(1) {
  animation-delay: 0s;
}

.employee-single-month-loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.employee-single-month-loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.employee-single-expand {
  margin-left: auto;
  font-size: 1rem;
}

.employee-single-today-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.4rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.employee-single-today-button--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.employee-single-today-button--hidden {
  opacity: 0 !important;
  transform: translateY(-4px) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.employee-single-today-button:hover:not(:disabled) {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

.employee-single-today-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.employee-single-schedule-table {
  border: 0;
  overflow-x: auto;
  background: #ffffff;
  scrollbar-width: none;
  -ms-overflow-style: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
  cursor: grab;
}

.employee-single-schedule-table:active {
  cursor: grabbing;
}

.employee-single-schedule-table--changing {
  opacity: 0.4;
  filter: blur(1px);
  position: relative;
}

.employee-single-schedule-loader {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 1000;
  pointer-events: none;
}

.employee-single-schedule-spinner {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.employee-single-schedule-spinner-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: employeeSingleSpinnerBounce 1.4s ease-in-out infinite;
}

.employee-single-schedule-spinner-dot:nth-child(1) {
  animation-delay: 0s;
}

.employee-single-schedule-spinner-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.employee-single-schedule-spinner-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.employee-single-schedule-table::-webkit-scrollbar {
  display: none;
}

.employee-single-schedule-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  margin-top: 1rem;
  height: 3rem;
  color: #000000;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    margin-top 0.28s ease;
  pointer-events: none;
}

.employee-single-schedule-scroll-hint--training {
  justify-content: flex-end;
  align-items: center;
  height: 3rem;
  padding-left: 0;
}

.employee-single-schedule-scroll-hint--visible {
  opacity: 1;
  transform: translateX(0);
}

.employee-single-schedule-scroll-hint--left {
  justify-content: flex-start;
}

.employee-single-schedule-scroll-hint-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
  will-change: opacity, transform;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.employee-single-schedule-scroll-hint-button--visible {
  opacity: 1;
  transform: translateX(0);
}

.employee-single-schedule-scroll-hint-button--hidden {
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
}

.employee-single-schedule-scroll-hint-button:disabled {
  cursor: default;
}

.employee-single-schedule-scroll-hint-icon {
  font-size: 1rem;
  transform-origin: center;
  animation: employeeSingleScrollHintPulse 1.6s ease-in-out infinite;
}

.employee-single-schedule-scroll-hint-icon--one {
  opacity: 0.25;
  animation-delay: 0s;
}

.employee-single-schedule-scroll-hint-icon--two {
  opacity: 0.55;
  animation-delay: 0.15s;
}

.employee-single-schedule-scroll-hint-icon--three {
  opacity: 0.9;
  animation-delay: 0.3s;
}

.employee-single-schedule-scroll-hint--left {
  justify-content: flex-start;
}

.employee-single-schedule-row {
  position: relative;
  display: grid;
  grid-template-columns: 150px repeat(20, minmax(0, 1fr));
  min-width: 920px;
}

.employee-single-schedule-row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 1);
  pointer-events: none;
  z-index: 5;
}

.employee-single-schedule-row--days {
  background: #ffffff;
}

.employee-single-schedule-row-label {
  position: sticky;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.25rem 0.45rem;
  border-right: 1px solid rgba(0, 0, 0, 1);
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.employee-single-schedule-day,
.employee-single-schedule-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.8rem;
  border-right: 1px solid rgba(0, 0, 0, 0.93);
  font-size: 0.72rem;
}

.employee-single-schedule-day:last-child,
.employee-single-schedule-cell:last-child {
  border-right: 0;
}

.employee-single-schedule-day {
  background: #ffffff;
  font-weight: 400;
  position: relative;
}

.employee-single-schedule-day--today {
  color: #000000;
  font-weight: 600;
}

.employee-single-schedule-day--today .employee-single-schedule-day-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid #000000;
  border-radius: 50%;
  margin: 0 auto;
}

.employee-single-schedule-day--weekend,
.employee-single-schedule-cell--weekend {
  background: #f2f2f2;
  color: #8b8b8b;
}

.employee-single-schedule-cell-mark--weekend {
  color: #8b8b8b;
}

.employee-single-schedule-row--days .employee-single-schedule-row-label {
  z-index: 4;
}

.employee-single-schedule-cell-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
  will-change: opacity, transform;
}

.employee-single-schedule-cell-mark--filled {
  opacity: 1;
  transform: scale(1);
}

.employee-single-schedule-cell-mark--green {
  color: #00b85c;
}

.employee-single-schedule-cell-mark--red {
  color: #ff5c4d;
}

.employee-single-schedule-cell-mark--dark {
  color: #000000;
}

.employee-single-schedule-summary {
  margin-top: 0.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.employee-single-schedule-summary-content {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  font-size: 0.75rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.employee-single-schedule-summary-content p {
  margin: 0;
}

.employee-single-schedule-summary-spacer {
  height: 0.45rem;
}

.employee-single-schedule-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

@media (max-width: 720px) {
  .employee-single-schedule-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .employee-single-schedule-actions {
    align-items: flex-start;
  }
}

@media (max-width: 1100px) {
  .employee-single-schedule-scroll-hint {
    display: flex;
  }

  .employee-single-schedule-scroll-hint--training {
    align-items: center;
    flex-wrap: nowrap;
    height: 3rem;
    gap: 0.5rem;
  }

  .employee-single-schedule-scroll-hint--training .employee-single-schedule-validation-hint {
    right: 3rem;
    max-width: calc(100% - 3rem);
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
  }

  .employee-single-schedule-scroll-hint--training .employee-single-schedule-scroll-hint-button {
    margin-left: auto;
    flex: 0 0 auto;
  }
}

@keyframes employeeSingleScrollHintPulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: var(--scroll-hint-opacity, 1);
  }

  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

@keyframes employeeSingleLoadingDot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }

  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

@keyframes employeeSingleSpinnerBounce {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  30% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/* Styles for editable mode */
.employee-single-schedule-cell--editable {
  cursor: pointer;
  transition: background-color 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.employee-single-schedule-cell--editable:hover .employee-single-schedule-cell-mark {
  transform: scale(1.08);
  transition: transform 0.2s ease;
}

.employee-single-panel--training {
  transition: all 0.3s ease;
}

.employee-single-panel--training .employee-single-schedule-cell--training-validation {
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.employee-single-panel--training .employee-single-schedule-cell--training-validation:hover .employee-single-schedule-cell-mark {
  transform: scale(1.08);
  transition: transform 0.2s ease;
}

.employee-single-panel--training .employee-single-schedule-cell--training-selected {
  background-color: rgba(0, 255, 61, 0.2);
}

.employee-single-panel--training .employee-single-schedule-cell--training-selected .employee-single-schedule-cell-mark--red {
  color: #dc2626;
  font-weight: 600;
}

.employee-single-schedule-validation-hint {
  position: absolute;
  left: 0;
  right: 3rem;
  top: 50%;
  max-width: calc(100% - 3rem);
  margin: 0;
  padding: 0;
  border-left: 0;
  background: transparent;
  color: #1f2937;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: normal;
  overflow: hidden;
  text-overflow: clip;
  transform: translate3d(-100%, -50%, 0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  pointer-events: none;
}

.employee-single-schedule-validation-hint--visible {
  transform: translate3d(0, -50%, 0);
}

.employee-single-schedule-validation-hint--hidden {
  transform: translate3d(-100%, -50%, 0);
}

.employee-single-schedule-validation-hint strong {
  color: #dc2626;
  font-weight: 600;
}

.employee-single-inline-action--active {
  background-color: #10b981;
  color: white;
}

.employee-single-inline-action--active:hover {
  background-color: #059669;
}

.employee-single-inline-action--cancel {
  color: #ef4444;
}

.employee-single-inline-action--confirm {
  color: #10b981;
}

.employee-single-inline-action-text {
  transition: opacity 0.2s ease;
  display: inline-block;
  text-decoration: underline;
  position: relative;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.employee-single-inline-action-text--transitioning {
  opacity: 0;
}

/* Animación de barrido (wipe) */
@keyframes wipeIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes wipeOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.employee-single-inline-action-text--typing {
  animation: wipeIn 0.4s ease-out forwards;
}

.employee-single-inline-action--transitioning {
  position: relative;
  overflow: hidden;
}

/* Eliminamos el spinner circular */

/* Estados del panel sin borde azul */
.employee-single-panel--editable {
  /* Sin borde azul ni sombra */
  transition: all 0.3s ease;
}

.employee-single-panel--transitioning {
  pointer-events: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.employee-single-panel--editable .employee-single-schedule-cell--editable:hover .employee-single-schedule-cell-mark {
  transform: scale(1.15);
  filter: brightness(1.1);
}
.employee-single-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  color: #000000;
}

.employee-single-shell {
  border: 1px solid #000000;
  background: #ffffff;
}

.employee-single-back {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border: 0;
  border-bottom: 1px solid #000000;
  border-radius: 0px;
  background: transparent;
  color: inherit;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
}

.employee-single-back svg {
  font-size: 1.2rem;
}

.employee-single-grid {
  display: grid;
  grid-template-columns: minmax(300px, 31%) minmax(0, 1fr);
  grid-template-areas:
    'profile schedule'
    'materials feedback';
}

.employee-single-panel {
  position: relative;
  min-width: 0;
  padding: 1rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.employee-single-panel-profile {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
  grid-area: profile;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

.employee-single-panel-schedule {
  -ms-grid-row: 1;
  -ms-grid-column: 2;
  grid-area: schedule;
  border-bottom: 1px solid #000000;
}

.employee-single-panel-materials {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
  grid-area: materials;
  border-right: 1px solid #000000;
  min-height: 210px;
}

.employee-single-panel-feedback {
  -ms-grid-row: 2;
  -ms-grid-column: 2;
  grid-area: feedback;
  min-height: 210px;
}

@media (max-width: 1100px) {
  .employee-single-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'profile'
      'schedule'
      'materials'
      'feedback';
  }

  .employee-single-panel-profile,
  .employee-single-panel-materials {
    border-right: 0;
  }

  .employee-single-panel-profile,
  .employee-single-panel-schedule,
  .employee-single-panel-materials {
    border-bottom: 1px solid #000000;
  }
  .employee-single-panel-profile {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .employee-single-panel-schedule {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
  }
  .employee-single-panel-materials {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .employee-single-panel-feedback {
    -ms-grid-row: 4;
    -ms-grid-column: 1;
  }
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgb(0, 0, 0);
}

.calendar-header__year-wrap {
  display: inline-grid;
  grid-template-areas: 'stack';
  align-items: center;
  height: 1.4rem;
  min-height: 1.4rem;
  min-width: 0;
  position: relative;
}

.calendar-header__year-wrap--month-view {
  min-width: 0;
}

.calendar-header__year {
  display: inline-flex;
  align-items: center;
  height: 1.4rem;
  margin: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #000000;
  overflow: hidden;
  line-height: 1;
}

.calendar-header__year-value {
  display: inline-block;
  line-height: 1;
  will-change: transform, opacity;
}

.calendar-header__year-value--animate.calendar-header__year-value--from-left {
  animation: calendarHeaderYearFromLeft 680ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.calendar-header__year-value--animate.calendar-header__year-value--from-right {
  animation: calendarHeaderYearFromRight 680ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.calendar-header__year-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  cursor: pointer;
  transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1), transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-header__year-control--hidden {
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
}

.calendar-header__year-control:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}

.calendar-header__year-control svg {
  font-size: 1rem;
}

.calendar-header__today-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.4rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1), transform 0.26s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.calendar-header__today-button:not(:disabled) {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.calendar-header__today-button:disabled,
.calendar-header__today-button--disabled {
  opacity: 0 !important;
  transform: translateY(-4px) !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.calendar-header__today-button--month-hidden {
  opacity: 0;
  transform: translateY(-3px);
  pointer-events: none;
  visibility: hidden;
}

.calendar-header__year-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1), transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.calendar-header__year-controls--month-view {
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
}

.calendar-header__back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  height: 1.4rem;
  border-radius: 0;
  background: transparent;
  color: #000000;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1), transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  line-height: 1;
}

.calendar-header__back-button-label {
  display: inline-block;
  opacity: 0;
  transform: translateX(-4px);
  line-height: 1;
  white-space: nowrap;
  transition: max-width 0.26s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.26s cubic-bezier(0.4, 0, 0.2, 1), transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

.calendar-header__back-button-label--visible {
  opacity: 1;
  transform: translateX(0);
}

.calendar-header__back-button--hidden {
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
}

.calendar-header__back-button--visible {
  opacity: 1;
  transform: translateX(0);
}

.calendar-header__today-button:hover:not(:disabled) {
  background: #000000;
  color: #ffffff;
  transform: translateY(-1px);
}

.calendar-header__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.35rem;
}

.calendar-header__actions .employee-single-inline-action-text {
  text-align: center !important;
}

.calendar-header__actions .employee-single-inline-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.calendar-header__actions .employee-single-inline-action--strong {
  font-size: 0.92rem !important;
}

.calendar-header__actions {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.calendar-header__actions--entering {
  opacity: 0;
  transform: translateX(20px);
  animation: calendarHeaderActionsEnter 0.4s ease forwards;
}

.calendar-header__actions--exiting {
  opacity: 1;
  transform: translateX(0);
  animation: calendarHeaderActionsExit 0.3s ease forwards;
}

@keyframes calendarHeaderActionsEnter {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes calendarHeaderActionsExit {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(20px);
  }
}

.calendar-header__action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  transition: opacity 0.2s ease;
}

.calendar-header__action-button {
  align-self: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
  transition: opacity 0.2s ease;
}

.calendar-header__action-button--cancel {
  color: #ef4444;
}

.calendar-header__action-button--confirm {
  color: #10b981;
}

.calendar-header__action-button--transitioning {
  position: relative;
  overflow: hidden;
}

@media (max-width: 720px) {
  .calendar-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-header__year-wrap {
    flex-wrap: wrap;
  }

  .calendar-header__actions {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

@keyframes calendarHeaderYearFromLeft {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes calendarHeaderYearFromRight {
  from {
    opacity: 0;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.calendar-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.1rem 1rem;
  padding: 0.5rem 1rem;
  border-top: 1px solid rgb(0, 0, 0);
}

.calendar-legend__item {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #000000;
}

.calendar-legend__code {
  font-size: 0.72rem;
  font-weight: 600;
}

.calendar-legend__description {
  min-width: 0;
  font-size: 0.7rem;
  font-weight: 300;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.calendar-table-shell {
  width: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  --calendar-week-col-width: 50px;
}

.calendar-table-shell--animate {
  will-change: transform, opacity;
}

.calendar-table-shell--year-transitioning {
  pointer-events: none;
}

.calendar-table-shell--from-left.calendar-table-shell--animate {
  animation: calendarTableShellInFromLeft 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.calendar-table-shell--from-right.calendar-table-shell--animate {
  animation: calendarTableShellInFromRight 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.calendar-table-shell::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 32px;
  height: 1px;
  background: #000000;
  pointer-events: none;
  z-index: 4;
}

.calendar-table__loading-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.88));
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-table__loading-spinner {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.calendar-table__loading-dot {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: calendarTableLoadingBounce 1.4s ease-in-out infinite;
}

.calendar-table__loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.calendar-table__loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.calendar-table__loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.calendar-table__fixed-column {
  width: 180px;
  min-width: 180px;
  max-width: 180px;
  background: #ffffff;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.calendar-table__fixed-group {
  display: flex;
  flex-direction: column;
}

.calendar-table__scroll-column {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.calendar-table__scroll-column:active {
  cursor: grabbing;
}

.calendar-table__scroll-column::-webkit-scrollbar {
  display: none;
}

.calendar-table__scroll-inner {
  width: -moz-max-content;
  width: max-content;
  min-width: 100%;
  overflow-y: hidden;
}

.calendar-table__months-row,
.calendar-table__row {
  display: grid;
  grid-template-columns: var(--calendar-week-columns);
  width: -moz-max-content;
  width: max-content;
}

.calendar-table__months-row--weekday-view {
  width: -moz-max-content;
  width: max-content;
}

.calendar-table__weeks-row {
  display: grid;
  grid-template-columns: var(--calendar-week-columns);
  width: -moz-max-content;
  width: max-content;
  min-height: 32px;
  height: 32px;
  box-sizing: border-box;
}

.calendar-table__corner {
  min-height: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-table__month-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-left: 1px solid #000000;
  box-sizing: border-box;
}

.calendar-table__month-cell:first-child {
  border-left: 1px solid #000000;
}

.calendar-table__month-cell:last-child {
  border-right: 1px solid #000000;
}

.calendar-table__month-cell--weekday {
  cursor: default;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: #ffffff;
}

.calendar-table__month-cell--weekday:hover {
  background: #ffffff;
}

.calendar-table__week-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  height: 32px;
  line-height: 1;
  font-size: 0.7rem;
  border-left: 1px solid #000000;
  box-sizing: border-box;
}

.calendar-table__weeks-label {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 32px;
  height: 32px;
  line-height: 1;
  padding-right: 0.5rem;
  box-sizing: border-box;
  text-align: right;
  font-size: 0.7rem;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 3;
}

.calendar-table__week-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #000000;
  border-radius: 999px;
  font-weight: 600;
}

.calendar-table__body {
  display: flex;
  flex-direction: column;
}

.calendar-table__group {
  display: block;
  width: 100%;
}

.calendar-table__group-spacer {
  min-height: 32px;
  background: rgba(0, 0, 0, 0);
  width: 100%;
}

.calendar-table__group-divider {
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: #000000;
  pointer-events: none;
  z-index: 4;
}

.calendar-table__row-divider {
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: #000000;
  pointer-events: none;
  z-index: 4;
}

.calendar-table__group-header-spacer {
  min-height: 32px;
  height: 32px;
  width: 100%;
}

.calendar-table__group-header-overlay {
  position: absolute;
  left: 1rem;
  right: 1rem;
  height: 32px;
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  box-sizing: border-box;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.25);
  color: #000000;
  pointer-events: none;
  z-index: 3;
}

.calendar-table__row-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 32px;
  height: 32px;
  padding-left: 0.5rem;
  box-sizing: border-box;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.calendar-table__cell {
  width: 100%;
  min-height: 32px;
  height: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-left: 1px solid #000000;
  transition: background-color 0.2s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.calendar-table__cell--editable {
  cursor: pointer;
}

.calendar-table__cell--training-selected {
  background: rgba(0, 255, 61, 0.2);
}

.calendar-table__row {
  box-sizing: border-box;
}

@keyframes calendarTableShellInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes calendarTableLoadingBounce {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: scale(0.8);
  }

  30% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes calendarTableShellInFromRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.calendar-table__cell-value {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calendar-table__cell-value--green {
  color: #22c55e;
}

.calendar-table__cell-value--red {
  color: #ef4444;
}

.calendar-table__cell-value--dark {
  color: #111827;
}

@media (max-width: 720px) {
  .calendar-table-shell {
    --calendar-week-col-width: 26px;
  }

  .calendar-table__fixed-column {
    flex-basis: 150px;
    width: 150px;
    min-width: 150px;
    max-width: 150px;
  }

  .calendar-table__scroll-inner {
    min-width: 100%;
  }

  .calendar-table__row {
    display: grid;
    grid-template-columns: var(--calendar-week-columns);
  }
}

.calendar-table__cell--navigable {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.calendar-table__cell--navigable:hover {
  background: rgba(0, 0, 0, 0.05);
}
.calendar-tabs-nav {
  position: relative;
  display: flex;
  gap: 1.6rem;
  margin-left: 1rem;
  margin-right: 1rem;
  background-color: #ffffff;
}

.calendar-tabs-nav__indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  background-color: #000000;
  opacity: 0;
  transform: translateX(0);
  transform-origin: left center;
  transition: transform 240ms cubic-bezier(0.2, 0, 0, 1), width 240ms cubic-bezier(0.2, 0, 0, 1), opacity 140ms ease;
  pointer-events: none;
  will-change: transform, width;
}

.calendar-tab-link {
  position: relative;
  z-index: 1;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
  outline: none;
}

.calendar-tab-link:hover {
  color: #000000;
}

.calendar-tab-link--active {
  color: #000000;
}

.calendar-tab-link:focus-visible {
  color: #000000;
}
.calendar-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.calendar-page-header {
  margin-bottom: 2rem;
}

.calendar-page-title {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.calendar-page-content {
  background-color: #ffffff;
  border-radius: 0px;
  border: 1px solid rgb(0, 0, 0);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calendar-page-content--empty {
  border: none;
  background-color: transparent;
}

/* Empty state */
.calendar-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem;
}

.calendar-empty-state__text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.35);
  text-align: center;
  margin: 0;
}

.calendar-tabs-nav-row {
  display: flex;
  align-items: center;
  padding-right: 1rem;
}

.calendar-tabs-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  color: #000000;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  pointer-events: none;
  flex-shrink: 0;
  margin-left: auto;
}

.calendar-tabs-scroll-hint--visible {
  opacity: 1;
  transform: translateX(0);
}

.calendar-tabs-scroll-hint--dormant {
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

.calendar-tabs-scroll-hint-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.1rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.calendar-tabs-scroll-hint-button--visible {
  opacity: 1;
  transform: translateX(0);
}

.calendar-tabs-scroll-hint-button--hidden {
  opacity: 0;
  transform: translateX(12px);
  pointer-events: none;
}

.calendar-tabs-scroll-hint-button:disabled {
  cursor: default;
}

.calendar-tabs-scroll-hint-icon {
  font-size: 1rem;
  transform-origin: center;
  animation: calendarScrollHintPulse 1.6s ease-in-out infinite;
}

.calendar-tabs-scroll-hint-icon--one {
  opacity: 0.25;
  animation-delay: 0s;
}

.calendar-tabs-scroll-hint-icon--two {
  opacity: 0.55;
  animation-delay: 0.15s;
}

.calendar-tabs-scroll-hint-icon--three {
  opacity: 0.9;
  animation-delay: 0.3s;
}

@keyframes calendarScrollHintPulse {
  0%, 100% {
    transform: translateX(0);
    opacity: var(--scroll-hint-opacity, 1);
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

.calendar-table-wrapper {
  position: relative;
}

.calendar-drag-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.calendar-drag-hint--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.calendar-drag-hint--fading {
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}


@media (max-width: 720px) {
  .calendar-page-content {
    padding: 1rem;
  }
}
.library-card {
  min-height: 155px;
  max-width: 175px;
  padding: 0.85rem 0.75rem 0.7rem;
  border: 1px solid rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  background: white;
  opacity: 0;
  transform: translateX(-20px);
}

.library-grid--animate .library-card {
  animation: libraryCardSlideIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--card-index, 0) * 50ms);
}

@keyframes libraryCardSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.library-card--add {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.library-card--add:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

.library-card__add-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.library-card__add-icon {
  font-size: 2rem;
  font-weight: 300;
  color: #000000;
}

.library-card__add-text {
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #000000;
}

.library-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.library-card__number,
.library-card__title,
.library-card__subtitle {
  margin: 0;
  text-transform: uppercase;
}

.library-card__number {
  font-size: 1.3rem;
  line-height: 1;
}

.library-card__title {
  font-size: 0.68rem;
  line-height: 1.1;
}

.library-card__subtitle {
  margin-top: 0.65rem;
  font-size: 0.58rem;
  line-height: 1.15;
  color: #666;
}

.library-card__actions {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.3rem;
  margin-top: auto;
}

.library-card__actions-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.library-card__actions-row--icons {
  flex-direction: row;
  gap: 0.35rem;
}

.library-card__action {
  align-self: flex-end;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.library-card__action--icon {
  padding: 0.25rem;
  border-radius: 2px;
}

.library-card__action--icon:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.library-card__action--delete {
  color: #000000;
  transition: opacity 0.2s ease, transform 0.15s ease;
  align-self: flex-end;
}

.library-card__action--delete:not(.library-card__action--icon) {
  text-decoration: underline;
}

.library-card__action--delete:hover {
  opacity: 1;
}

.library-card__action--edit {
  color: #000000;
  transition: opacity 0.2s ease, transform 0.15s ease;
  align-self: flex-end;
}

.library-card__action--edit:not(.library-card__action--icon) {
  text-decoration: underline;
}

.library-card__action--edit:hover {
  opacity: 1;
}

/* Grid layouts for different sections */
.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 175px);
  -moz-column-gap: 0.45rem;
       column-gap: 0.45rem;
  row-gap: 0.45rem;
  justify-content: start;
}

.library-grid:has(.library-section-empty) {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1100px) {
  .library-grid--specialist,
  .library-grid--trainee {
    grid-template-columns: repeat(auto-fit, 175px);
  }
  
  .library-grid--my-content {
    grid-template-columns: repeat(auto-fit, 175px);
  }
}

@media (max-width: 720px) {
  .library-grid--specialist,
  .library-grid--trainee,
  .library-grid--my-content {
    grid-template-columns: 1fr;
  }
}
.library-card-skeleton {
  min-height: 155px;
  max-width: 175px;
  padding: 0.85rem 0.75rem 0.7rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  background: white;
  opacity: 0.8;
}

.library-card-skeleton__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.library-card-skeleton__number {
  width: 60%;
  height: 1.3rem;
  background: #e5e7eb;
  border-radius: 2px;
}

.library-card-skeleton__title {
  width: 90%;
  height: 0.68rem;
  background: #e5e7eb;
  border-radius: 2px;
  margin-top: 0.25rem;
}

.library-card-skeleton__actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: auto;
  align-items: flex-end;
}

.library-card-skeleton__action {
  width: 60px;
  height: 0.78rem;
  background: #e5e7eb;
  border-radius: 2px;
}

.shimmer {
  animation: shimmer 1.5s infinite;
  background: linear-gradient(
    90deg,
    #e5e7eb 0%,
    #f3f4f6 50%,
    #e5e7eb 100%
  );
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.preview-file-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  padding: 1.5rem;
}

.preview-file-modal-backdrop.open {
  animation: modalBackdropFadeIn 0.25s ease-out both;
}

.preview-file-modal-backdrop.closing {
  animation: modalBackdropFadeOut 0.2s ease-out both;
}

.preview-file-modal {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.15);
  width: min(1100px, 95vw);
  height: min(90vh, 800px);
  overflow: hidden;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  display: flex;
  flex-direction: column;
}

.preview-file-modal.open {
  animation: modalSlideIn 0.3s ease-out both;
}

.preview-file-modal.closing {
  animation: modalSlideOut 0.25s ease-out both;
}

.preview-file-modal.closing .preview-file-modal-content {
  animation: modalContentFadeOut 0.2s ease-out both;
}

.preview-file-modal.closing .preview-file-modal-title {
  animation: modalTitleSlideOut 0.2s ease-out both;
}

.preview-file-modal.closing .preview-file-modal-close {
  animation: modalCloseButtonOut 0.2s ease-out both;
}

.preview-file-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #000000;
  flex-shrink: 0;
}

.preview-file-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-12px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.preview-file-modal.open .preview-file-modal-title {
  animation: modalTitleSlideIn 0.3s ease-out 0.05s both;
}

.preview-file-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.2s ease;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
  flex-shrink: 0;
}

.preview-file-modal.open .preview-file-modal-close {
  animation: modalCloseButtonIn 0.3s ease-out 0.1s both;
}

.preview-file-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.preview-file-modal-content {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  opacity: 0;
  transform: translateY(8px);
  overflow: auto;
}

.preview-file-modal.open .preview-file-modal-content {
  animation: modalContentFadeIn 0.3s ease-out 0.1s both;
}

.preview-file-modal-image {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
}

.preview-file-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.preview-file-modal-video {
  max-width: 100%;
  max-height: 100%;
  background: #000000;
}

.preview-file-modal-unsupported {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  text-align: center;
  color: #374151;
}

.preview-file-modal-unsupported-icon {
  width: 2rem;
  height: 2rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 0.5rem;
}

.preview-file-modal-unsupported-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
}

.preview-file-modal-unsupported-text {
  max-width: 320px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.preview-file-modal-unsupported-action {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.8rem;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  letter-spacing: 0.04em;
}

.preview-file-modal-unsupported-action:hover {
  color: #374151;
}

@media (max-width: 720px) {
  .preview-file-modal {
    width: 100%;
    height: 100%;
    max-height: 100vh;
  }

  .preview-file-modal-backdrop {
    padding: 0;
  }
}
.upload-file-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  padding: 1.5rem;
}

.upload-file-modal-backdrop.open {
  animation: modalBackdropFadeIn 0.25s ease-out both;
}

.upload-file-modal-backdrop.closing {
  animation: modalBackdropFadeOut 0.2s ease-out both;
}

.upload-file-modal-backdrop--dragging {
  background-color: rgba(0, 0, 0, 0.65);
}

.upload-file-modal-backdrop--dragging .upload-file-modal {
  box-shadow:
    0 0 0 2px #ffffff,
    0 0 0 4px rgba(255, 255, 255, 0.2),
    0 8px 24px rgba(0, 0, 0, 0.3);
}

.upload-file-modal-backdrop--dragging .upload-file-modal-dropzone {
  background: #f3f4f6;
  border-color: #111827;
  border-style: solid;
}

.upload-file-modal {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.15);
  width: min(520px, 92vw);
  overflow: visible;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  display: flex;
  flex-direction: column;
}

.upload-file-modal.open {
  animation: modalSlideIn 0.3s ease-out both;
}

.upload-file-modal.closing {
  animation: modalSlideOut 0.25s ease-out both;
}

.upload-file-modal.closing .upload-file-modal-content {
  animation: modalContentFadeOut 0.2s ease-out both;
}

.upload-file-modal.closing .upload-file-modal-title {
  animation: modalTitleSlideOut 0.2s ease-out both;
}

.upload-file-modal.closing .upload-file-modal-close {
  animation: modalCloseButtonOut 0.2s ease-out both;
}

.upload-file-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #000000;
}

.upload-file-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(-12px);
}

.upload-file-modal.open .upload-file-modal-title {
  animation: modalTitleSlideIn 0.3s ease-out 0.05s both;
}

.upload-file-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.2s ease;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.upload-file-modal.open .upload-file-modal-close {
  animation: modalCloseButtonIn 0.3s ease-out 0.1s both;
}

.upload-file-modal-close:hover:not(:disabled) {
  background-color: rgba(0, 0, 0, 0.05);
}

.upload-file-modal-close:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.upload-file-modal-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(8px);
}

.upload-file-modal.open .upload-file-modal-content {
  animation: modalContentFadeIn 0.3s ease-out 0.1s both;
}

.upload-file-modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(8px);
}

.upload-file-modal.open .upload-file-modal-field {
  animation: modalContentFadeIn 0.3s ease-out 0.15s both;
}

.upload-file-modal-field:nth-of-type(2) {
  animation-delay: 0.2s;
}

.upload-file-modal-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.upload-file-modal-text-input {
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.upload-file-modal-text-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.1);
}

.upload-file-modal-text-input:disabled {
  background-color: #f9fafb;
  cursor: not-allowed;
}

/* Hidden native input */
.upload-file-modal-file-hidden {
  display: none;
}

/* Current file display (for edit mode) */
.upload-file-modal-current-file {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  margin-bottom: 0.5rem;
}

.upload-file-modal-current-file-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.upload-file-modal-current-file-name {
  font-size: 0.75rem;
  color: #000000;
  word-break: break-all;
}

/* Dropzone */
.upload-file-modal-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 1rem;
  border: 1.5px dashed #000000;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  outline: none;
}

.upload-file-modal-dropzone:hover,
.upload-file-modal-dropzone:focus-visible {
  background: #f9fafb;
}

.upload-file-modal-dropzone--dragging {
  background: #f3f4f6;
  border-color: #111827;
  border-style: solid;
}

.upload-file-modal-dropzone-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #000000;
  margin-bottom: 0.25rem;
}

.upload-file-modal-dropzone-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000000;
}

.upload-file-modal-dropzone-hint {
  font-size: 0.7rem;
  color: #4b5563;
  letter-spacing: 0.02em;
}

/* File preview */
.upload-file-modal-file-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid #000000;
  background: #ffffff;
}

.upload-file-modal-file-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: #000000;
  flex-shrink: 0;
}

.upload-file-modal-file-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.upload-file-modal-file-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-file-modal-file-size {
  font-size: 0.7rem;
  color: #6b7280;
}

.upload-file-modal-file-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #000000;
  background: #ffffff;
  color: #000000;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.upload-file-modal-file-remove:hover:not(:disabled) {
  background-color: #f3f4f6;
}

.upload-file-modal-file-remove:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.upload-file-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(8px);
}

.upload-file-modal.open .upload-file-modal-actions {
  animation: modalContentFadeIn 0.3s ease-out 0.25s both;
}

.upload-file-modal-submit-error {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #b91c1c;
  margin-right: auto;
}

.upload-file-modal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 28px;
  white-space: nowrap;
  line-height: 1;
}

.upload-file-modal-submit:hover:not(:disabled) {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.upload-file-modal-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .upload-file-modal {
    width: 96vw;
  }

  .upload-file-modal-header,
  .upload-file-modal-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.library-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.library-page-header {
  margin-bottom: 2rem;
}

.library-page-title {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.library-page-content {
  background-color: #ffffff;
  border-radius: 8px;
  min-height: 400px;
}

/* Empty state */
.library-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem;
}

.library-empty-state__text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.35);
  text-align: center;
  margin: 0;
}

.library-section {
  margin-bottom: 3rem;
}

.library-section:last-child {
  margin-bottom: 0;
}

.library-section-header {
  display: flex;
  align-items: baseline;
  gap: 0;
  margin-bottom: 2rem;
}

.library-section-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.library-section-add-button {
  padding-left: 1rem;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.9rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
}

.library-section-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 220px;
  min-width: 220px;
  padding: 1.5rem 1rem;
  text-align: center;
  color: #374151;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.library-section-empty--visible {
  opacity: 1;
  transform: translateY(0);
}

.library-section-empty-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
}

.library-section-empty-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000;
}

.library-section-empty-text {
  max-width: 320px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4b5563;
}

.library-page-placeholder {
  color: #000000;
  text-align: center;
  margin-top: 2rem;
}
.organization-card {
  width: 100%;
  border: 1px solid #000000;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.organization-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.5rem 0.75rem;
  border-bottom: 1px solid #000000;
}

.organization-card__role {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  color: #000000;
}

.organization-card__actions {
  display: inline-flex;
  align-items: start;
  gap: 1rem;
}

.organization-card__action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.9rem;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
}

.organization-card__action--cancel {
  color: #ef4444;
}

.organization-card__action--confirm {
  color: #10b981;
}

.organization-card__action--transitioning {
  position: relative;
  overflow: hidden;
}

.organization-card__action-text {
  transition: opacity 0.2s ease;
  display: inline-block;
  text-decoration: underline;
  position: relative;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.organization-card__action-text--transitioning {
  opacity: 0;
}

.organization-card__action-text--typing {
  animation: organizationCardWipeIn 0.4s ease-out forwards;
}

@keyframes organizationCardWipeIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes organizationCardWipeOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.organization-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem 0.75rem;
  text-align: center;
}

.organization-card__specialist {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.organization-card__specialist--editable {
  padding-right: 2.5rem;
  align-items: center;
  justify-content: center;
}

.organization-card__delete-specialist {
  position: absolute;
  right: 0;
  top: 22%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #ef4444;
  background: #ffffff;
  color: #ef4444;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  padding: 0;
  animation: deleteSpecialistFadeIn 0.4s ease both;
}

.organization-card__delete-specialist:hover:not(:disabled) {
  background: #ef4444;
  color: #ffffff;
}

.organization-card__delete-specialist:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.organization-card__delete-specialist.hiding {
  animation: deleteSpecialistFadeOut 0.4s ease forwards;
}

@keyframes deleteSpecialistFadeIn {
  0% {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes deleteSpecialistFadeOut {
  0% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
  }
}

.organization-card__empty {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0.4;
}

.organization-card__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  background: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #111827;
}

.organization-card__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.organization-card__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
}

.organization-card__avatar-placeholder span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.organization-card__avatar span {
  display: block;
}

.organization-card__name {
  margin: 0;
  font-size: 0.90rem;
  line-height: 1.15;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.7);
  flex: 1;
}

.organization-card__name--empty {
  opacity: 0.5;
}

.organization-card--add-region {
  min-height: 100%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
}

.organization-card__add-region-circle {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid #000000;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.organization-card__add-region-text {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #000000;
}
.organization-card-skeleton {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  opacity: 0.8;
}

.organization-card-skeleton--wide {
}

.organization-card-skeleton__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.5rem 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.organization-card-skeleton__role {
  height: 1rem;
  width: 120px;
  border-radius: 2px;
  background: #e5e7eb;
}

.organization-card-skeleton__actions {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.organization-card-skeleton__action {
  height: 0.9rem;
  width: 40px;
  border-radius: 2px;
  background: #e5e7eb;
}

.organization-card-skeleton__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  padding: 2rem 0.75rem;
  text-align: center;
  min-height: 120px;
}

.organization-card-skeleton__specialist {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.organization-card-skeleton__avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.organization-card-skeleton__name {
  height: 0.9rem;
  flex: 1;
  max-width: 180px;
  border-radius: 2px;
  background: #e5e7eb;
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -468px 0;
  }
  100% {
    background-position: 468px 0;
  }
}

.shimmer {
  animation: shimmer 1.5s ease-in-out infinite;
  background: linear-gradient(
    to right,
    #e5e7eb 0%,
    #f3f4f6 20%,
    #e5e7eb 40%,
    #e5e7eb 100%
  );
  background-size: 800px 100px;
}

/* Backdrop */
.add-specialist-dialog-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  opacity: 0;
}

.add-specialist-dialog-backdrop.open {
  animation: modalBackdropFadeIn 0.25s ease-out both;
}

.add-specialist-dialog-backdrop.closing {
  animation: modalBackdropFadeOut 0.2s ease-out both;
}

/* Dialog container */
.add-specialist-dialog {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.15);
  width: min(760px, 94vw);
  height: min(86vh, 900px);
  max-height: min(86vh, 900px);
  overflow: visible;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  display: flex;
  flex-direction: column;
}

.add-specialist-dialog.open {
  animation: modalSlideIn 0.3s ease-out both;
}

.add-specialist-dialog.closing {
  animation: modalSlideOut 0.25s ease-out both;
}

/* Header */
.add-specialist-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #000000;
}

.add-specialist-dialog-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(-12px);
}

.add-specialist-dialog.open .add-specialist-dialog-title {
  animation: modalTitleSlideIn 0.3s ease-out 0.05s both;
}

.add-specialist-dialog.closing .add-specialist-dialog-title {
  animation: modalTitleSlideOut 0.2s ease-out both;
}

.add-specialist-dialog-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  border-radius: 0;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.add-specialist-dialog.open .add-specialist-dialog-close {
  animation: modalCloseButtonIn 0.3s ease-out 0.1s both;
}

.add-specialist-dialog-close:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.add-specialist-dialog.closing .add-specialist-dialog-close {
  animation: modalCloseButtonOut 0.2s ease-out both;
}

/* Content */
.add-specialist-dialog-content {
  padding: 1.25rem 1.5rem 1.5rem;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  min-height: 0;
  opacity: 0;
  transform: translateY(8px);
}

.add-specialist-dialog.open .add-specialist-dialog-content {
  animation: modalContentFadeIn 0.3s ease-out 0.1s both;
}

.add-specialist-dialog.closing .add-specialist-dialog-content {
  animation: modalContentFadeOut 0.2s ease-out both;
}

/* Search block */
.add-specialist-dialog-search-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.add-specialist-dialog-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.add-specialist-dialog-search-input-wrap {
  position: relative;
}

.add-specialist-dialog-search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  pointer-events: none;
}

.add-specialist-dialog-search-input {
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  padding: 0.7rem 2.5rem 0.7rem 2.5rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.add-specialist-dialog-search-input:focus {
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.add-specialist-dialog-search-input::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.add-specialist-dialog-search-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.add-specialist-dialog-search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.add-specialist-dialog-search-clear:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.add-specialist-dialog-search-clear svg {
  width: 16px;
  height: 16px;
}

/* Search results */
.add-specialist-dialog-search-results {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.add-specialist-dialog-state-panel {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* States */
.add-specialist-dialog-state {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

/* Empty state */
.add-specialist-dialog-empty-state-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 0.25rem;
}

.add-specialist-dialog-empty-state-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.add-specialist-dialog-empty-state-text {
  max-width: 320px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #4b5563;
}

/* Loading state */
.add-specialist-dialog-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 100%;
  width: 100%;
  color: #000000;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.add-specialist-dialog-loading-spinner {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.add-specialist-dialog-loading-dot {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  animation: addSpecialistLoadingBounce 1.4s ease-in-out infinite both;
}

.add-specialist-dialog-loading-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.add-specialist-dialog-loading-dot:nth-child(2) {
  animation-delay: -0.16s;
}

.add-specialist-dialog-loading-dot:nth-child(3) {
  animation-delay: 0s;
}

.add-specialist-dialog-loading-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Results state */
.add-specialist-dialog-results-state {
  height: 100%;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.add-specialist-dialog-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  height: 100%;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.add-specialist-dialog-results-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.add-specialist-dialog-result {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  text-align: left;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.add-specialist-dialog-result:hover:not(:disabled) {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.add-specialist-dialog-result:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.add-specialist-dialog-result--animated {
  opacity: 0;
  transform: translateY(-12px) scale(0.985);
  animation: addSpecialistResultFadeIn 0.3s cubic-bezier(0.2, 0, 0, 1) both;
  animation-delay: calc(var(--menu-item-index, 0) * 75ms);
  will-change: transform, opacity;
}

.add-specialist-dialog-result-name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.add-specialist-dialog-result-meta {
  font-size: 0.72rem;
  color: #374151;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Selected users chips */
.add-specialist-dialog-selected-users {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.add-specialist-dialog-selected-users-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.add-specialist-dialog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  min-height: 3rem;
}

.add-specialist-dialog-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0rem 0.7rem 0rem 0.7rem;
  background: #000000;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 0;
  animation: chipFadeIn 0.2s ease-out;
}

.add-specialist-dialog-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  border: none;
  background: rgba(255, 255, 255, 0);
  color: #ffffff;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.15s ease;
}

.add-specialist-dialog-chip-remove:hover {
  background: rgba(255, 255, 255, 0.3);
}

.add-specialist-dialog-chip-remove svg {
  width: 14px;
  height: 14px;
}

/* Actions */
.add-specialist-dialog-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

.add-specialist-dialog-submit {
  padding: 0.7rem 1.5rem;
  background: #000000;
  color: #ffffff;
  border: 1px solid #000000;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0;
}

.add-specialist-dialog-submit:hover:not(:disabled) {
  background: #1f1f1f;
}

.add-specialist-dialog-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Loading more */
.add-specialist-dialog-results-loading-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 0;
}

.add-specialist-dialog-results-loading-spinner {
  display: flex;
  gap: 4px;
  padding: 8px 12px;
  background: #ffffff;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.add-specialist-dialog-results-loading-dot {
  width: 6px;
  height: 6px;
  background: #000000;
  border-radius: 50%;
  animation: addSpecialistLoadingBounce 1.4s ease-in-out infinite both;
}

.add-specialist-dialog-results-loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.add-specialist-dialog-results-loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.add-specialist-dialog-results-loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

/* Animations */
@keyframes addSpecialistLoadingBounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes addSpecialistResultFadeIn {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes chipFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.add-new-region-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.add-new-region-modal-backdrop.open {
  animation: modalBackdropFadeIn 0.25s ease-out both;
}

.add-new-region-modal-backdrop.closing {
  animation: modalBackdropFadeOut 0.2s ease-out both;
}

.add-new-region-modal {
  background: #ffffff;
  border: 2px solid #000000;
  border-radius: 0;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.15);
  width: min(480px, 90vw);
  overflow: visible;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  display: flex;
  flex-direction: column;
}

.add-new-region-modal.open {
  animation: modalSlideIn 0.3s ease-out both;
}

.add-new-region-modal.closing {
  animation: modalSlideOut 0.25s ease-out both;
}

.add-new-region-modal.closing .add-new-region-modal-content {
  animation: modalContentFadeOut 0.2s ease-out both;
}

.add-new-region-modal.closing .add-new-region-modal-title {
  animation: modalTitleSlideOut 0.2s ease-out both;
}

.add-new-region-modal.closing .add-new-region-modal-close {
  animation: modalCloseButtonOut 0.2s ease-out both;
}

.add-new-region-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #000000;
}

.add-new-region-modal-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateX(-12px);
}

.add-new-region-modal.open .add-new-region-modal-title {
  animation: modalTitleSlideIn 0.3s ease-out 0.05s both;
}

.add-new-region-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: #000000;
  cursor: pointer;
  transition: background-color 0.2s ease;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
}

.add-new-region-modal.open .add-new-region-modal-close {
  animation: modalCloseButtonIn 0.3s ease-out 0.1s both;
}

.add-new-region-modal-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(8px);
}

.add-new-region-modal.open .add-new-region-modal-content {
  animation: modalContentFadeIn 0.3s ease-out 0.1s both;
}

.add-new-region-modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(8px);
}

.add-new-region-modal.open .add-new-region-modal-field {
  animation: modalContentFadeIn 0.3s ease-out 0.15s both;
}

.add-new-region-modal-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000000;
}

.add-new-region-modal-text-input {
  width: 100%;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.875rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.add-new-region-modal-text-input:focus {
  border-color: #111827;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.1);
}

.add-new-region-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(8px);
}

.add-new-region-modal.open .add-new-region-modal-actions {
  animation: modalContentFadeIn 0.3s ease-out 0.25s both;
}

.add-new-region-modal-submit-error {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #b91c1c;
  margin-right: auto;
}

.add-new-region-modal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 28px;
  white-space: nowrap;
  line-height: 1;
}

.add-new-region-modal-submit:hover:not(:disabled) {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.add-new-region-modal-submit:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

@media (max-width: 640px) {
  .add-new-region-modal {
    width: 96vw;
  }

  .add-new-region-modal-header,
  .add-new-region-modal-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
.organization-page {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.organization-page-header {
  margin-bottom: 2rem;
}

.organization-page-title {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0;
}

.organization-page-content {
  background-color: #ffffff;
  border-radius: 8px;
  min-height: 400px;
}

/* Empty state */

.organization-empty-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 2rem;
}

.organization-empty-state__text {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(0, 0, 0, 0.35);
  text-align: center;
  margin: 0;
}

/* Regions list */

.organization-regions-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.organization-region {
  opacity: 0;
  transform: translateY(14px) scale(0.99);
}

.organization-regions-list--animate .organization-region {
  animation: regionItemIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--region-index, 0) * 60ms);
}

@keyframes regionItemIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.organization-region__placeholder-text {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.4);
  padding: 1.5rem 1rem;
  margin: 0;
}

.organization-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1.2rem;
  align-items: stretch;
}

.organization-layout--fade-in {
  animation: layoutFadeIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

@keyframes layoutFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.organization-section {
  min-width: 0;
}

.organization-section--main {
  padding-right: 0.6rem;
}

.organization-section--side {
  padding-left: 0.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  max-height: calc(100vh - 140px);
  overflow: hidden;
}

.organization-section--side::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0.6rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 1);
}

.organization-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  margin-left: 1rem;
  border-bottom: 1px solid rgb(0, 0, 0, 100);
}

.organization-section__header--side {
  margin-bottom: 1.1rem;
}

/* Collapsible toggle card */

.organization-section__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1rem;
  margin-bottom: 0;
  border: 1px solid #000000;
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
  text-align: left;
  color: inherit;
}

.organization-section__toggle:hover {
  background-color: #fafafa;
}

.organization-section__toggle .organization-section__title {
  margin: 0;
}

.organization-section__toggle-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.organization-section__chevron {
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.organization-section__chevron--open {
  transform: rotate(180deg);
}

/* Collapsible body */

.organization-section__collapsible {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.28s ease;
  opacity: 0;
}

.organization-section__collapsible--open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.organization-section__collapsible > .organization-section__rows {
  min-height: 0;
  padding-top: 1.1rem;
}

.organization-section__title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.organization-section__title--editable {
  outline: none;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.02em;
  cursor: text;
  transition: background-color 0.2s ease;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  position: relative;
}

.organization-section__title-editable-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.organization-section__title-edit-icon {
  font-size: 1.2rem;
  color: #9ca3af;
  transition: color 0.2s ease;
  pointer-events: none;
  flex-shrink: 0;
}

.organization-section__title-editable-wrapper:focus-within .organization-section__title-edit-icon {
  color: #10b981;
}

.organization-section__action {
  padding: 0;
  border: 0;
  background: transparent;
  color: #000000;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
}

.organization-section__action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.organization-section__action--confirm {
  color: #10b981;
}

.organization-section__action--cancel {
  color: #ef4444;
}

.organization-section__action--delete {
  color: #ef4444;
}

.organization-section__action-text {
  transition: opacity 0.2s ease;
  display: inline-block;
  text-decoration: underline;
  position: relative;
  text-align: right;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
}

.organization-section__action-text--transitioning {
  opacity: 0;
}

.organization-section__action-text--typing {
  animation: organizationSectionWipeIn 0.4s ease-out forwards;
}

@keyframes organizationSectionWipeIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.organization-section__rows {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.organization-section__row {
  display: grid;
  gap: 1rem;
}

.organization-section__row--director-row {
  grid-template-columns: minmax(0, 1fr);
}

.organization-section__row--middle-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.organization-section__row--bottom-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.organization-section__side-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
  margin-left: 1rem;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.organization-section__side-content::-webkit-scrollbar {
  width: 6px;
}

.organization-section__side-content::-webkit-scrollbar-track {
  background: transparent;
}

.organization-section__side-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.organization-section__side-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.organization-section__side-row {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.organization-section__side-row .organization-card {
  min-height: 100%;
}

@media (max-width: 1100px) {
  .organization-layout {
    grid-template-columns: 1fr;
  }

  .organization-section--side {
    padding-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 1.2rem;
    max-height: none;
    overflow: visible;
  }

  .organization-section--side::before {
    display: none;
  }

  .organization-section__side-content {
    overflow-y: visible;
  }

  .organization-section__row--middle-row,
  .organization-section__row--bottom-row {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }
}

@media (max-width: 720px) {
  .organization-page-content {
    padding: 1rem;
  }

  .organization-section__row--middle-row,
  .organization-section__row--bottom-row {
    grid-template-columns: 1fr;
  }

  .organization-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .organization-section__title {
    font-size: 1rem;
  }
}
