.circle-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.circle-name {
  margin-bottom: 5px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  transition: all 0.3s ease;
  word-break: break-word;
  border-left: 3px solid transparent;
  position: relative;
  flex: 1 0 calc(33.333% - 20px);
  box-sizing: border-box;
  max-width: calc(33.333% - 20px);
}

.circle-name:hover {
  background: rgba(255, 255, 255, 1);
  border-left: 3px solid #1E967C;
  box-shadow: 0 0 0 2px rgba(30, 150, 124, 0.3);
}

.circle-name-content {
  display: flex;
  flex-direction: column;
}

.circle-name-text {
  color: #17585D;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 3px;
}

.circle-badges {
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

<?php if ($show_click_link) { ?>
.circle-name-text:hover {
  color: #1E967C;
  text-decoration: underline;
}
<?php } ?>

.day-section {
  margin-bottom: 60px;
}

.day-title {
  color: #17585D;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1E967C;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.circle-stats {
  background: linear-gradient(360deg, #17735F, #1E967C);
  color: white;
  padding: 15px 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
}

.circle-stats h4 {
  margin: 0;
  font-size: 1.2em;
  font-weight: 600;
}

.total-stats {
  background: linear-gradient(360deg, #17585D, #17735F);
  color: white;
  padding: 20px 30px;
  border-radius: 15px;
  margin: 40px 0;
  text-align: center;
}

.total-stats h3 {
  margin: 0;
  font-size: 1.8em;
  font-weight: 700;
}

.total-stats p {
  margin: 10px 0 0 0;
  opacity: 0.9;
}

.title-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.all_border_sec {
  margin-top: 0;
}

.scroll-button {
  background: linear-gradient(360deg, #80d6e5, #66c2d4);
  color: #1a3f47;
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-button:hover {
  background: linear-gradient(360deg, #66c2d4, #4ca8ba);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 88, 93, 0.15);
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px 10px;
  margin-bottom: 20px;
  height: auto;
}

.filter-button {
  background: #e0e0e0;
  color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 0.9em;
  margin-top: 0px;
  margin-bottom: 7px;
}

.filter-button.active {
  background: #1E967C;
  color: white;
}

@media (max-width: 991px) {
  .circle-name {
    flex: 1 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
  
  .day-title {
    font-size: 1.7em;
  }
}

.badge-category-1 { 
  background: linear-gradient(360deg, #e9f6ec, #d9f0e0);
  color: #2b6333;
}
.badge-category-2 { 
  background: linear-gradient(360deg, #ece6f9, #e2daf4);
  color: #42307a;
}
.badge-category-3 { 
  background: linear-gradient(360deg, #ffead3, #ffdfbf);
  color: #653800;
}
.badge-category-4 { 
  background: linear-gradient(360deg, #dcf8ea, #c9f2de);
  color: #2b654b;
}
.badge-category-5 { 
  background: linear-gradient(360deg, #fee6ee, #fcdae7);
  color: #5a1b47;
}
.badge-category-6 { 
  background: linear-gradient(360deg, #fddae2, #fbced9);
  color: #5c1a21;
}
.badge-category-7 { 
  background: linear-gradient(360deg, #e6f0ff, #d9e8ff);
  color: #2b4e7d;
}
.badge-category-8 { 
  background: linear-gradient(360deg, #f6e4d3, #ecd9c7);
  color: #4a3218;
}
.badge-category-9 { 
  background: linear-gradient(360deg, #e9f6fa, #d9f0f7);
  color: #2b6570;
}
.badge-category-10 { 
  background: linear-gradient(360deg, #fff5d3, #ffefbf);
  color: #584400;
}
.badge-category-11 {
  background: linear-gradient(360deg, #ffd9ea, #ffccdf);
  color: #571947;
}
.badge-category-12 { 
  background: linear-gradient(360deg, #e9f6e9, #d9f0d9);
  color: #2b652b;
}
.badge-category-97 { 
  background: linear-gradient(360deg, #ede6fa, #e2daf7);
  color: #3c154b;
}
.badge-category-98 { 
  background: linear-gradient(360deg, #f0e6fa, #e6daf7);
  color: #3c154b;
}

.badge-schk-11 {
  background: linear-gradient(360deg, #e6edfc, #d9e4fa);
  color: #2b4e82;
}
.badge-schk-12 { 
  background: linear-gradient(360deg, #fff0d3, #ffe6bf);
  color: #584000;
}
.badge-schk-13 {
  background: linear-gradient(360deg, #f0e0cc, #e6d2b8);
  color: #4a3218;
}
.badge-schk-14 { 
  background: linear-gradient(360deg, #ffe6f2, #ffd9ec);
  color: #582046;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  margin-right: 5px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  text-transform: none;
  max-width: 100%;
  word-break: break-word;
}

@media (max-width: 768px) {
  .circle-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .circle-name {
    flex: 1 0 100%;
    max-width: 100%;
  }
  
  .day-title {
    font-size: 1.5em;
  }
  
  .circle-name {
    padding: 12px 15px;
  }
  
  .circle-name-text {
    font-size: 1.5em;
  }
  
  .badge {
    font-size: 12px; /* Increased badge font size for mobile */
    padding: 3px 7px;
  }
  
  .scroll-button {
    padding: 6px 12px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .circle-name {
    margin-bottom: 12px;
    padding: 10px 12px;
  }
  
  .circle-name-text {
    font-size: 1.5em;
  }
  
  .badge {
    font-size: 11px; /* Adjusted badge font size for smaller screens */
    padding: 3px 7px;
  }
  
  .scroll-button {
    padding: 5px 10px;
    font-size: 0.85em;
  }
}


#fixed-bottom-nav {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#fixed-bottom-nav button {
  background: #1E967C;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 15px;
  cursor: pointer;
  margin: 0 5px;
  transition: all 0.3s ease;
}

#fixed-bottom-nav button:hover {
  background: #17735F;
}

#fixed-bottom-nav button.active {
  background: linear-gradient(360deg, #66c2d4, #4ca8ba);
  color: #1a3f47;
  box-shadow: 0 2px 8px rgba(102, 194, 212, 0.4);
}

#fixed-bottom-nav button:first-child {
  font-size: 1.2em;
}

