


  .schedule-container {
    background: rgba(26, 26, 46, 0.9);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 25px;
    margin-bottom: 30px;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.schedule-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.current-time-display {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.date-navigator {
    display: flex;
    overflow-x: auto;
    padding-bottom: 15px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.date-navigator::-webkit-scrollbar {
    display: none;
}

.date-item {
    flex: 0 0 auto;
    width: 120px;
    text-align: center;
    padding: 12px 5px;
    margin-right: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.date-item:hover {
    background: rgba(255,255,255,0.1);
}

.date-item.active {
    background: linear-gradient(135deg, #f72585 0%, #7209b7 100%);
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.4);
}

.schedule-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.schedule-card {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    min-height: 180px;
}

.schedule-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.schedule-time {
    position: relative;
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    color: white;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.schedule-content {
    position: relative;
    padding: 15px;
    z-index: 2;
}

.anime-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.episode-info {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.schedule-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-more-btn {
    display: block;
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .schedule-list {
        grid-template-columns: 1fr;
    }
    
    .date-item {
        width: 100px;
    }
    
    .schedule-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .current-time-display {
        margin-top: 15px;
    }
}



.ssl-item.watched {
    opacity: 0.8; 
     background: #4f553c !important; 
      }

.ssl-item.watched::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  color: #4CAF50; /* Green checkmark */
  font-size: 12px;
}

/* Keep active episode fully visible even if watched */
.ssl-item.active, 
.ssl-item.watched.active {
  opacity: 1;
  background-color: var(--color-primary);
}

/* Add this CSS to your existing styles */
.pc-toggle .tb-result {
    display: inline-block; /* Ensure the result is inline */
    margin-left: 5px; /* Add some space between the label and the result */
    font-weight: bold; /* Make the text bold for better visibility */
    white-space: nowrap; /* Prevent text wrapping */
}

.pc-toggle .tb-result span {
    margin-left: 5px; /* Add space between On/Off states */
}

.tick-age {
    background-color: #FF5700;
    /* Red color */
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;

    top: 0;
    left: 0;
}
/* .dropdown-menu {
   background: rgb(255 255 255 / 79%);
   backdrop-filter: blur(16px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   min-width: 160px;
   box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
   border-radius: 8px;
} */

.dropdown-menu .dropdown-item {
   color: rgba(0, 0, 0, 0.9);
   padding: 0px 9px;
   font-size: 11px;
   transition: all 0.2s ease;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu .dropdown-item:hover {
   background: rgba(255, 255, 255, 0.1);
   color: #acacac;
}

.dropdown-menu-model {
   margin-top: 5px;
}

/* .dropdown-menu.show {
   display: block;
   position: absolute;
   transform: translate3d(0px, 38px, 0px);
   top: 0px;
   left: 0px;
   will-change: transform;
   z-index: 1000;
   animation: fadeIn 0.2s ease-out;
} */

@keyframes fadeIn {
   from {
      opacity: 0;
      transform: translate3d(0px, 30px, 0px);
   }
   to {
      opacity: 1;
      transform: translate3d(0px, 38px, 0px);
   }
}





.episode-container {
    width: 100%;
    padding: 5px;
    background-color: #1e1e24;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.filter {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
}

#episode-range {

    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #2c2c34;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#episode-range:hover {
    background-color: #3b3b44;
    color: #fff;
    border-color: #67686f;
}

.episodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 12px;
}

.episode-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out;
    background-color: #35373d;
    color: #9ca3af;
}

.episode-item:hover {
    background-color: #67686f;
    color: #fff;
}


.episode-item.filler-highlight {
    color: #d1d5db;
    background: #35373d;
    background-image: linear-gradient(to right, #5a4944, #645a4b);
    transition: all 0.3s ease-in-out;
}

.episode-item.filler-highlight:hover {
    background: #9a6700;
    color: #fff;
}

.episode-item.active {
    background: #ff007f;
    color: #fff;
    font-weight: 600;
}

.episodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
    gap: 8px;
}

.tick-age {
    background-color: #FF5700;
    /* Red color */
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

.tick-item.tick-sub {
    background: #b0e3af;
    /* Blue color for sub */
    font-weight: 600;
    color: #111 !important;

}

.tick-item.tick-dub {
    background: #B9E7FF;
    /* Yellow color for dub */
    font-weight: 600;
    color: #111 !important;

}

.anime-qtip {
    position: absolute;
    z-index: 9999;
    width: 300px;
    background: #2b2b2b;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    padding: 15px;
}

.qtip-content {
    color: #fff;
}

.qtip-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.qtip-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating {
    color: #ffd700;
}

.quality-info {
    display: flex;
    gap: 5px;
}

.qtip-description {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ccc;
}

.qtip-meta > div {
    font-size: 13px;
    margin-bottom: 5px;
    color: #ccc;
}

.qtip-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-watch {
    flex: 1;
    background: #7676ff;
    color: white;
    padding: 8px;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
}

.btn-add {
    width: 40px;
    background: #3a3a3a;
    border: none;
    border-radius: 4px;
    color: white;
}


.pizza{ margin: 2rem auto; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; border-radius: .6rem; text-align: center; color: #000; font-size: 16px; font-weight: 400; background-color: #FAACA8; background-image: linear-gradient(19deg, #FAACA8 0%, #DDD6F3 100%);}
.pizza a{ color: #000; font-weight: 500;text-shadow: 0 1px 0 #fff;}
.pizza a:hover{ text-shadow: 0 1px 3px #fff;}
.pizza-x{ max-width: 800px; width: calc(100% - 32px); min-height: 90px;}
.pizza-y{ max-width: 400px; min-height: 300px;}
.pizza .in-text{ font-size: 1.5em; font-weight: 600;}
.pizza .in-contact{ font-size: 1em;}
@media screen and (max-width: 479px){
    .pizza{ font-size: 13px; gap: .6rem}
    .pizza-y{ min-height: 200px;}
}


/* .dropdown-menu[style] {
    left: auto !important;
    top: auto !important;
    transform: none !important;
  } */


  /* Skeleton Animation */
@keyframes skeleton-loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
  }
  

/* skeleton animations */

.post-skeleton {
    position: relative;
    display: flex;
    background-color: #ffffff2e; /* adjust if your theme is light */
    border-radius: 8px;
    overflow: hidden;
    min-height: 150px;
    margin: 10px 0;
  }
  
  /* Reactions section (left side) */
  .post-skeleton-reactions {
    width: 50px;
    color: rgb(255 255 255);
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 15px 0;
    text-align: center;
    font-size: 40px;
    line-height: 1;
    background-color: rgb(80 79 93);
  }
      
  /* Right-side content box */
  .post-skeleton-content {
    margin-left: 60px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    flex: 1;
  }
  
  /* Skeleton boxes */
  .post-skeleton-box {
    border-radius: 8px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0%,
      rgba(255, 255, 255, 0.08) 50%,
      rgba(255, 255, 255, 0.04) 100%
    );
    background-size: 200% 100%;
    animation: post-skeleton-wave 2s linear infinite;
  }
  
  /* Specific sizes */
  .post-skeleton-box.header {
    width: 40%;
    height: 16px;
  }
  
  .post-skeleton-box.content {
    width: 100%;
    height: 60px;
  }
  
  .post-skeleton-box.user {
    width: 50%;
    height: 20px;
  }
  
  @keyframes post-skeleton-wave {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  
  .skeleton-rating {
    height: 30px;
    width: 150px;
    margin-bottom: 10px;
    animation-direction: alternate;
  }

  .skeleton-text {
    height: 20px;
    width: 70%;
    margin-bottom: 20px;
    animation-direction: reverse;
  }

  .skeleton-buttons {
    display: flex;
    gap: 10px;
  }

  .skeleton-btn {
    height: 40px;
    width: 80px;
    animation-delay: 0.3s;
  }

  /* notification skeletion  */

  .skeleton-loading {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
}

.skeleton-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skeleton-poster, .skeleton-avatar {
    background: #e0e0e0;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
    flex-shrink: 0;
}

.skeleton-poster {
    width: 50px;
    height: 70px;
    border-radius: 4px;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skeleton-text, .skeleton-subtext {
    background: #e0e0e0;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 5px;
}

.skeleton-text {
    height: 14px;
    width: 70%;
}

.skeleton-subtext {
    height: 10px;
    width: 50%;
}

@keyframes shimmer {
    0% {
        background-position: -400% 0;
    }
    100% {
        background-position: 400% 0;
    }
}
/* Loader visible, content hidden by default */
#noti-loading { display: block; }
#noti-content { display: none; }

/* Activity Stats Section */
.aa-item {
    padding: 18px;
    background: rgb(43 42 60 / 0%);
    border-radius: 12px;
    transition: all 0.3s ease;
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
    transform-style: preserve-3d;
    will-change: transform;
}

.aa-item:hover {
    transform: perspective(600px) rotateX(6deg) rotateY(3deg) scale(1.02);
    box-shadow: 0 0 20px rgb(190 177 255 / 60%), 0 8px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.08);
}

.aa-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-status {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #b8c2cc;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.user-status i {
    color: #86e3ce;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.user-status:hover {
    color: #fff;
}

.user-status:hover i {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .aa-item {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .user-status {
        font-size: 0.85rem;
    }
}
.aa-item.aa-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: center;
    flex-direction: column;
    overflow: hidden;
    z-index: 1;
}

.aa-item.aa-avatar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: var(--bg-opacity, 1); /* default opacity */
    background-image: var(--bg-url);
    z-index: -1;
}



/* Nameplate  */

.nameplate {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 4px 8px; 
    border-radius: 6px; 
    display: inline-flex;
    align-items: center;
    /* gap: 4px;  */
    position: relative; 
    overflow: hidden; 
}

.nameplate::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: var(--nameplate-gradient, linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255,255,255,0.0) 90%));
    z-index: 1;
}

.nameplate > * {
    position: relative;
    z-index: 2; /* Ensure content is above gradient */
}

/* Blurred and semi-transparent background for nameplate with data-plate */
.nameplate.has-plate-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--plate-img), var(--plate-gradient, linear-gradient(to right, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 90%));
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    filter: blur();
    opacity:69%;
    pointer-events: none;
    border-radius: inherit;
}
.nameplate.has-plate-bg {
    position: relative;
    overflow: hidden;
}


