textsearchBTN, .cctextsearchBTN {
  background-image: url(../img/cc/textsearch.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

textclearBTN, .cctextclearBTN {
  background-image: url(../img/cc/textclear.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

yearBTN, .ccyearBTN {
  background-image: url(../img/cc/year.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

monthBTN, .ccmonthBTN {
  background-image: url(../img/cc/month.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

dayBTN, .ccdayBTN {
  background-image: url(../img/cc/day.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

timeresetBTN, .cctimeresetBTN {
  background-image: url(../img/cc/timereset.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

readmeBTN, .ccreadmeBTN {
  background-image: url(../img/cc/book.svg);
  background-size: 30px 90px;
  background-repeat: no-repeat;
  display: block;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
}

.ccFinder #closeFinderX {
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background: #3e5500;
    border-radius: 50%;
    color: #fdfde5;
    text-align: center;
    line-height: 24px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ccFinder #titlebar {
	color: #808080;
	border-radius: 6px;
	transition: all 0.2s ease;
	font-size: 1rem;
  text-align: center;
  padding: 3px 15px;
  margin: 5px 0;
}

.ccFinder #searchlabel {
	color: #808080;
	border-radius: 6px;
	transition: all 0.2s ease;
	font-size: 1rem;
  text-align: left;
  padding: 3px 15px;
  margin: 5px 0;
}

.ccFinder .hide {
    display: none
}

.ccfindsvgbutton {
  display: inline-block;
  width: 32px;
  height: 32px;
  margin: 0 7px;
}

.ccfindsvgbutton a {
  display: block;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  text-indent: -1000em;
  text-decoration: none;
}

.ccfindsvgbutton a:hover {
  opacity: 0.8;
}

.ccfindsvgbutton a:active {
  position: relative;
  top: 1px;
}

.ccfindsvgbutton {
  display: inline-block;
  width: 100px;
  height: 32px;
  margin: 0 7px;
}

.cc-search-date-svg {
    display: block;
    width: 124px;
    height: 32px;
    margin: 0 7px;
}

#searchDateDisplay {
    width: 124px;
    height: 30px;
}

.cckeyphrase-box {
  height: 330px;
  border-radius: 8px;
  padding: 15px;
  overflow-y: auto;
  background-color: #081e02;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cckeyselection-box {
  height: 136px;
  border-radius: 8px;
  padding: 15px;
  overflow-y: auto;
  background-color: #081e02;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
  
.cckeyphrase {
  padding: 3px 15px;
  color: #B0C4DE;
  border: 1px solid #2e5500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-size: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  box-sizing: border-box;
}

.cckeyphrase:hover {
  background-color: #113803;
  border-color: #3e5500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cckeyphrase.selected {
  background-color: #3e5500;
  border-color: #ff9700;
  color: #ff9700;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .cckeyphrase-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cckeyphrase-box {
    grid-template-columns: 1fr;
  }
}