/* Custom form styling for appearance-none select dropdowns */
select.appearance-none {
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%236b7280%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%226%209%2012%2015%2018%209%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 1rem auto;
  padding-right: 2.5rem;
}

/* Grouped select styling for permission tree */
select optgroup {
  font-weight: 600;
  font-style: normal;
  color: #6b7280;
}

select optgroup option {
  font-weight: 400;
  color: #111827;
  padding-left: 1rem;
}

.datepicker {
  width: -moz-min-content;
  width: min-content;
}

.datepicker:not(.active):not(.datepicker-inline) {
  display: none;
}

.datepicker-inline {
  display: inline-block !important;
  position: relative !important;
}

/* Override dropdown positioning for inline calendars */
.datepicker-dropdown.datepicker-inline {
  position: relative !important;
  padding: 0 !important;
}

.datepicker-dropdown {
  z-index: 20;
  padding-top: 4px;
}

.datepicker-dropdown.datepicker-orient-top {
  padding-top: 0;
  padding-bottom: 4px;
}

.datepicker-picker {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  background-color: hsl(0, 0%, 100%);
}

.datepicker-dropdown .datepicker-picker {
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1), 0 0 0 1px rgba(10, 10, 10, 0.1);
}

.datepicker-main {
  flex: auto;
  padding: 2px;
}

.datepicker-footer {
  box-shadow: inset 0 1px 1px rgba(10, 10, 10, 0.1);
  background-color: hsl(0, 0%, 96%);
}

.datepicker-footer .datepicker-controls {
  justify-content: space-between;
  padding: 0.5rem;
}

.datepicker-title {
  box-shadow: inset 0 -1px 1px rgba(10, 10, 10, 0.1);
  background-color: hsl(0, 0%, 96%);
  padding: 0.375rem 0.75rem;
  text-align: center;
  font-weight: 700;
}

.datepicker-controls {
  display: flex;
}

.datepicker-header .datepicker-controls {
  padding: 2px 2px 0;
}

.datepicker-controls .button {
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid gainsboro;
  border-radius: 4px;
  box-shadow: none;
  background-color: hsl(0, 0%, 100%);
  cursor: pointer;
  padding: calc(0.375em - 1px) 0.75em;
  height: 2.25em;
  vertical-align: top;
  text-align: center;
  line-height: 1.5;
  white-space: nowrap;
  color: hsl(0, 0%, 21%);
  font-size: 1rem;
}

.datepicker-controls .button:focus,
.datepicker-controls .button:active {
  outline: none;
}

.datepicker-controls .button:hover {
  border-color: #b8b8b8;
  color: hsl(0, 0%, 21%);
}

