/* Dynamic Search Page Styles */

.search-page {
  min-height: 100vh;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.search-hero {
  background-color: #1b2142;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.search-title {
  font-family: var(--title-200-CAPS-font-family);
  font-weight: var(--title-200-CAPS-font-weight);
  font-size: var(--title-200-CAPS-font-size);
  color: #ffffff;
  text-align: center;
  letter-spacing: var(--title-200-CAPS-letter-spacing);
  line-height: var(--title-200-CAPS-line-height);
  font-style: var(--title-200-CAPS-font-style);
  margin: 0;
}

.search-form {
  display: flex;
  width: 647px;
  max-width: 90%;
  height: 56px;
  align-items: center;
  gap: 12px;
  padding: 0 4px 0 20px;
  background-color: #ffffff;
  border-radius: 40px;
  height: 100%;
}

.search-input-container {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.search-cursor {
  width: 2px;
  height: 24px;
  background-color: #00a0e6;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--body-m-medium-font-family);
  font-weight: var(--body-m-medium-font-weight);
  font-size: var(--body-m-medium-font-size);
  color: #101010;
  letter-spacing: var(--body-m-medium-letter-spacing);
  line-height: var(--body-m-medium-line-height);
  font-style: var(--body-m-medium-font-style);
}

.search-input::placeholder {
  color: #10101080;
}

.search-btn {
  width: 48px;
  height: 48px;
  background-color: #00a0e6;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.search-btn:hover {
  background-color: #0080b8;
}

.search-history {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-history-label {
  font-family: var(--body-s-semibold-font-family);
  font-weight: var(--body-s-semibold-font-weight);
  font-size: var(--body-s-semibold-font-size);
  color: #ffffff;
  letter-spacing: var(--body-s-semibold-letter-spacing);
  line-height: var(--body-s-semibold-line-height);
  font-style: var(--body-s-semibold-font-style);
}

.search-history-tags {
  display: flex;
  align-items: center;
  gap: 4px;
}

.search-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-tag:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.search-tag span {
  font-family: var(--body-XS-medium-font-family);
  font-weight: var(--body-XS-medium-font-weight);
  font-size: var(--body-XS-medium-font-size);
  color: #ffffff;
  letter-spacing: var(--body-XS-medium-letter-spacing);
  line-height: var(--body-XS-medium-line-height);
  font-style: var(--body-XS-medium-font-style);
}

.search-content {
  flex: 1;
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-title {
  font-family: var(--title-500-CAPS-font-family);
  font-weight: var(--title-500-CAPS-font-weight);
  font-size: var(--title-500-CAPS-font-size);
  color: #101010;
  text-align: center;
  letter-spacing: var(--title-500-CAPS-letter-spacing);
  line-height: var(--title-500-CAPS-line-height);
  font-style: var(--title-500-CAPS-font-style);
  margin-bottom: 32px;
}

.product-categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 1200px;
}

.product-category-card {
  display: flex;
  flex-direction: column;
  width: 282px;
  height: 241px;
  align-items: center;
  gap: 16px;
  padding: 32px;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #1010101a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-category-card.featured {
  background-color: #f4f6fa;
  border: 2px solid #e9edf4;
}

.product-category-card.featured .category-title {
  color: #00a0e6;
}

.category-image {
  width: 112px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.category-title {
  font-family: var(--title-600-CAPS-font-family);
  font-weight: var(--title-600-CAPS-font-weight);
  font-size: var(--title-600-CAPS-font-size);
  color: #101010;
  text-align: center;
  letter-spacing: var(--title-600-CAPS-letter-spacing);
  line-height: var(--title-600-CAPS-line-height);
  font-style: var(--title-600-CAPS-font-style);
}

.categories-navigation {
  background-color: #e9edf4;
  padding: 40px 40px 40px 20px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

.categories-grid {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1164px;
  width: 100%;
  justify-content: flex-start;
}

.categories-column {
  display: flex;
  flex-direction: column;
  width: 254.8px;
}

.categories-divider {
  display: flex;
  align-items: center;
  height: 260px;
}

/* Progressive column display - optimized for left alignment */
.frame-5 {
  display: flex;
  flex-direction: column;
  width: 254.8px;
  align-items: flex-start;
  position: relative;
  animation: slideInFromLeft 0.3s ease both;
  opacity: 0;
  margin-left: 0;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Ensure columns appear in sequence with faster timing */
.frame-5:nth-child(1) {
  animation-delay: 0s;
}

.frame-5:nth-child(3) {
  animation-delay: 0.1s;
}

.frame-5:nth-child(5) {
  animation-delay: 0.2s;
}

.frame-5:nth-child(7) {
  animation-delay: 0.3s;
}

.category-item,
.category-item-2 {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: #ffffff;
  border-radius: 4px;
  border-bottom: 1px solid #1010100d;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.category-item:hover,
.category-item-2:hover {
  background-color: #f4f6fa;
}

.category-item:first-child,
.category-item-2:first-child {
  border-radius: 4px 4px 0 0;
}

.category-item:last-child,
.category-item-2:last-child {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}

/* Category text styles */
.category,
.category-2 {
  flex: 1;
  margin-top: -0.50px;
  font-family: var(--body-l-medium-font-family);
  font-weight: var(--body-l-medium-font-weight);
  font-size: var(--body-l-medium-font-size);
  letter-spacing: var(--body-l-medium-letter-spacing);
  line-height: var(--body-l-medium-line-height);
  font-style: var(--body-l-medium-font-style);
  transition: color 0.2s ease;
}

.category {
  color: #00a0e6;
}

.category-2 {
  color: #101010b2;
}

.category-item:hover .category,
.category-item:hover .category-2,
.category-item-2:hover .category,
.category-item-2:hover .category-2 {
  color: #00a0e6;
}

/* Back navigation styling */
.category-item[data-category-back],
.category-item-2[data-category-back] {
  cursor: pointer;
  position: relative;
}

.category-item[data-category-back]:hover,
.category-item-2[data-category-back]:hover {
  opacity: 1 !important;
  background-color: #e6f7ff !important;
  transform: translateX(-2px);
}


.category-item[data-category-back]:hover::before,
.category-item-2[data-category-back]:hover::before {
  opacity: 1;
  left: -8px;
}

/* Forward navigation styling */
.category-item[data-category]:not([data-category-back]),
.category-item-2[data-category]:not([data-category-back]) {
  cursor: pointer;
  position: relative;
}

.category-item[data-category]:not([data-category-back]):hover,
.category-item-2[data-category]:not([data-category-back]):hover {
  background-color: #f4f6fa !important;
  transform: translateX(2px);
}

.category-item[data-category]:not([data-category-back]):hover .chevron-right,
.category-item-2[data-category]:not([data-category-back]):hover .chevron-right {
  transform: translateX(6px);
  color: #00a0e6;
}

/* Chevron icons */
.chevron-right {
  position: relative;
  width: 20px;
  height: 20px;
  aspect-ratio: 1;
  transition: transform 0.2s ease;
}

.category-item:hover .chevron-right,
.category-item-2:hover .chevron-right {
  transform: translateX(4px);
}

/* Enhanced Documents Panel */
.documents-panel {
  display: flex;
  flex-direction: column;
  width: 600px;
  min-height: 260px;
  padding: 24px;
  position: relative;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #1010101a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  animation: slideInFromRight 0.3s ease;
  gap: 20px;
}

.documents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #1010101a;
}

.documents-title {
  font-family: var(--title-500-CAPS-font-family);
  font-weight: var(--title-500-CAPS-font-weight);
  font-size: var(--title-500-CAPS-font-size);
  color: #101010;
  letter-spacing: var(--title-500-CAPS-letter-spacing);
  line-height: var(--title-500-CAPS-line-height);
  font-style: var(--title-500-CAPS-font-style);
  margin: 0;
}

.documents-count {
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  font-size: var(--body-s-medium-font-size);
  color: #10101080;
  background-color: #f4f6fa;
  padding: 4px 8px;
  border-radius: 12px;
  letter-spacing: var(--body-s-medium-letter-spacing);
  line-height: var(--body-s-medium-line-height);
  font-style: var(--body-s-medium-font-style);
}

.documents-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.document-card-enhanced {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background-color: #f4f6fa;
  border-radius: 12px;
  border: 1px solid #1010101a;
  transition: all 0.2s ease;
  position: relative;
}

.document-card-enhanced:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.document-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.document-icon-large {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.document-icon-large img {
  width: 24px;
  height: 24px;
  color: #00a0e6;
}

.document-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-title {
  font-family: var(--body-l-semibold-font-family);
  font-weight: var(--body-l-semibold-font-weight);
  font-size: var(--body-l-semibold-font-size);
  color: #101010;
  letter-spacing: var(--body-l-semibold-letter-spacing);
  line-height: var(--body-l-semibold-line-height);
  font-style: var(--body-l-semibold-font-style);
  margin: 0;
  word-break: break-word;
}

.document-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.document-size,
.document-date {
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  font-size: var(--body-s-medium-font-size);
  color: #10101080;
  letter-spacing: var(--body-s-medium-letter-spacing);
  line-height: var(--body-s-medium-line-height);
  font-style: var(--body-s-medium-font-style);
  padding: 2px 8px;
}

.document-actions-enhanced {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid #1010101a;
}

.release-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.release-label {
  font-family: var(--body-s-semibold-font-family);
  font-weight: var(--body-s-semibold-font-weight);
  font-size: var(--body-s-semibold-font-size);
  color: #101010;
  letter-spacing: var(--body-s-semibold-letter-spacing);
  line-height: var(--body-s-semibold-line-height);
  font-style: var(--body-s-semibold-font-style);
}

.release-dropdown-enhanced {
  padding: 6px 12px;
  border: 1px solid #1010101a;
  border-radius: 20px;
  background-color: #ffffff;
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  font-size: var(--body-s-medium-font-size);
  color: #101010;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
  min-width: 100px;
}

.release-dropdown-enhanced:hover {
  border-color: #00a0e6;
  background-color: #f4f6fa;
}

.release-dropdown-enhanced:focus {
  border-color: #00a0e6;
  box-shadow: 0 0 0 2px rgba(0, 160, 230, 0.2);
}

.download-btn-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #00a0e6;
  color: #ffffff;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-family: var(--body-m-semibold-font-family);
  font-weight: var(--body-m-semibold-font-weight);
  font-size: var(--body-m-semibold-font-size);
  letter-spacing: var(--body-m-semibold-letter-spacing);
  line-height: var(--body-m-semibold-line-height);
  font-style: var(--body-m-semibold-font-style);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 160, 230, 0.3);
}

.download-btn-enhanced:hover {
  background-color: #0080b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 160, 230, 0.4);
}

.download-btn-enhanced:active {
  transform: translateY(0);
}

.documents-footer {
  display: flex;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid #1010101a;
}

.back-to-categories-btn-enhanced {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #f4f6fa;
  color: #101010;
  border: 1px solid #1010101a;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--body-s-semibold-font-family);
  font-weight: var(--body-s-semibold-font-weight);
  font-size: var(--body-s-semibold-font-size);
  letter-spacing: var(--body-s-semibold-letter-spacing);
  line-height: var(--body-s-semibold-line-height);
  font-style: var(--body-s-semibold-font-style);
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-to-categories-btn-enhanced:hover {
  background-color: #e9edf4;
  border-color: #00a0e6;
  color: #00a0e6;
  transform: translateY(-1px);
}

/* Legacy card-document for backward compatibility */
.card-document {
  display: none;
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.document {
  position: relative;
  width: 24px;
  height: 24px;
  aspect-ratio: 1;
}

.text-wrapper-8 {
  position: relative;
  align-self: stretch;
  font-family: var(--body-l-semibold-font-family);
  font-weight: var(--body-l-semibold-font-weight);
  color: #101010b2;
  font-size: var(--body-l-semibold-font-size);
  text-align: center;
  letter-spacing: var(--body-l-semibold-letter-spacing);
  line-height: var(--body-l-semibold-line-height);
  font-style: var(--body-l-semibold-font-style);
}

.dropdown-small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 40px;
  border: 1px solid #1010101a;
}

.text-wrapper-9 {
  position: relative;
  width: fit-content;
  margin-top: -0.50px;
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  color: #101010b2;
  font-size: var(--body-s-medium-font-size);
  letter-spacing: var(--body-s-medium-letter-spacing);
  line-height: var(--body-s-medium-line-height);
  font-style: var(--body-s-medium-font-style);
}

.CTA-small {
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  position: relative;
  flex: 0 0 auto;
  background-color: #ffffff;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.CTA-small:hover {
  background-color: #f4f6fa;
  transform: translateY(-1px);
}

.text-wrapper-10 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: var(--body-l-semibold-font-family);
  font-weight: var(--body-l-semibold-font-weight);
  color: #00a0e6;
  font-size: var(--body-l-semibold-font-size);
  text-align: center;
  letter-spacing: var(--body-l-semibold-letter-spacing);
  line-height: var(--body-l-semibold-line-height);
  font-style: var(--body-l-semibold-font-style);
}

.img-2 {
  position: relative;
  width: 16px;
  height: 16px;
}

/* Divider styling */
.divider {
  display: inline-flex;
  height: 260px;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

.divider-2 {
  position: relative;
  align-self: stretch;
  width: 1px;
  margin-left: -0.50px;
}

/* Breadcrumb removed - styles kept for potential future use but hidden */
.breadcrumb-navigation {
  display: none;
}

.breadcrumb-item {
  display: none;
}

.documents-view {
  width: 100%;
  max-width: 800px;
}

.documents-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.documents-header h3 {
  font-family: var(--title-400-CAPS-font-family);
  font-weight: var(--title-400-CAPS-font-weight);
  font-size: var(--title-400-CAPS-font-size);
  color: #101010;
  letter-spacing: var(--title-400-CAPS-letter-spacing);
  line-height: var(--title-400-CAPS-line-height);
  font-style: var(--title-400-CAPS-font-style);
}

.documents-count {
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  font-size: var(--body-s-medium-font-size);
  color: #10101080;
  letter-spacing: var(--body-s-medium-letter-spacing);
  line-height: var(--body-s-medium-line-height);
  font-style: var(--body-s-medium-font-style);
}

.documents-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.document-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #1010100d;
  border-radius: 12px;
  transition: background-color 0.2s ease;
}

.document-item:hover {
  background-color: #f4f6fa;
}

.document-date:hover {
  background-color: #f4f6fa;
}

.document-icon {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #101010b2;
  flex-shrink: 0;
}

.document-name-container {
  display: flex;
  justify-content: space-between; /* Sépare les éléments gauche/droite */
  align-items: center;            /* Aligne verticalement */
}

.document-name-display {
  text-align: left;
}

.document-date {
  text-align: right;
}

.document-content {
  flex: 1;
  display: flex;
  gap: 8px;
}

.document-name {
  font-family: var(--body-l-semibold-font-family);
  font-weight: var(--body-l-semibold-font-weight);
  font-size: var(--body-l-semibold-font-size);
  color: #101010b2;
  letter-spacing: var(--body-l-semibold-letter-spacing);
  line-height: var(--body-l-semibold-line-height);
  font-style: var(--body-l-semibold-font-style);
}

.document-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.document-release,
.document-size,
.document-date {
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  font-size: var(--body-s-medium-font-size);
  color: #10101080;
  letter-spacing: var(--body-s-medium-letter-spacing);
  line-height: var(--body-s-medium-line-height);
  font-style: var(--body-s-medium-font-style);
}


.document-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.release-dropdown {
  position: relative;
}

.release-select {
  padding: 8px 12px;
  border: 1px solid #1010101a;
  border-radius: 40px;
  background-color: #ffffff;
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  font-size: var(--body-s-medium-font-size);
  color: #101010b2;
  cursor: pointer;
  outline: none;
}

.download-document-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #ffffff;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-family: var(--body-l-semibold-font-family);
  font-weight: var(--body-l-semibold-font-weight);
  font-size: var(--body-l-semibold-font-size);
  color: #00a0e6;
  text-decoration: none;
  transition: all 0.2s ease;
}

.download-document-btn:hover {
  background-color: #f4f6fa;
  transform: translateY(-1px);
}

.back-to-categories-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #f4f6fa;
  border: 1px solid #1010101a;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--body-m-semibold-font-family);
  font-weight: var(--body-m-semibold-font-weight);
  font-size: var(--body-m-semibold-font-size);
  color: #101010;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 24px;
}

.back-to-categories-btn:hover {
  background-color: #e9edf4;
}

/* Search Results Styles */
.search-results-section {
  width: 100%;
  max-width: 1000px;
  margin: 0;
  padding: 0;
  text-align: left;
}

.search-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1010101a;
}

.search-results-header h3 {
  font-family: var(--title-400-CAPS-font-family);
  font-weight: var(--title-400-CAPS-font-weight);
  font-size: var(--title-400-CAPS-font-size);
  color: #101010;
  letter-spacing: var(--title-400-CAPS-letter-spacing);
  line-height: var(--title-400-CAPS-line-height);
  font-style: var(--title-400-CAPS-font-style);
}

.results-count {
  font-family: var(--body-s-medium-font-family);
  font-weight: var(--body-s-medium-font-weight);
  font-size: var(--body-s-medium-font-size);
  color: #10101080;
  letter-spacing: var(--body-s-medium-letter-spacing);
  line-height: var(--body-s-medium-line-height);
  font-style: var(--body-s-medium-font-style);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 12px;
  border: 1px solid #1010101a;
  transition: all 0.2s ease;
}

.search-result-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.result-icon {
  width: 48px;
  height: 48px;
  background-color: #f4f6fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #101010;
  flex-shrink: 0;
}

.result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-name {
  font-family: var(--body-l-semibold-font-family);
  font-weight: var(--body-l-semibold-font-weight);
  font-size: var(--body-l-semibold-font-size);
  color: #101010;
  letter-spacing: var(--body-l-semibold-letter-spacing);
  line-height: var(--body-l-semibold-line-height);
  font-style: var(--body-l-semibold-font-style);
}

.result-path {
  font-family: var(--body-s-regular-font-family);
  font-weight: var(--body-s-regular-font-weight);
  font-size: var(--body-s-regular-font-size);
  color: #10101080;
  letter-spacing: var(--body-s-regular-letter-spacing);
  line-height: var(--body-s-regular-line-height);
  font-style: var(--body-s-regular-font-style);
}

.result-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-product,
.result-release,
.result-size,
.result-date {
  font-family: var(--body-XS-medium-font-family);
  font-weight: var(--body-XS-medium-font-weight);
  font-size: var(--body-XS-medium-font-size);
  color: #10101066;
  letter-spacing: var(--body-XS-medium-letter-spacing);
  line-height: var(--body-XS-medium-line-height);
  font-style: var(--body-XS-medium-font-style);
}

.result-product {
  background-color: #e6f7ff;
  color: #00a0e6;
  padding: 2px 6px;
  border-radius: 8px;
  font-weight: 600;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-highlight {
  background-color: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: 600;
  color: #856404;
}

.no-search-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #10101080;
}

.no-search-results svg {
  margin-bottom: 16px;
  opacity: 0.5;
}

.no-search-results h4 {
  font-family: var(--body-l-semibold-font-family);
  font-weight: var(--body-l-semibold-font-weight);
  font-size: var(--body-l-semibold-font-size);
  color: #101010;
  margin-bottom: 8px;
}

.no-search-results p {
  font-family: var(--body-m-regular-font-family);
  font-weight: var(--body-m-regular-font-weight);
  font-size: var(--body-m-regular-font-size);
  color: #10101080;
}

.no-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  font-family: var(--body-l-medium-font-family);
  font-weight: var(--body-l-medium-font-weight);
  font-size: var(--body-l-medium-font-size);
  color: #10101080;
}

/* Enhanced Download notification */
.download-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: #00a0e6;
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 160, 230, 0.3);
  z-index: 3000;
  animation: slideInDown 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 280px;
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.download-notification span {
  font-family: var(--body-m-semibold-font-family);
  font-weight: var(--body-m-semibold-font-weight);
  font-size: var(--body-m-semibold-font-size);
  letter-spacing: var(--body-m-semibold-letter-spacing);
  line-height: var(--body-m-semibold-line-height);
  font-style: var(--body-m-semibold-font-style);
}

