 /* Reset default styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: Arial, sans-serif;
    }

    body {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      background-color: #ffffff;
      min-height: 100vh;
      position: relative;
      padding-top: 20px;
    }
    
   
 
 .zuzuur-tab-wrapper {
      max-width: 1100px;      /* maximum width */
      width: 100%;             /* take full width up to max */
      margin: 0 auto;          /* center horizontally */
      padding: 0;         /* optional: small padding on sides */
      box-sizing: border-box;  /* include padding in width */
    }
    
    
    
    .category-heading {
    font-family: Arial, sans-serif;
    font-weight: 600;
    color: #4285F4;
    margin: 00px 0;
    text-align: left;
    line-height: 1.2;
    border-bottom: 2px solid #4285F4;
    white-space: nowrap; /* keeps in one line */
}

.category-word {
    font-size: 26px; /* Main bigger word */
    margin-left: 10px;
}

.scripts-word {
    font-size: 18px; /* Smaller word for modern look */
     color: #4285F4;      /* Optional: different color for style */
    margin-left: 5px; /* Space between words */
}

    

    
    
    
      /*=== Video Gird Layout ===*/
      /* Grid: 1 video per row */
.script-content {
    max-width: 1100px;
    width: 100%;
}


.script-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* desktop */
  margin-bottom: 20px;
  margin-top: 0px !important;
  
}

/* ==== YouTube-Style Thumbnails ==== */
.script-card {
  width: 100%;
  display: inline-block;
  vertical-align: top;
   margin-top: 0px !important;
   padding: 8px;
}

/* Hover effect */
.script-card:hover {
  background: #f1f2f3;          /* light gray hover */
  border-radius: 12px !important;
}


.script-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16/9;
  object-fit: cover;
  z-index: 1;

}


/* === Thumbnail container === */
.script-thumb {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}


/* === Optional hover effect === */
.script-thumb:hover .duration {
  background: rgba(0, 0, 0, 0.9);
}


.script-thumb-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.script-thumb-wrapper img,
.script-thumb-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}


     /* ==== YouTube-Style Video Info ==== */
.script-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 2
}

/* Video text info */
.script-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -2px !important;
}

.script-details h3,
.script-details p {
  line-height: 1.4; /* Same for all lines — YouTube style */
}

