/*
 * Copyright (c) 2024 Biovisuals Private Limited
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of Biovisuals Private Limited.
 * You shall not disclose such Confidential Information and shall use it only
 * in accordance with the terms of the license agreement you entered into with Biovisuals Private Limited.
 */

/* slider-container.css */

/* slider-container.css */
.slider-container {
    display: none;
    position: absolute;
    left: 60px; /* Adjusted to match the reduced image library width */
    top: 48px; /* Align with the image library */
    bottom: 0;
    width: 280px; /* Slightly reduced for better canvas space */
    background-color: #FFFFFF; /* Clean white background */
    border-right: 1px solid #E0E0E0; /* Subtle border */
    overflow-y: auto;
    padding: 10px; /* Reduced padding for more content space */
    box-sizing: border-box;
    z-index: 10;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.08); /* Subtle shadow for depth */
    transition: width 0.3s ease, left 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    scroll-behavior: smooth;
}
/* Fixed Header Container (Includes Header + Search Bar) */
.slider-header-container {
    position: sticky;
    top: 0; /* Keeps it at the top */
    background: #FFFFFF; /* Prevents transparency */
    z-index: 10; /* Ensures it stays above other elements */
    padding-bottom: 5px;
    border-bottom: 1px solid #E0E0E0; /* Maintains consistent styling */
}
.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
  gap: 6px;
}

.slider-button,
.close-slider {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  background-color: var(--background-color);
  border: 1px solid #ddd;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-color);
}

.slider-button:hover,
.close-slider:hover {
  background-color: var(--hover-background);
  color: var(--dark-color);
  border-color: var(--accent-color);
  transform: translateY(-1px);
}



/* Search Input Styles */
#searchIconsInput {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #F9F9F9; /* Light gray background for contrast */
    font-size: 12px;
    outline: none;
    transition: border-color 0.3s ease;
}

#searchIconsInput:focus {
    border-color: #F4C430; /* Highlight border when focused */
    background-color: #FFF6D5; /* Subtle saffron tint for focus */
}

/* Optional: Add hover effect for slider container */
.slider-container:hover {
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.12); /* Slightly stronger shadow */
}

/* Content container */
#sliderContent {
    position: relative; /* Required for positioning child elements */
    padding-bottom: 10px; /* Ensure spacing at the bottom */
}

/* Loading Indicator */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; /* Ensure it's above other content */
    background-color: rgba(255, 255, 255, 0.85);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #333;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

/* Responsive design for extra-small screens */
@media (max-width: 768px) {
    .slider-container {
        width: 240px; /* Further narrow on smaller screens */
        padding: 8px;
        left: 50px; /* Adjusted to match smaller image library */
    }

    .slider-header {
        font-size: 13px; /* Smaller text */
        padding: 6px 0;
    }

    .slider-button, .close-slider {
        font-size: 11px; /* Adjusted for small screens */
        padding: 5px 8px;
    }

    #searchIconsInput {
        font-size: 12px;
        padding: 7px;
    }
}


/*---------------- breadcrumbs navigation-------------------------------- */
.breadcrumb-nav {
  font-size: 12px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  line-height: 1.2;
  border-bottom: 1px solid #eee;
  background: var(--background-color);
  white-space: nowrap;
  overflow-x: auto;
}

.breadcrumb-nav span {
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
}

.breadcrumb-nav span:hover {
  text-decoration: underline;
}

.breadcrumb-nav .separator {
  color: #aaa;
}
