/* Cards */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 92%;
  margin: auto;

}

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 5px 10px;
  text-align: center;
}

.card-icon {
  color: #00a7a7;
}

.result-popup {
  left: 370px;
}

.card-value {
  font-size: 24px;
  font-weight: bold;
  color: #111;
}

.card-label {
  margin-top: 4px;
  font-size: 12px;
  color: #000;
}

/* Results */
.result-title {
  color: #066D1B;
  font-weight: 700;
  padding: 16px 0px 10px;
  font-size: 12px;
}

.result-item {
  background: #E8F6F6;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 12px;
}

.result-item span {
  color: #535353;
}

.count {
  color: #008d6d;
  font-weight: bold;
}


.icons {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}




.feature-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;

}

.feature-item:hover {
  background: #f5f5f5;

}

/* wrapper */

.feature-select-wrapper {
  position: relative;
  width: 100%;
  display: block;

}


/* dropdown */

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  max-height: 180px;
  overflow-y: auto;
  z-index: 9999;
}


.feature-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  background: white;
}


.feature-item:last-child {
  border-bottom: none;
}


.feature-item:hover {
  background: #f5f5f5;
}


.selected-feature {
  background: #e6f4ef;
  color: #158f6b;
  font-weight: 500;
}

.hidden {
  display: none !important;
}

.border-top-solid {
  border-top: 1px solid #04836B;
  padding-top: 10px;
}

#changeDetectionResultPopup {
  position: static !important;
  border: 0;
}

button.back-btn-rs {
  border: 0;
  background-color: transparent;
}

.inside-aside .back-btn-rs {
  margin-right: 5px;
}

.rs-wrap p {
  color: #5D5C5C;
  font-size: 11px;
  padding-top: 2px;
}

.rs-wrap {
  max-width: 85%;
  margin-right: auto;
}

.border-custom:before {
  content: "";
  border: 1px solid #0E93915E;
  position: absolute;
  width: calc(100% + 1.4rem);
  left: -.7rem;
  top: 10px;
}

.border-custom {
  position: relative;
}

#chresultList {
  padding-top: 10px;
  margin-top: 10px;
}

.download {
  padding: .3rem;
  border-radius: 4px;
  font-size: 12px;
  margin-left: auto;
}

.download img {
  display: block;
  margin-right: 3px;
}

.selected-table-row {
  background-color: #ffe08a !important;
  font-weight: bold;
}

#chanag-detection-notification-ResultPopup {
  position: static;
  border: 0;
}

#chanag-detection-notification-ResultPopup .stats {
  grid-template-columns: repeat(4, 1fr);
  max-width: 100%;
}


.result-list {
  padding-top: 10px;
  margin-top: 10px;
}

#notification-chanag-detection-card-body {
  overflow: auto;
  max-height: 60vh;
}

/* toc css start */
.toc-panel {
  max-width: 350px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
  border: 1px solid #ddd;
  position: absolute;
  right: 10%;
  z-index: 2;
  top: 20px;
  min-width: 260px;
}

.toc-header {
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e5e5;
}

.toc-header h5 {
  margin: 0;
  font-weight: 600;
}

.close-btn {
  cursor: pointer;
  font-size: 22px;
  color: #777;
}

.nav-tabs {
  border-bottom: none;
}

.nav-tabs .nav-link {
  border: none;
  color: #888;
  font-weight: 500;
}

.nav-tabs .nav-link.active {
  color: #35b6b2;
  border: none;
  border-bottom: 3px solid #35b6b2;
}

.search-wrapper {
  padding: 12px;
}

.search-box {
  position: relative;
}

.search-box i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.search-box input {
  padding-left: 40px;
  border-radius: 30px;
  border: 1px solid #7cc9c7;
  height: 42px;
}

#layerAccordion .accordion-item {
  border: none;
  border-top: 1px solid #e9e9e9;
}

.layer-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.layer-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
}

.accordion-button {
  background: #fff;
  /* box-shadow:none !important; */
  /* padding:14px 16px; */
}

.accordion-button:not(.collapsed) {
  background: #fff;
  color: #333;
}

.accordion-button::after {
  background-size: 14px;
  width: 1rem;
  height: 1rem;
}

.layer-content {
  padding: 10px 20px;
  color: #666;
  font-size: 14px;
}

.legend-tab {
  padding: 20px;
  text-align: center;
  color: #777;
}

@media(max-width:576px) {
  .toc-panel {
    max-width: 100%;
  }
}

.panel-position {
  position: absolute;
  left: auto;
  right: 20px;
  z-index: 2;
  top: 20px;
}

#layerAccordion .accordion-button {
  font-size: 14px;
  font-weight: 400;
  padding: .4rem .5rem;
}

#tocTabs {
  border-bottom: 1px solid #E6E6E6;
}

/* toc css end */