/* Digital SAT Explorer */

.dsat-explorer {
  background: linear-gradient(180deg,#fff 0%,#f6f9fc 100%);
  padding: 0 0 55px;
}

.dsat-explorer[hidden] {
  display: none !important;
}

.dsat-explorer-card {
  max-width: 1120px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(44,62,80,.09);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(16,24,40,.08);
}

.dsat-explorer-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 28px;
}

.dsat-kicker {
  display: block;
  color: #2980b9;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .11em;
  margin-bottom: 7px;
}

.dsat-explorer-top h2 {
  color: #2c3e50;
  font-size: 2rem;
  font-weight: 750;
  margin: 0 0 8px;
}

.dsat-explorer-top p {
  color: #667085;
  max-width: 680px;
  margin: 0;
}

.dsat-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e4e7ec;
  background: #fff;
  color: #344054;
  flex-shrink: 0;
}

.dsat-counts {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.dsat-count {
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  padding: 16px;
  background: #f9fafb;
  text-align: left;
  cursor: pointer;
  transition: .2s ease;
}

.dsat-count strong {
  display: block;
  color: #2c3e50;
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 6px;
}

.dsat-count span {
  color: #667085;
  font-size: .82rem;
  font-weight: 600;
}

.dsat-count.active {
  background: #eef7fd;
  border-color: rgba(52,152,219,.32);
  box-shadow: inset 0 3px 0 #3498db;
}

.dsat-tab-panel {
  display: none;
}

.dsat-tab-panel.active {
  display: block;
}

.dsat-panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.dsat-panel-title h3 {
  color: #2c3e50;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.dsat-panel-title p {
  color: #98a2b3;
  font-size: .82rem;
  margin: 0;
}

.dsat-content-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
  max-height: 430px;
  overflow-y: auto;
  padding-right: 4px;
}

.dsat-content-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  background: #f9fafb;
  border: 1px solid #edf0f4;
  border-radius: 14px;
  padding: 11px 13px;
  text-decoration: none;
  transition: .2s ease;
}

.dsat-content-item:hover {
  background: #eef7fd;
  border-color: rgba(52,152,219,.22);
  transform: translateY(-1px);
}

.dsat-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2980b9;
  background: #e8f4fc;
  flex-shrink: 0;
}

.dsat-item-copy {
  flex: 1;
  min-width: 0;
}

.dsat-item-copy strong {
  display: block;
  color: #344054;
  font-size: .88rem;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dsat-item-copy span {
  color: #98a2b3;
  font-size: .72rem;
}

.dsat-item-arrow {
  color: #98a2b3;
  font-size: .75rem;
}

.dsat-empty {
  grid-column: 1 / -1;
  padding: 30px;
  text-align: center;
  color: #98a2b3;
  background: #f9fafb;
  border-radius: 14px;
}

@media(max-width:767px) {

  .dsat-explorer {
    padding: 0 12px 42px;
  }

  .dsat-explorer-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .dsat-counts {
    grid-template-columns: repeat(2,1fr);
  }

  .dsat-content-grid {
    grid-template-columns: 1fr;
  }

  .dsat-explorer-top h2 {
    font-size: 1.65rem;
  }
}

/* Digital SAT Test Groups */

.dsat-test-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dsat-test-group {
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 16px;
  overflow: hidden;
}

.dsat-test-group-toggle {
  width: 100%;
  min-height: 76px;
  border: 0;
  background: #f9fafb;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  text-align: left;
  transition: .2s ease;
}

.dsat-test-group-toggle:hover {
  background: #eef7fd;
}

.dsat-test-group-left {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dsat-test-group-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f4fc;
  color: #2980b9;
  flex-shrink: 0;
}

.dsat-test-group-left strong {
  display: block;
  color: #2c3e50;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.dsat-test-group-left span {
  display: block;
  color: #98a2b3;
  font-size: .75rem;
}

.dsat-test-group-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dsat-test-count-badge {
  min-width: 34px;
  height: 27px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e8f4fc;
  color: #2980b9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
}

.dsat-test-chevron {
  color: #98a2b3;
  transition: transform .2s ease;
}

.dsat-test-group.open .dsat-test-chevron {
  transform: rotate(180deg);
}

.dsat-test-group-content {
  padding: 12px;
  border-top: 1px solid #edf0f4;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}

.dsat-test-group-content[hidden] {
  display: none !important;
}

.dsat-grouped-test {
  background: #fff;
}

@media(max-width:767px) {
  .dsat-test-group-content {
    grid-template-columns: 1fr;
  }
}