.datepicker-controls .button:focus {
  border-color: var(--color-custom-dark-green, #142313);
  color: hsl(0, 0%, 21%);
}

.datepicker-controls .button:focus:not(:active) {
  box-shadow: 0 0 0 0.125em rgba(20, 35, 19, 0.25);
}

.datepicker-controls .button:active {
  border-color: #474747;
  color: hsl(0, 0%, 21%);
}

.datepicker-controls .button[disabled] {
  cursor: not-allowed;
}

.datepicker-header .datepicker-controls .button {
  border-color: transparent;
  font-weight: bold;
}

.datepicker-header .datepicker-controls .button:hover {
  background-color: #f9f9f9;
}

.datepicker-header .datepicker-controls .button:active {
  background-color: #f2f2f2;
}

.datepicker-footer .datepicker-controls .button {
  flex: auto;
  margin: 0.5rem 0.375rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  min-height: 2.5rem;
  border: 1px solid #d1d5db;
  background-color: white;
  transition: all 0.15s ease;
}

.datepicker-footer .datepicker-controls .button:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.datepicker-footer .datepicker-controls .button:active {
  background-color: #f3f4f6;
}

.datepicker-controls .view-switch {
  flex: auto;
}

.datepicker-controls .prev-button,
.datepicker-controls .next-button {
  padding-right: 0.375rem;
  padding-left: 0.375rem;
  flex: 0 0 14.2857142857%;
}

.datepicker-controls .prev-button.disabled,
.datepicker-controls .next-button.disabled {
  visibility: hidden;
}

.datepicker-view,
.datepicker-grid {
  display: flex;
}

.datepicker-view {
  align-items: stretch;
  width: 15.75rem;
}

.datepicker-grid {
  flex-wrap: wrap;
  flex: auto;
}

.datepicker .days {
  display: flex;
  flex-direction: column;
  flex: auto;
}

.datepicker .days-of-week {
  display: flex;
}

.datepicker .week-numbers {
  display: flex;
  flex-direction: column;
  flex: 0 0 9.6774193548%;
}

.datepicker .weeks {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: auto;
}

.datepicker span {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: default;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.datepicker .dow {
  height: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.datepicker .week {
  flex: auto;
  color: #b8b8b8;
  font-size: 0.75rem;
}

.datepicker-cell,
.datepicker .days .dow {
  flex-basis: 14.2857142857%;
}

.datepicker-cell {
  height: 2.25rem;
}

.datepicker-cell:not(.day) {
  flex-basis: 25%;
  height: 4.5rem;
}

.datepicker-cell:not(.disabled):hover {
  background-color: #f9f9f9;
  cursor: pointer;
}

.datepicker-cell.focused:not(.selected) {
  background-color: #e9e9e9;
}

.datepicker-cell.selected,
.datepicker-cell.selected:hover {
  background-color: var(--color-custom-dark-green, #142313);
  color: #fff;
  font-weight: 600;
}

.datepicker-cell.disabled {
  color: gainsboro;
}

.datepicker-cell.prev:not(.disabled),
.datepicker-cell.next:not(.disabled) {
  color: hsl(0, 0%, 48%);
}

.datepicker-cell.prev.selected,
.datepicker-cell.next.selected {
  color: #e6e6e6;
}

.datepicker-cell.highlighted:not(.selected):not(.range):not(.today) {
  border-radius: 0;
  background-color: hsl(0, 0%, 96%);
}

.datepicker-cell.highlighted:not(.selected):not(.range):not(.today):not(.disabled):hover {
  background-color: #efefef;
}

.datepicker-cell.highlighted:not(.selected):not(.range):not(.today).focused {
  background-color: #e9e9e9;
}

.datepicker-cell.today:not(.selected) {
  background-color: var(--color-custom-green, #76A628);
}

.datepicker-cell.today:not(.selected):not(.disabled) {
  color: #fff;
}

.datepicker-cell.today.focused:not(.selected) {
  background-color: var(--color-custom-dark-green, #142313);
}

.datepicker-cell.range-end:not(.selected),
.datepicker-cell.range-start:not(.selected) {
  background-color: #b8b8b8;
  color: #fff;
}

.datepicker-cell.range-end.focused:not(.selected),
.datepicker-cell.range-start.focused:not(.selected) {
  background-color: #b3b3b3;
}

.datepicker-cell.range-start:not(.range-end) {
  border-radius: 4px 0 0 4px;
}

.datepicker-cell.range-end:not(.range-start) {
  border-radius: 0 4px 4px 0;
}

.datepicker-cell.range {
  border-radius: 0;
  background-color: gainsboro;
}

.datepicker-cell.range:not(.disabled):not(.focused):not(.today):hover {
  background-color: #d7d7d7;
}

.datepicker-cell.range.disabled {
  color: #c6c6c6;
}

.datepicker-cell.range.focused {
  background-color: #d1d1d1;
}

.datepicker-input.in-edit {
  border-color: var(--color-custom-dark-green, #142313);
}

.datepicker-input.in-edit:focus,
.datepicker-input.in-edit:active {
  box-shadow: 0 0 0.25em 0.25em rgba(20, 35, 19, 0.2);
}

.date-range-dropdown .calendars-wrapper {
  min-width: 580px; /* Adjust as needed to accommodate the new column */
}

.shortcuts-column {
  width: 150px; /* Adjust as needed */
}

.calendars-wrapper {
  width: calc(100% - 150px); /* Adjust based on shortcuts-column width */
}

.date-range-dropdown .datepicker {
  display: inline-block;
  width: 280px;
}
/*
 * Sidebar Styles - Single source of truth for sidebar visibility and state
 *
 * States:
 * - Default (desktop): Expanded
 * - .sidebar-collapsed: Collapsed (desktop manual or mobile default)
 * - .sidebar-overlay-open: Mobile expanded overlay
 *
 * Classes:
 * - .sidebar-expanded-only: Visible when expanded, hidden when collapsed
 * - .sidebar-collapsed-only: Hidden when expanded, visible when collapsed
 * - .typewriter-animating: Exception during collapse animation
 */

/* ==========================================================================
   Base Styles
   ========================================================================== */

#left-side {
  font-size: 0.875rem; /* text-sm = 14px */
}

@media (min-width: 1280px) {
  #left-side {
    font-size: 1rem; /* text-base = 16px at xl breakpoint */
  }
}

/* ==========================================================================
   Default State (Expanded)
   ========================================================================== */

#left-side .sidebar-expanded-only {
  display: flex;
}

#left-side .sidebar-collapsed-only {
  display: none;
}

/* ==========================================================================
   Collapsed State
   Applied by JS (.sidebar-collapsed) or pre-render (html.sidebar-should-collapse)
   ========================================================================== */

/* Width */
#left-side.sidebar-collapsed,
html.sidebar-should-collapse #left-side {
  width: 5rem !important;
}

/* Hide expanded content - HIGH SPECIFICITY to override typewriter rule */
#left-side.sidebar-collapsed .sidebar-expanded-only,
html.sidebar-should-collapse #left-side .sidebar-expanded-only {
  display: none !important;
}

/* Show collapsed content */
#left-side.sidebar-collapsed .sidebar-collapsed-only,
html.sidebar-should-collapse #left-side .sidebar-collapsed-only {
  display: flex !important;
}

