/* Digital SAT V6 - Clean Brand Metrics */

/* Summary cards */

.dsat-count {
  background: #ffffff !important;
  border: 1px solid #dde6ee !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 22px rgba(32, 48, 64, .07) !important;
  position: relative;
  overflow: hidden;
}

.dsat-count::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
}

/* Courses */
.dsat-count:nth-child(1)::before {
  background: #2f80ed;
}

.dsat-count:nth-child(1) strong {
  color: #2f80ed !important;
}

/* Tests */
.dsat-count:nth-child(2)::before {
  background: #f59e0b;
}

.dsat-count:nth-child(2) strong {
  color: #d97706 !important;
}

/* Lectures */
.dsat-count:nth-child(3)::before {
  background: #56758f;
}

.dsat-count:nth-child(3) strong {
  color: #47657d !important;
}

/* Books */
.dsat-count:nth-child(4)::before {
  background: #24384b;
}

.dsat-count:nth-child(4) strong {
  color: #24384b !important;
}

.dsat-count span {
  color: #657789 !important;
  font-weight: 700 !important;
}

.dsat-count:hover {
  background: #fbfdff !important;
  border-color: #cbd8e2 !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(32, 48, 64, .11) !important;
}

.dsat-count.active {
  background: #f7fbfe !important;
  border-color: #b9d7e9 !important;
  box-shadow: 0 10px 26px rgba(47, 128, 237, .10) !important;
}

/* remove older colored backgrounds */
.dsat-count:nth-child(1),
.dsat-count:nth-child(2),
.dsat-count:nth-child(3),
.dsat-count:nth-child(4) {
  background: #ffffff !important;
}

/* Keep course cards in one blue family */

[data-dsat-panel="courses"] .dsat-content-item:nth-child(1) {
  background: linear-gradient(145deg,#f3f9fd,#eaf5fb) !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(2) {
  background: linear-gradient(145deg,#eaf4fa,#deedf6) !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(3) {
  background: linear-gradient(145deg,#e1edf4,#d3e3ec) !important;
}
