/**
 * Breadcrumb Component Styles
 * Converted from Breadcrumb.module.sass
 */

.pr-breadcrumb {
  margin-bottom: 24px !important;
}

.pr-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.breadcrumbss {
  padding: 0;
  margin: 0;
  text-align: start;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: fit-content;
  list-style: none;
}

.pr-breadcrumb li {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(0, 0, 0, 0.48);
  text-align: center;
  position: relative;
}

.pr-breadcrumb li::after {
  content: '\203A';
  font-size: 22px;
  margin: 0 8px;
  color: rgba(0, 0, 0, 0.48);
}

.pr-breadcrumb li:last-child::after {
  display: none;
}

.pr-breadcrumb li:last-child a,
.pr-breadcrumb li:last-child span {
  color: black !important;
  font-weight: 700;
}

.pr-breadcrumb-link {
  text-transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: start;
  cursor: pointer;
  color: #9E9E9E !important;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pr-breadcrumb-link:hover {
  text-decoration: underline;
}

.pr-breadcrumb-current {
  color: black;
  font-weight: 700;
}

.pr-breadcrumb-home-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* Mobile dots - hidden by default */
.pr-breadcrumb-mobile-dots {
  display: none;
}

/* Full text - shown by default */
.pr-breadcrumb-full-text {
  display: inline;
}

/* Desktop only text for home */
.pr-breadcrumb-desktop-only {
  display: none;
}

/* Tooltip styling */
.pr-breadcrumb-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 1000;
  pointer-events: none;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
}

.pr-breadcrumb-tooltip::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.8);
}

/* Mobile tooltip popup (positioned by JS) */
.pr-breadcrumb-mobile-tooltip-popup {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pr-breadcrumb-mobile-tooltip-popup.show {
  opacity: 1;
}

.pr-breadcrumb-mobile-tooltip-popup::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.8);
}

/* Responsive - Mobile (600px and below) */
@media screen and (max-width: 600px) {
  .pr-breadcrumb {
    margin-bottom: 16px !important;
  }

  /* Hide full text on mobile for middle items (index 1) */
  .pr-breadcrumb li[data-index="1"] .pr-breadcrumb-full-text {
    display: none;
  }

  /* Show dots on mobile for middle items */
  .pr-breadcrumb li[data-index="1"] .pr-breadcrumb-mobile-dots {
    display: inline;
  }

  /* Special handling when there are only 2 items (home + current) */
  .pr-breadcrumb li[data-index="1"]:last-child .pr-breadcrumb-full-text {
    display: inline;
  }

  .pr-breadcrumb li[data-index="1"]:last-child .pr-breadcrumb-mobile-dots {
    display: none;
  }

  /* Show home icon only on mobile */
  .pr-breadcrumb-desktop-only {
    display: none;
  }
}

/* Desktop */
@media screen and (min-width: 601px) {
  /* Hide mobile dots on desktop */
  .pr-breadcrumb-mobile-dots {
    display: none !important;
  }

  /* Show full text on desktop */
  .pr-breadcrumb-full-text {
    display: inline !important;
  }
  
  /* Hide tooltip trigger behavior on desktop */
  .pr-breadcrumb-tooltip-trigger {
    pointer-events: auto;
  }
}

/* Tablet (960px and below) */
@media screen and (max-width: 960px) {
  .pr-breadcrumb {
    margin-bottom: 16px !important;
  }
}

/* Accessibility */
.pr-breadcrumb a:focus {
  outline: 2px solid #4A90E2;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Print styles */
@media print {
  .pr-breadcrumb {
    margin-bottom: 12px;
  }
  
  .pr-breadcrumb a {
    color: black !important;
    text-decoration: none !important;
  }
  
  .pr-breadcrumb li::after {
    content: ' > ';
    font-size: 14px;
  }
}