/* Link padding adjustments */
#left-side.sidebar-collapsed nav ul li a,
html.sidebar-should-collapse #left-side nav ul li a {
  padding-left: 0.375rem !important;
  padding-right: 0 !important;
}

/* Logo swap: hide full logo, show logomark */
#left-side.sidebar-collapsed a[href="/"] > div > div:nth-child(2),
html.sidebar-should-collapse #left-side a[href="/"] > div > div:nth-child(2) {
  opacity: 0 !important;
  pointer-events: none !important;
}

#left-side.sidebar-collapsed a[href="/"] > div > div:nth-child(1),
html.sidebar-should-collapse #left-side a[href="/"] > div > div:nth-child(1) {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   Mobile Default (Always Collapsed)
   CSS forces collapsed state before JS loads
   ========================================================================== */

@media (max-width: 899px) {
  #left-side {
    width: 5rem !important;
  }

  #left-side .sidebar-expanded-only {
    display: none !important;
  }

  #left-side .sidebar-collapsed-only {
    display: flex !important;
  }

  #left-side nav ul li a {
    padding-left: 0.375rem !important;
    padding-right: 0 !important;
  }

  /* Logo swap: hide full logo, show logomark */
  #left-side a[href="/"] > div > div:nth-child(2) {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #left-side a[href="/"] > div > div:nth-child(1) {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* ==========================================================================
   Mobile Overlay (Expanded)
   When user opens sidebar on mobile, show expanded content
   ========================================================================== */

@media (max-width: 899px) {
  #left-side.sidebar-overlay-open {
    width: 20rem !important; /* w-80 = 320px */
    max-width: 85vw !important;
  }

  #left-side.sidebar-overlay-open .sidebar-expanded-only {
    display: flex !important;
  }

  #left-side.sidebar-overlay-open .sidebar-collapsed-only {
    display: none !important;
  }

  #left-side.sidebar-overlay-open nav ul li a {
    justify-content: flex-start !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Logo swap in overlay: Show full logo, hide logomark */
  #left-side.sidebar-overlay-open a[href="/"] > div > div:nth-child(1) {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  #left-side.sidebar-overlay-open a[href="/"] > div > div:nth-child(2) {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* ==========================================================================
   Typewriter Animation Exception
   During collapse animation, keep typewriter elements visible so text can
   animate out. Uses highest specificity to override collapsed state.
   ========================================================================== */

#left-side.sidebar-collapsed .sidebar-expanded-only.typewriter-animating {
  display: inline !important;
}
/* Sticky Headers for Animals List */

/* Group headers - highest z-index among animal headers, but below page header (z-20) and filter bar (z-10) */
.group-header {
  position: sticky;
  top: 0;
  z-index: 9;
  transition: box-shadow 0.2s ease-in-out;
}

/* Add shadow when group header is stuck */
.group-header.is-group-active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Species headers - middle z-index among animal headers */
.species-header {
  position: sticky;
  z-index: 8;
  transition: box-shadow 0.2s ease-in-out;
  /* top value will be set dynamically by JS */
}

/* Add shadow when species header is stuck */
.species-header.is-sticky-active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Table headers - lowest z-index among animal headers */
.table-header {
  position: sticky;
  z-index: 7;
  transition: box-shadow 0.2s ease-in-out;
  /* top value will be set dynamically by JS */
}