.download-notification svg {
  flex-shrink: 0;
}

/* Progress indicator for download */
.download-notification.progress::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 12px 12px;
  animation: progressBar 2s ease-in-out;
}

@keyframes progressBar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .search-hero {
    padding: 32px 20px;
  }
  
  .search-form {
    width: 100%;
    max-width: 400px;
  }
  
  .search-history {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .product-categories-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .product-category-card {
    width: 100%;
    max-width: 300px;
  }
  
  .categories-navigation {
    padding: 20px;
  }
  
  .categories-grid {
    flex-direction: column;
    gap: 16px;
  }
  
  .categories-column {
    width: 100%;
  }
  
  .categories-divider {
    display: none;
  }
  
  .search-result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .result-actions {
    align-self: stretch;
    justify-content: space-between;
  }
  
  /* Breadcrumb removed for mobile too */
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .search-form {
    width: 500px;
  }
  
  .product-categories-grid {
    max-width: 800px;
  }
  
  .categories-grid {
    max-width: 900px;
  }
}

/* Animation for category transitions */
.categories-grid,
.documents-view,
.search-results-section {
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Categories container transition */
#categoriesContainer {
  transition: all 0.2s ease;
}

/* Progressive reveal animation with proper timing */
.frame-5 {
  animation-fill-mode: both;
}