.script-details h3 {
  font-size: 16px;
  color: #000;
  margin: 0;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.script-details p {
  font-size: 14px;
  color: #606060;
  margin: 0;
  text-decoration: none !important;
}
  
  /* YouTube-Style Menu Button */
.script-menu-btn {
  background: none;
  border: none;
  font-size: 18px; /* slightly smaller */
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #606060;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

/* Hover effect: circular fade with soft highlight */
.script-menu-btn:hover { 
  background: rgba(0, 0, 0, 0.08);
  color: #000;
  transform: scale(1.05); /* subtle pop */
}



.script-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    display: none;
    z-index: 999;
}

.script-menu-popup {
    position: absolute;
    z-index: 1000;
}


/* ==== Remove click highlight / blue outline like YouTube ==== */
.script-card,
.script-card * {
  -webkit-tap-highlight-color: transparent; /* removes blue on mobile */
  outline: none !important;                 /* removes focus outline */
}
  /* ==== Skeleton Loader ==== */
.skeleton {
  background-color: #f1f2f3;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.skeleton::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Skeleton shapes for videos */
.skeleton.script-thumbnail {
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 12px;
  overflow: hidden;
}

.skeleton.text-line {
  height: 12px;
  margin: 6px 0;
  width: 80%;
  border-radius: 6px;
}

.skeleton.text-line.short {
  width: 40%;
}




/*--- ==== Skeleton for script page ===== */
/* Connect your custom classes to your existing skeleton design */
.script-skeleton-wrapper .skeleton {
  /* already styled by your main .skeleton css */
}

/* Map script-thumbnail → video-thumbnail */
.skeleton.script-thumbnail {
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  border-radius: 12px;
  overflow: hidden;
}

/* Map skeleton-script → skeleton */
.skeleton-script {
  background-color: #f1f2f3;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.skeleton-script::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  animation: loading 1.5s infinite;
}

/* Map text-line */
.skeleton-script.text-line {
  height: 12px;
  margin: 6px 0;
  width: 80%;
  border-radius: 6px;
}

/* Map short text-line */
.skeleton-script.text-line.short {
  width: 40%;
}










    
    
     /* Images Tab Toast container */
#toast-container {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

/* Individual toast */
.toast {
  background: #000;
  border: none;
  color: #fff;
  padding: 16px 20px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 14px;
  min-width: 250px;
  text-align: left;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

    
    
    
    /* share poup */

 .script-popup {
  background: #fff;
  max-width: 460px;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: fixed;       
  top: 50%;             
  left: 50%;            
  transform: translate(-50%, -50%); 
  z-index: 10000;      
}


 .script-close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 35px;   
  height: 35px;
  background: transparent; /* better than #55 for visibility */
  border: none;
  font-size: 38px; 
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease;
  display: flex;           
  align-items: center;
  justify-content: center;
  border-radius: 50%;     
  line-height: 1; /* ensure icon is centered */
  padding: 0;      /* remove default button padding */
  text-align: center;
}

.script-close-btn:hover {
  color: #000;
}



    .share-icons-wrapper {
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .share-icons-wrapper h3 {
      margin: 0 0 15px 0;
      font-size: 16px;
      font-weight: 400;
      color: #000;
    }

    .scroll-btnbtn {
      position: absolute;
      top: 50px;
      background: #fff;
      border: none;
      font-size: 20px;
      cursor: pointer;
      width: 38px;
      height: 38px;
      color: #333;
      border-radius: 50%;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      transition: all 0.25s ease;
    }

    .scroll-btnbtn:hover {
      background: #f1f1f1;
      transform: scale(1.05);
    }

    .left-btnbtn {
      left: 0;
     
    }

    .right-btnbtn {
      right: 0;
    }

    .share-icons {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scrollbar-width: none;
      scroll-behavior: smooth;
      padding: 5px 0px;
      position: relative;
    }

    .share-icons::-webkit-scrollbar {
      display: none;
    }

    .share-icon {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      min-width: 65px;
      text-align: center;
      user-select: none;
    }

    .share-icon img {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #f5f5f5;
      padding: 6px;
      transition: transform 0.2s ease;
    }

    .share-icon:hover img {
      transform: scale(1.08);
    }

    .share-icon span {
      font-size: 12px;
      margin-top: 6px;
      color: #333;
    }

    .share-link-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border: 1px solid #ddd;
      border-radius: 10px;
      padding: 8px;
      margin: 0 1px 16px;
      margin-top: 30px;
    }

    .share-link-box input {
      border: none;
      outline: none;
      width: 80%;
      font-size: 14px;
    }

    .copy-btnbtn {
      background-color: #065fd4;
      color: white;
      border: none;
      padding: 8px 14px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 14px;
      font-weight: 500;
    }

 
  
    
    
    
    
/* ======== Blog Menu Popup =========== */

.script-menu-popup {
  position: absolute;
  display: none;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  z-index: 9999; /* ABOVE overlay */
  padding: 4px 0;
  min-width: 200px;
  max-width: 240px;
  max-height: 200px;
  overflow-y: auto;
  font-family: Arial, sans-serif;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: auto;
}

.script-menu-popup::-webkit-scrollbar {
  width: 6px;
}
.script-menu-popup ::-webkit-scrollbar-thumb {
  background: rgba(170,170,170,0.6);
  border-radius: 10px;
}
.script-menu-popup ::-webkit-scrollbar-thumb:hover {
  background: rgba(120,120,120,0.8);
}

.script-menu-popup ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.script-menu-popup li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}
.script-menu-popup li:hover {
  background-color: #f8f8f8;
}
.script-menu-popup .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #606060;
}
.script-menu-popup .icon svg {
  width: 20px;
  height: 20px;
  fill: #606060;
  transition: fill 0.15s ease;
}
.script-menu-popup li:hover .icon svg {
  fill: #000;
}




 
@media (max-width: 1024px) {
   
    .script-grid { grid-template-columns: repeat(2, 1fr); }
  .script-content {
   width: 100%;
}


  .script-card {
  width: 100%;
    padding: 0px 5;
    border-radius: 8px !important;
} 

.script-thumb-wrapper {
    border-radius: 8px; 
  }
  
}






/* Mobile responsiveness */
@media (max-width: 823px) {
    
    .category-heading {
    margin-bottom: 10px;
    margin-top: 0px;
    padding-top: 0px;
}

.category-word {
    font-size: 26px; /* Main bigger word */
    margin-left: 10px;
}


    
     /* Grid: 1 video per row */
  .script-content {
   width: 100%;
  }
  
  .script-grid {  
    grid-template-columns: 1fr !important;
    margin-bottom: 0px !important;
  }
    
    
    
    
  .script-content, 
  .script-card {
    padding-left: 0;
    padding-right: 0;
    margin: 0 !important;
    border-radius: 0px !important;
  }

 .script-thumb-wrapper img,
.script-thumb-wrapper video {
  border-radius: 0px !important;
}



  .script-thumb-wrapper {
    border-radius: 0px;
  }
  
  .script-thumb {
  border-radius: 0px !important;
}

/* Hover effect */
.script-card:hover {
  background: #f1f2f3;          /* light gray hover */
  border-radius: 0px !important;
}


  
   /* Thumbnail full width - NO margin-left */
  .script-card img {
    border-radius: 0 !important;
  }

  /* Details under video (like title, views) */
  .script-info {
    padding: 6px 10px;   /* thoda inner padding */
    margin-bottom: 3px;
    padding-top: 3px;
  }
  
  .script-details h3 {
    font-size: 16px;   /* thoda inner padding */
    font-weight: 500;
   
  }
  
  

.skeleton.script-thumbnail {
  border-radius: 0px !important;
     }
     
     .no-thumb {
       border-radius: 0px !important;
    aspect-ratio: 16/9;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    }
    
    
    
    
  .script-menu-popup {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 400px;
    padding: 8px 0;
    border-radius: 16px;
    max-width: 90%;
    max-height: 80%;
  }
  
  /* share ppup */
  .script-popup {
      max-width: 460px;
      width: 95%;
      padding: 15px;
    }
}

