/* Digital SAT V5 - Unified MathCrack Palette */

/* Main background */

.dsat-explorer {
  background: linear-gradient(
    180deg,
    #eef4f8 0%,
    #f4f7fa 100%
  ) !important;
}

.dsat-explorer-card {
  background: #f8fafc !important;
}


/* Top navigation cards */

.dsat-count {
  background: #ffffff !important;
  border: 1px solid #d6e0e8 !important;
  border-radius: 18px !important;
  box-shadow: 0 7px 18px rgba(37,56,75,.06) !important;
}

.dsat-count strong {
  color: #263b4f !important;
}

.dsat-count span {
  color: #617487 !important;
}


/* Courses */

.dsat-count:nth-child(1) {
  border-top: 4px solid #43a6de !important;
}


/* Tests */

.dsat-count:nth-child(2) {
  border-top: 4px solid #348bc0 !important;
}


/* Lectures */

.dsat-count:nth-child(3) {
  border-top: 4px solid #2872a0 !important;
}


/* Books */

.dsat-count:nth-child(4) {
  border-top: 4px solid #243e55 !important;
}


/* Active */

.dsat-count.active {
  background: #edf6fc !important;
  border-color: #8fc8e8 !important;
  transform: translateY(-2px);
}

.dsat-count::after {
  display: none !important;
}


/* Course cards — same family, graduated blue */

[data-dsat-panel="courses"] .dsat-content-item {
  border-radius: 19px !important;
  min-height: 126px !important;
  box-shadow: 0 8px 20px rgba(37,56,75,.07) !important;
}


/* Group 1 */

[data-dsat-panel="courses"] .dsat-content-item:nth-child(1) {
  background: linear-gradient(
    145deg,
    #f1f9fe 0%,
    #e7f4fc 100%
  ) !important;

  border: 1px solid #9dd2ef !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(1)::before {
  background: #43a6de !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(1) .dsat-item-icon {
  background: #d9effb !important;
  color: #2188c2 !important;
}


/* Group 2 */

[data-dsat-panel="courses"] .dsat-content-item:nth-child(2) {
  background: linear-gradient(
    145deg,
    #e9f4fb 0%,
    #dcecf6 100%
  ) !important;

  border: 1px solid #78b7dc !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(2)::before {
  background: #318cc1 !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(2) .dsat-item-icon {
  background: #cce6f5 !important;
  color: #176e9f !important;
}


/* Hard */

[data-dsat-panel="courses"] .dsat-content-item:nth-child(3) {
  background: linear-gradient(
    145deg,
    #e1edf5 0%,
    #d3e3ed 100%
  ) !important;

  border: 1px solid #6096b5 !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(3)::before {
  background: #225f84 !important;
}

[data-dsat-panel="courses"] .dsat-content-item:nth-child(3) .dsat-item-icon {
  background: #c1d9e7 !important;
  color: #214f6c !important;
}


/* Clear course titles */

[data-dsat-panel="courses"] .dsat-item-copy strong {
  font-size: 1.18rem !important;
  color: #23384b !important;
  font-weight: 800 !important;
}

[data-dsat-panel="courses"] .dsat-item-copy span {
  color: #60778b !important;
  font-size: .79rem !important;
  margin-top: 7px !important;
}


/* Same blue progression for Test Groups */

.dsat-test-group:nth-child(1) {
  border-left: 5px solid #43a6de !important;
}

.dsat-test-group:nth-child(2) {
  border-left: 5px solid #318cc1 !important;
}

.dsat-test-group:nth-child(3) {
  border-left: 5px solid #225f84 !important;
}


/* Remove old orange / green traces */

.dsat-test-group:nth-child(2) .dsat-test-group-icon,
.dsat-test-group:nth-child(3) .dsat-test-group-icon {
  background: #e3f1f9 !important;
  color: #2877a5 !important;
}


/* Hover */

[data-dsat-panel="courses"] .dsat-content-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(37,56,75,.13) !important;
}