.card-document {
  animation: slideInFromRight 0.3s ease both;
  animation-delay: 0.6s;
  opacity: 0;
}

/* Ensure proper column spacing */
.categories-navigation .frame-4 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1400px;
  width: 100%;
  justify-content: flex-start;
  margin-left: 0;
}

/* Enhanced visual feedback for document types */
.document-card-enhanced {
  position: relative;
  overflow: hidden;
}

.document-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #00a0e6;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.document-card-enhanced:hover::before {
  opacity: 1;
}

/* Better spacing for document grid */
.documents-grid {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 8px;
}

.documents-grid::-webkit-scrollbar {
  width: 4px;
}

.documents-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.documents-grid::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.documents-grid::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Enhanced document meta styling */
.document-meta {
  margin-top: 4px;
}

.document-size::before {
  content: '📄';
  margin-right: 4px;
  font-size: 10px;
}


/* Improved button styling */
.download-btn-enhanced span,
.back-to-categories-btn-enhanced span {
  font-weight: 600;
}

/* Success state for download */
.download-notification.success {
  background-color: #2eb485;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Slide out animation for notifications */
@keyframes slideOutUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px) scale(0.9);
  }
}

/* Enhanced document type detection */
.document-card-enhanced[data-document-type="DOC"] {
  border-left: 4px solid #00a0e6;
}

