@charset "utf-8";
/* CSS Document */


    /* Slide container with relative positioning for overlays */
    .slide-container {
      width: 700px;
      height: 600px;
      position: relative;
      margin-left: auto;
      margin-right: auto;
      border-radius: 8px;
      overflow: hidden;
      background: #f7fafc;
    }
    .slide-container img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      border-radius: 8px;
    }
    /* Controls overlay container for download & play/pause icons */
    .controls-overlay {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 20;
      display: flex;
      gap: 8px;
    }
    .controls-overlay a,
    .controls-overlay button {
      display: inline-flex;
      padding: 6px;
      background: rgba(66, 153, 225, 0.9);
      color: #fff;
      border-radius: 50%;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: background 0.3s ease;
    }
    .controls-overlay a:hover,
    .controls-overlay button:hover {
      background: rgba(33,137,224,0.86);
    }
    /* Icon styles */
    .icon {
      width: 24px;
      height: 24px;
    }
    /* Fade-in effect */
    .carousel-image {
      opacity: 0; 
      transition: opacity 0.5s ease-in-out;
    }
    .fade-in {
      opacity: 1;
    }
    /* Skeleton styling for slides */
    .carousel-skeleton {
      width: 700px;
      height: 600px;
      border-radius: 8px;
      overflow: hidden;
      background: #e0e0e0;
      background-image: linear-gradient(90deg, #e0e0e0, #f5f5f5, #e0e0e0);
      background-size: 200% 100%;
      animation: shimmer 1.5s infinite;
      position: relative;
      margin-left: auto;
      margin-right: auto;
    }
    @keyframes shimmer {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }
    /* Thumbnail slider styles */
    .thumbnail-slider img {
      width: 150px;
      height: 100px;
      object-fit: cover;
      border-radius: 4px;
      cursor: pointer;
      margin: 0 4px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .thumbnail-slider img:hover {
      transform: scale(1.2);
      box-shadow: 0px 5px 8px 9px rgba(141,138,23,0.89);
	 border-radius: 75px;	
    }
    /* Custom arrows */
    .custom-prev,
    .custom-next {
      background-color: rgba(255, 255, 255, 0.8);
      border: 1px solid #e2e8f0;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      cursor: pointer;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .custom-prev:hover,
    .custom-next:hover {
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    }
    .custom-prev { left: 10px; }
    .custom-next { right: 10px; }
    .custom-prev:before,
    .custom-next:before {
      font-size: 20px;
      line-height: 40px;
      color: #4a5568;
    }
    .custom-prev:before { content: "←"; }
    .custom-next:before { content: "→"; }
    /* Glass background styling */
    .glass-bg {
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      padding: 10px;
      overflow: visible;
      position: relative;
    }
    /* Loading Progress Styles */
    #progress-text {
      text-align: center;
      font-size: 1rem;
      margin-top: 8px;
    }
    #progress-container {
      width: 80%;
      margin: 8px auto;
      background: #e2e8f0;
      border-radius: 8px;
      overflow: hidden;
    }
    #progress-bar {
      height: 10px;
      background: #4299e1;
      width: 0%;
      transition: width 0.3s ease;
    }
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .carousel-skeleton,
	  .slide-container,
      .main-slider img.carousel-image {
        width: 100%;
        height: auto;
      }
      .thumbnail-slider img { width: 100px; height: 75px; }
		
	  .thumbnail-slider {
    	margin-top: 0.2rem; /* default was mt-4, which is 1rem, so you may lower it further if needed */
 		 }	

    }
    @media (max-width: 480px) {
      .custom-prev,
      .custom-next {
        width: 30px;
        height: 30px;
      }
      .custom-prev:before,
      .custom-next:before { font-size: 16px; }
    }