/* MAIN WRAPPER */
.sc-slide-cat-container {
  background: linear-gradient(135deg, rgba(239,179,241,0.8), rgba(179,219,241,0.8));
  width: 95vw !important;
  margin: 20px auto;
  box-sizing: border-box;
  position: relative;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 20px 15px;
  max-width: 1200px !important;
  display: block;
}

/* GLASS TABS WRAPPER */
.sc-glass-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  background: none;
  backdrop-filter: blur(25px);
  border-radius: 40px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}

/* Hide scrollbar */
.sc-glass-tabs::-webkit-scrollbar {
  display: none;
}

/* TABS */
.sc-glass-tabs .sc-tab {
  border: none;
  background: transparent;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: "Alkatra";
}

/* ACTIVE TAB */
.sc-glass-tabs .sc-tab.active {
  background: #ffffff;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.12);
}

/* Make sure there is equal space on both sides */
.sc-glass-tabs::before,
.sc-glass-tabs::after {
  content: '';
  flex: 1;
}

/* CATEGORY CONTENT */
.sc-category-box {
  display: none;
  margin-top: 25px;
}
.sc-category-box.active {
  display: block;
}

/* GLASS CARD STYLE */
.sc-glass-card {
  width: 100%;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.7),
    rgba(210,230,255,0.5)
  );
  backdrop-filter: blur(25px);
  box-shadow:
    inset 0 0 15px rgba(255,255,255,0.4),
    0 8px 25px rgba(0,0,0,0.12);
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

/* TOP RIGHT DATE */
.sc-card-top {
  display: flex;
  justify-content: flex-end;
}
.sc-card-top .sc-date {
  background: rgba(255,255,255,0.5);
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

/* TITLE */
.sc-card-title {
  font-size: 20px;
  margin: 12px 0 5px;
  font-weight: 700;
  word-wrap: break-word;
}

/* SUBTITLE */
.sc-card-sub {
  opacity: 0.8;
  margin-bottom: 18px;
  font-size: 15px;
  word-wrap: break-word;
}

/* FLOAT ICON (BOTTOM RIGHT) */
.sc-card-icon {
  position: absolute;
  right: 15px;
  bottom: 15px;
  background: white;
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

/* MOBILE (768px পর্যন্ত) */
@media (max-width: 768px) {
  .sc-slide-cat-container {
    width: 100% !important; 
    margin: 15px auto; 
    border-radius: 12px;
    padding: 15px 12px;
    box-sizing: border-box;
    position: relative;
    left: auto; 
    right: auto;
    transform: none; 
    border: 1px solid #fff;
  }

  .sc-glass-tabs {
    padding: 10px 12px;
    gap: 8px;
    width: 100%;
    margin: 0 auto;
  }

  .sc-glass-tabs .sc-tab {
    padding: 7px 15px;
    font-size: 14px;
  }

  .sc-glass-card {
    padding: 18px;
    width: 100%;
  }

  .sc-card-title {
    font-size: 18px;
  }

  .sc-card-sub {
    font-size: 14px;
  }

  .sc-card-icon {
    padding: 10px 12px;
    font-size: 14px;
  }

  .sc-card-top .sc-date {
    padding: 4px 10px;
    font-size: 11px;
  }
}








/* DARK MODE */
  html.dark-mode .sc-slide-cat-container {
    background: #1e293b;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

html.dark-mode .sc-glass-tabs {
  background: #1e293b;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

html.dark-mode .sc-glass-tabs .sc-tab {
  color: #e0e0e0;
}

html.dark-mode .sc-glass-tabs .sc-tab.active {
  background: #1e293b;
  box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.3);
}

html.dark-mode .sc-category-box {
  color: #f1f5f9;
}

html.dark-mode .sc-glass-card {
  background-color: #1e293b;
  backdrop-filter: blur(25px);
  box-shadow:
    inset 0 0 15px rgba(255,255,255,0.05),
    0 8px 25px rgba(0,0,0,0.3);
  color: #f1f5f9;
  border: 1px solid #333;
}

html.dark-mode .sc-card-top .sc-date {
  background: rgba(60, 60, 60, 0.5);
  color: #f1f5f9;
}

html.dark-mode .sc-card-title,
html.dark-mode .sc-card-sub {
  color: #f1f5f9;
}

html.dark-mode .sc-card-icon {
  background: #2c3e50;
  color: #fff;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.3);
}