.document-card-enhanced[data-document-type="PDF"] {
  border-left: 4px solid #e14b4b;
}

.document-card-enhanced[data-document-type="PPT"] {
  border-left: 4px solid #ff8e00;
}

/* Improved visual hierarchy */
.documents-panel {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid #e9edf4;
}

.document-card-enhanced {
  border: 1px solid #e9edf4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.document-card-enhanced:hover {
  border-color: #00a0e6;
  box-shadow: 0 8px 24px rgba(0, 160, 230, 0.15);
}

/* Better typography scaling */
@media screen and (max-width: 768px) {
  .documents-title {
    font-size: 16px;
  }
  
  .document-title {
    font-size: 13px;
    line-height: 1.3;
  }
  
  .document-size,
  .document-date {
    font-size: 10px;
  }
  
  .download-btn-enhanced {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Loading skeleton for documents */
.document-card-skeleton {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  background-color: #f4f6fa;
  border-radius: 12px;
  border: 1px solid #1010101a;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.document-card-skeleton .skeleton-header {
  display: flex;
  gap: 16px;
}

.document-card-skeleton .skeleton-icon {
  width: 48px;
  height: 48px;
  background-color: #e9edf4;
  border-radius: 12px;
}

.document-card-skeleton .skeleton-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-card-skeleton .skeleton-title {
  height: 16px;
  background-color: #e9edf4;
  border-radius: 4px;
  width: 80%;
}

.document-card-skeleton .skeleton-meta {
  height: 12px;
  background-color: #e9edf4;
  border-radius: 4px;
  width: 60%;
}

/* Empty state styling */
.documents-panel.empty {
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #10101080;
}

.documents-panel.empty::before {
  content: '📁';
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Remove any left margins that might push content to center */
.frame-5:first-child {
  margin-left: 0 !important;
}

.divider:first-of-type {
  margin-left: 0 !important;
}

/* Enhanced hover effects for navigation */
.category-item[data-category-back] .category,
.category-item[data-category-back] .category-2,
.category-item-2[data-category-back] .category,
.category-item-2[data-category-back] .category-2 {
  transition: all 0.2s ease;
}

.category-item[data-category-back]:hover .category,
.category-item[data-category-back]:hover .category-2,
.category-item-2[data-category-back]:hover .category,
.category-item-2[data-category-back]:hover .category-2 {
  color: #00a0e6 !important;
  transform: translateX(-4px);
}

/* Active path highlighting */
.category-item.active-path,
.category-item-2.active-path {
  background-color: #e6f7ff !important;
  border-left: 3px solid #00a0e6 !important;
  opacity: 1 !important;
}

.category-item.active-path .category,
.category-item.active-path .category-2,
.category-item-2.active-path .category,
.category-item-2.active-path .category-2 {
  color: #00a0e6 !important;
  font-weight: 600 !important;
}

.category-item.active-path .chevron-right,
.category-item-2.active-path .chevron-right {
  color: #00a0e6;
}

/* Smooth column transitions */
.divider {
  opacity: 0;
  animation: fadeIn 0.2s ease forwards;
}

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

/* Staggered divider animations - faster timing */
.divider:nth-of-type(2) {
  animation-delay: 0.1s;
}

.divider:nth-of-type(4) {
  animation-delay: 0.2s;
}

.divider:nth-of-type(6) {
  animation-delay: 0.3s;
}

/* Document card enhanced styling */
.card-document {
  margin-left: 0;
}

.card-document:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-document .content:hover .text-wrapper-8 {
  color: #00a0e6;
}

/* Optimize space usage */
.categories-navigation {
  overflow-x: auto;
}

.categories-navigation::-webkit-scrollbar {
  height: 6px;
}

.categories-navigation::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.categories-navigation::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.categories-navigation::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Responsive adjustments for progressive display */
@media screen and (max-width: 768px) {
  .frame-5 {
    width: 100%;
    margin-bottom: 16px;
    margin-left: 0;
  }
  
  .divider {
    display: none;
  }
  
  .documents-panel {
    width: 100%;
    padding: 16px;
  }
  
  .document-card-enhanced {
    padding: 16px;
  }
  
  .document-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  
  .document-actions-enhanced {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .release-selector {
    justify-content: center;
  }
  
  .categories-navigation {
    padding: 20px 20px 20px 10px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .frame-5 {
    width: 220px;
    margin-left: 0;
  }
  
  .documents-panel {
    width: 350px;
    padding: 20px;
  }
  
  .document-card-enhanced {
    padding: 16px;
  }
  
  .categories-navigation {
    padding: 40px 40px 40px 20px;
  }
}

/* Desktop optimization */
@media screen and (min-width: 1025px) {
  .categories-navigation {
    padding: 40px 40px 40px 20px;
  }
  
  .frame-5 {
    margin-left: 0;
  }
  
  .documents-panel {
    width: 600px;
  }
}

/* Enhanced animations for documents panel */
.documents-panel {
  animation: slideInFromRight 0.4s ease both;
}

.document-card-enhanced {
  animation: fadeInUp 0.3s ease both;
}

.document-card-enhanced:nth-child(1) {
  animation-delay: 0.1s;
}

.document-card-enhanced:nth-child(2) {
  animation-delay: 0.2s;
}

.document-card-enhanced:nth-child(3) {
  animation-delay: 0.3s;
}

/* Improved hover effects */
.document-card-enhanced:hover .document-title {
  color: #00a0e6;
}

.document-card-enhanced:hover .document-icon-large {
  background-color: #e6f7ff;
  border: 1px solid #00a0e6;
}

.document-card-enhanced:hover .document-icon-large img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(187deg) brightness(119%) contrast(119%);
}

/* Focus states for accessibility */
.release-dropdown-enhanced:focus,
.download-btn-enhanced:focus,
.back-to-categories-btn-enhanced:focus {
  outline: 2px solid #00a0e6;
  outline-offset: 2px;
}

/* Loading state for documents */
.documents-panel.loading {
  opacity: 0.7;
}

.documents-panel.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid #1010101a;
  border-top: 2px solid #00a0e6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

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

/* Document type indicators */
.document-card-enhanced[data-type="pdf"] .document-icon-large {
  background-color: #ffe3e3;
}

.document-card-enhanced[data-type="doc"] .document-icon-large {
  background-color: #e6f7ff;
}

.document-card-enhanced[data-type="ppt"] .document-icon-large {
  background-color: #fff2e3;
}

/* Enhanced download button states */
.download-btn-enhanced.downloading {
  background-color: #2eb485;
  pointer-events: none;
}

.download-btn-enhanced.downloading::before {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
}

/* Improved spacing and typography */
.documents-panel h3,
.documents-panel h4 {
  margin: 0;
  padding: 0;
}

.document-meta span {
  white-space: nowrap;
}

/* Better visual hierarchy */
.documents-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.document-card-enhanced {
  background: linear-gradient(135deg, #f4f6fa 0%, #ffffff 100%);
}

.document-card-enhanced:hover {
  background: linear-gradient(135deg, #ffffff 0%, #f4f6fa 100%);
}

/* Product Category Info */
.product-category-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #1010101a;
  text-align: center;
}

.category-info-header h3 {
  font-family: var(--title-400-CAPS-font-family);
  font-weight: var(--title-400-CAPS-font-weight);
  font-size: var(--title-400-CAPS-font-size);
  color: #101010;
  margin-bottom: 8px;
}

.category-info-header p {
  font-family: var(--body-l-regular-font-family);
  font-weight: var(--body-l-regular-font-weight);
  font-size: var(--body-l-regular-font-size);
  color: #101010b2;
}

.browse-docs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #00a0e6;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--body-m-semibold-font-family);
  font-weight: var(--body-m-semibold-font-weight);
  font-size: var(--body-m-semibold-font-size);
  transition: background-color 0.2s ease;
}

.browse-docs-btn:hover {
  background-color: #0080b8;
}

/* Enhanced hover effects */
.category-item:hover .category-name {
  color: #00a0e6;
}

.document-card:hover .document-name {
  color: #00a0e6;
}

.product-category-card:hover .category-title {
  color: #00a0e6;
}

/* Product selection styles */
.card-documentation.product-selected,
.card-documentation-2.product-selected,
.card-documentation-3.product-selected {
  background-color: #e6f7ff !important;
  border: 2px solid #00a0e6 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 160, 230, 0.3);
}

.card-documentation.product-selected .ttile,
.card-documentation.product-selected .ttile-2,
.card-documentation-2.product-selected .ttile,
.card-documentation-2.product-selected .ttile-2,
.card-documentation-3.product-selected .ttile,
.card-documentation-3.product-selected .ttile-2 {
  color: #00a0e6 !important;
  font-weight: 700 !important;
}

/* Product cards hover effects */
.card-documentation,
.card-documentation-2,
.card-documentation-3 {
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-documentation:hover,
.card-documentation-2:hover,
.card-documentation-3:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-documentation:hover .ttile,
.card-documentation:hover .ttile-2,
.card-documentation-2:hover .ttile,
.card-documentation-2:hover .ttile-2,
.card-documentation-3:hover .ttile,
.card-documentation-3:hover .ttile-2 {
  color: #00a0e6;
}

/* Product selected info panel */
.product-selected-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid #1010101a;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.selected-product-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.selected-product-header h3 {
  font-family: var(--title-400-CAPS-font-family);
  font-weight: var(--title-400-CAPS-font-weight);
  font-size: var(--title-400-CAPS-font-size);
  color: #101010;
  margin: 0;
}

.selected-product-header p {
  font-family: var(--body-l-regular-font-family);
  font-weight: var(--body-l-regular-font-weight);
  font-size: var(--body-l-regular-font-size);
  color: #101010b2;
  margin: 0;
}

.back-to-all-products-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background-color: #f4f6fa;
  color: #101010;
  border: 1px solid #1010101a;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--body-m-semibold-font-family);
  font-weight: var(--body-m-semibold-font-weight);
  font-size: var(--body-m-semibold-font-size);
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-to-all-products-btn:hover {
  background-color: #e6f7ff;
  border-color: #00a0e6;
  color: #00a0e6;
}

/* Product indicator in categories */
.product-indicator {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #00a0e6;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 12px;
  font-family: var(--body-XS-medium-font-family);
  font-weight: var(--body-XS-medium-font-weight);
  font-size: var(--body-XS-medium-font-size);
  letter-spacing: var(--body-XS-medium-letter-spacing);
  line-height: var(--body-XS-medium-line-height);
  font-style: var(--body-XS-medium-font-style);
  animation: slideInDown 0.3s ease;
}

/* Enhanced category display for selected product */
.frame-5.product-specific {
  border-left: 3px solid #00a0e6;
  background-color: rgba(0, 160, 230, 0.05);
  border-radius: 4px;
}

.frame-5.product-specific .category,
.frame-5.product-specific .category-2 {
  font-weight: 600;
}

/* Product breadcrumb removed */
.product-breadcrumb {
  display: none;
}

.product-breadcrumb-text {
  display: none;
}

.product-breadcrumb-icon {
  display: none;
}

/* Animation for product selection */
.card-documentation.selecting,
.card-documentation-2.selecting,
.card-documentation-3.selecting {
  animation: productSelect 0.3s ease;
}

@keyframes productSelect {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Product-specific category styling */
.category-item.product-category,
.category-item-2.product-category {
  position: relative;
}

.category-item.product-category::before,
.category-item-2.product-category::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #00a0e6;
  border-radius: 0 2px 2px 0;
}

/* Enhanced visual feedback for product selection */
.categories-navigation.product-selected {
  background: linear-gradient(135deg, #e6f7ff 0%, #e9edf4 100%);
  border-top: 2px solid #00a0e6;
}

/* Product selection indicator */
.product-selection-indicator {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #00a0e6;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 12px;
  font-family: var(--body-m-semibold-font-family);
  font-weight: var(--body-m-semibold-font-weight);
  font-size: var(--body-m-semibold-font-size);
  z-index: 2000;
  opacity: 0;
  animation: productSelectionFeedback 1s ease;
}

@keyframes productSelectionFeedback {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  30% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  70% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* Responsive adjustments for product selection */
@media screen and (max-width: 768px) {
  .product-selected-info {
    padding: 24px 16px;
  }
  
  .selected-product-header h3 {
    font-size: 18px;
  }
  
  .selected-product-header p {
    font-size: 13px;
  }
  
  .back-to-all-products-btn {
    padding: 10px 16px;
    font-size: 12px;
  }
}

/* Product card active state animation */
.card-documentation.product-selected,
.card-documentation-2.product-selected,
.card-documentation-3.product-selected {
  animation: selectedPulse 2s ease infinite;
}

@keyframes selectedPulse {
  0%, 100% { 
    box-shadow: 0 4px 20px rgba(0, 160, 230, 0.3); 
  }
  50% { 
    box-shadow: 0 8px 32px rgba(0, 160, 230, 0.5); 
  }
}

/* Product name in documents */
.document-title.product-specific {
  color: #00a0e6;
  font-weight: 700;
}

/* Enhanced product category cards */
.card-documentation,
.card-documentation-2,
.card-documentation-3 {
  position: relative;
  overflow: hidden;
}

.card-documentation::before,
.card-documentation-2::before,
.card-documentation-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.card-documentation.product-selected::before,
.card-documentation-2.product-selected::before,
.card-documentation-3.product-selected::before {
  background-color: #00a0e6;
}

/* Product selection feedback */
.product-selection-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #00a0e6;
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--body-m-semibold-font-family);
  font-weight: var(--body-m-semibold-font-weight);
  font-size: var(--body-m-semibold-font-size);
  z-index: 3000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.product-selection-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Focus states for accessibility */
.search-input:focus {
  outline: 2px solid #00a0e6;
  outline-offset: 2px;
}

.category-item:focus,
.breadcrumb-item:focus,
.download-document-btn:focus,
.product-category-card:focus {
  outline: 2px solid #00a0e6;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Keyboard navigation */
.category-item,
.breadcrumb-item,
.download-document-btn,
.product-category-card,
.search-tag {
  position: relative;
}

.category-item:focus-visible,
.breadcrumb-item:focus-visible,
.download-document-btn:focus-visible,
.product-category-card:focus-visible,
.search-tag:focus-visible {
  outline: 2px solid #00a0e6;
  outline-offset: 2px;
}