/* Add shadow when table header is stuck */
.table-header.is-sticky-active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Ensure proper background for headers to prevent content showing through */
.group-header {
  background-color: rgb(255, 255, 255);
}

.species-header {
  /* Already has bg-custom-yellow/50 from Tailwind */
  background-color: rgba(254, 243, 199, 0.95);
  backdrop-filter: blur(8px);
}

.table-header {
  /* Already has bg-gray-50 from Tailwind */
  background-color: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(8px);
}

/* Mobile: Disable sticky headers on small screens to save vertical space */
@media (max-width: 767px) {
  .group-header,
  .species-header,
  .table-header {
    position: relative;
    box-shadow: none;
  }
}

/* Ensure the species group section has proper positioning context */
.species-group-section {
  position: relative;
}

/* Smooth transitions for all sticky state changes */
.group-header,
.species-header,
.table-header {
  will-change: transform;
}

/* Prevent layout shift when headers become sticky */
.group-header,
.species-header {
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem; /* py-2 */
}

/* Ensure rounded corners don't interfere with sticky behavior */
.species-header {
  border-top-left-radius: 0.125rem;
  border-top-right-radius: 0.125rem;
}

/* When species header is sticky, adjust the rounded corners */
.species-header.is-sticky-active {
  border-radius: 0;
}