/* */

.time-data {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #b8b8b8;
    padding: 2px 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.detail {
    position: relative;
}

.detail:hover .time-data {
    opacity: 1;
}

.genre-header,
.anime-header {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.genre-header:hover,
.anime-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}
.genre-header::after,
.anime-header::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #e24a84, #ffbade);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.genre-header:hover::after,
.anime-header:hover::after {
    transform: scaleY(1);
}
.genre-header strong,
.anime-header strong {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}
.genre-header:hover strong,
.anime-header:hover strong {
    transform: translateX(5px);
    color: #ffbade;
}
.genre-icon,
.anime-icon {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    display: inline-block;
    width: 20px;
    text-align: center;
    color: #ffbade;
}
.genre-header:hover .genre-icon,
.anime-header:hover .anime-icon {
    transform: rotate(90deg);
    color: #e24a84;
}
.genre-container.collapsed .genre-icon,
.anime-container.collapsed .anime-icon {
    transform: rotate(-90deg);
}
.genre-container.collapsed + .sidebar_menu-sub,
.anime-container.collapsed .sidebar_menu-sub {
    max-height: 0 !important;
    opacity: 0;
    visibility: hidden;
}
.sidebar_menu-sub {
    max-height: 1000px; /* Adjust based on your content */
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease-in-out;
}
.nav-more a {
    display: block;
    padding: 8px 15px;
    color: #ffbade;
    font-weight: 500;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.nav-more a:hover {
    background: rgba(106, 90, 205, 0.1);
    transform: translateX(5px);
    color: #e24a84;
}
.nav-more a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e24a84, #ffbade);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.nav-more a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.sidebar_menu-list .nav-link {
    color: #b3b3b3;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border-radius: 4px;
    margin: 2px 0;
}
.sidebar_menu-list .nav-link:hover {
    color: #ffbade;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}
.sidebar_menu-list .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
    transition: width 0.3s ease;
    z-index: -1;
}
.sidebar_menu-list .nav-link:hover::before {
    width: 100%;
}

/* Unique base for rating skeleton */
/* Base box for all rating skeleton elements */
.skeleton-rating-box {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer-rating 1.4s infinite;
    border-radius: 4px;
}

/* Top text rows */
.skeleton-rating-text {
    display: inline-block;
}

/* Reaction button placeholders */
.skeleton-rating-btn {
    display: inline-block;
    width: 100px;
    height: 40px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer-rating 1.4s infinite;
    border-radius: 8px;
    margin-right: 10px;
    margin-top: 10px;
}

/* Animation */
@keyframes shimmer-rating {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