/* Add a subtle visual indicator that headers are "stuck" */
.group-header.is-group-active::after,
.species-header.is-sticky-active::after,
.table-header.is-sticky-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}
.tippy-box[data-theme~=light]{color:#26323d;box-shadow:0 0 20px 4px rgba(154,161,177,.15),0 4px 80px -8px rgba(36,40,47,.25),0 4px 4px -2px rgba(91,94,105,.15);background-color:#fff}.tippy-box[data-theme~=light][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff}.tippy-box[data-theme~=light][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff}.tippy-box[data-theme~=light]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light]>.tippy-svg-arrow{fill:#fff}
.tippy-box[data-theme~=light-border]{background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,8,16,.15);color:#333;box-shadow:0 4px 14px -2px rgba(0,8,16,.08)}.tippy-box[data-theme~=light-border]>.tippy-backdrop{background-color:#fff}.tippy-box[data-theme~=light-border]>.tippy-arrow:after,.tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after{content:"";position:absolute;z-index:-1}.tippy-box[data-theme~=light-border]>.tippy-arrow:after{border-color:transparent;border-style:solid}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:before{border-top-color:#fff}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-arrow:after{border-top-color:rgba(0,8,16,.2);border-width:7px 7px 0;top:17px;left:1px}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow>svg{top:16px}.tippy-box[data-theme~=light-border][data-placement^=top]>.tippy-svg-arrow:after{top:17px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#fff;bottom:16px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-arrow:after{border-bottom-color:rgba(0,8,16,.2);border-width:0 7px 7px;bottom:17px;left:1px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow>svg{bottom:16px}.tippy-box[data-theme~=light-border][data-placement^=bottom]>.tippy-svg-arrow:after{bottom:17px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:before{border-left-color:#fff}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-arrow:after{border-left-color:rgba(0,8,16,.2);border-width:7px 0 7px 7px;left:17px;top:1px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow>svg{left:11px}.tippy-box[data-theme~=light-border][data-placement^=left]>.tippy-svg-arrow:after{left:12px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:before{border-right-color:#fff;right:16px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-arrow:after{border-width:7px 7px 7px 0;right:17px;top:1px;border-right-color:rgba(0,8,16,.2)}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow>svg{right:11px}.tippy-box[data-theme~=light-border][data-placement^=right]>.tippy-svg-arrow:after{right:12px}.tippy-box[data-theme~=light-border]>.tippy-svg-arrow{fill:#fff}.tippy-box[data-theme~=light-border]>.tippy-svg-arrow:after{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCA2czEuNzk2LS4wMTMgNC42Ny0zLjYxNUM1Ljg1MS45IDYuOTMuMDA2IDggMGMxLjA3LS4wMDYgMi4xNDguODg3IDMuMzQzIDIuMzg1QzE0LjIzMyA2LjAwNSAxNiA2IDE2IDZIMHoiIGZpbGw9InJnYmEoMCwgOCwgMTYsIDAuMikiLz48L3N2Zz4=);background-size:16px 6px;width:16px;height:6px}
.tippy-box[data-theme~=material]{background-color:#505355;font-weight:600}.tippy-box[data-theme~=material][data-placement^=top]>.tippy-arrow:before{border-top-color:#505355}.tippy-box[data-theme~=material][data-placement^=bottom]>.tippy-arrow:before{border-bottom-color:#505355}.tippy-box[data-theme~=material][data-placement^=left]>.tippy-arrow:before{border-left-color:#505355}.tippy-box[data-theme~=material][data-placement^=right]>.tippy-arrow:before{border-right-color:#505355}.tippy-box[data-theme~=material]>.tippy-backdrop{background-color:#505355}.tippy-box[data-theme~=material]>.tippy-svg-arrow{fill:#505355}
.tippy-box[data-theme~=translucent]{background-color:rgba(0,0,0,.7)}.tippy-box[data-theme~=translucent]>.tippy-arrow{width:14px;height:14px}.tippy-box[data-theme~=translucent][data-placement^=top]>.tippy-arrow:before{border-width:7px 7px 0;border-top-color:rgba(0,0,0,.7)}.tippy-box[data-theme~=translucent][data-placement^=bottom]>.tippy-arrow:before{border-width:0 7px 7px;border-bottom-color:rgba(0,0,0,.7)}.tippy-box[data-theme~=translucent][data-placement^=left]>.tippy-arrow:before{border-width:7px 0 7px 7px;border-left-color:rgba(0,0,0,.7)}.tippy-box[data-theme~=translucent][data-placement^=right]>.tippy-arrow:before{border-width:7px 7px 7px 0;border-right-color:rgba(0,0,0,.7)}.tippy-box[data-theme~=translucent]>.tippy-backdrop{background-color:rgba(0,0,0,.7)}.tippy-box[data-theme~=translucent]>.tippy-svg-arrow{fill:rgba(0,0,0,.7)}
.tippy-box[data-animation=scale][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale][data-state=hidden]{transform:scale(.5);opacity:0}
.tippy-box[data-animation=scale-subtle][data-placement^=top]{transform-origin:bottom}.tippy-box[data-animation=scale-subtle][data-placement^=bottom]{transform-origin:top}.tippy-box[data-animation=scale-subtle][data-placement^=left]{transform-origin:right}.tippy-box[data-animation=scale-subtle][data-placement^=right]{transform-origin:left}.tippy-box[data-animation=scale-subtle][data-state=hidden]{transform:scale(.8);opacity:0}
.tippy-box[data-animation=shift-away-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=top]{transform:translateY(5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=bottom]{transform:translateY(-5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=left]{transform:translateX(5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=right]{transform:translateX(-5px)}

/* Custom card theme - clean white card with shadow */
.tippy-box[data-theme~=card] {
  background-color: #fff;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.08);
  max-width: 320px;
}
.tippy-box[data-theme~=card] .tippy-content {
  padding: 14px 16px;
}
.tippy-box[data-theme~=card][data-placement^=top] > .tippy-arrow:before {
  border-top-color: #fff;
}
.tippy-box[data-theme~=card][data-placement^=bottom] > .tippy-arrow:before {
  border-bottom-color: #fff;
}
.tippy-box[data-theme~=card][data-placement^=left] > .tippy-arrow:before {
  border-left-color: #fff;
}
.tippy-box[data-theme~=card][data-placement^=right] > .tippy-arrow:before {
  border-right-color: #fff;
}
.tippy-box[data-theme~=card] > .tippy-backdrop {
  background-color: #fff;
}
.tippy-box[data-theme~=card] > .tippy-svg-arrow {
  fill: #fff;
}
/* required LIB STYLES */
/* .Treant se automatski dodaje na svaki chart conatiner */
.Treant { position: relative; overflow: visible; padding: 0 !important; }
.Treant > .node,
.Treant > .pseudo { position: absolute; display: block; visibility: hidden; }
.Treant.Treant-loaded .node,
.Treant.Treant-loaded .pseudo { visibility: visible; }
.Treant > .pseudo { width: 0; height: 0; border: none; padding: 0; }
.Treant .collapse-switch { width: 3px; height: 3px; display: block; border: 1px solid black; position: absolute; top: 1px; right: 1px; cursor: pointer; }
.Treant .collapsed .collapse-switch { background-color: #868DEE; }
.Treant > .node img {	border: none; float: left; }
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
@import './tippy.css';
@import './datepicker.css';
