/* Test Seç — çok adımlı akış */
.solve-select-page {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 2rem;
}

.step-bar {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto 2rem;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.step-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin-bottom: 18px;
}
.step-line.done {
  background: #1d9e75;
}
.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  border: 1.5px solid #e0e0e0;
  color: #aaa;
  background: white;
}
.step-circle.done {
  background: #1d9e75;
  border-color: #1d9e75;
  color: white;
}
.step-circle.active {
  border-color: #1d9e75;
  color: #1d9e75;
}
.step-label {
  font-size: 11px;
  color: #999;
}
.step-label.active {
  color: #1d9e75;
  font-weight: 500;
}

.resume-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e1f5ee;
  border: 1px solid #5dcaa5;
  border-radius: 10px;
  padding: 12px 16px;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.resume-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1d9e75;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.resume-text {
  flex: 1;
  min-width: 0;
}
.resume-title {
  font-size: 13px;
  font-weight: 600;
  color: #085041;
}
.resume-sub {
  font-size: 12px;
  color: #0f6e56;
  margin-top: 2px;
}
.resume-btn {
  font-size: 13px;
  font-weight: 500;
  color: #1d9e75;
  border: 1.5px solid #1d9e75;
  border-radius: 8px;
  padding: 6px 14px;
  background: white;
  text-decoration: none;
  white-space: nowrap;
}

.step-screen {
  max-width: 640px;
  margin: 0 auto;
}
.exam-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #e1f5ee;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: #085041;
  margin-bottom: 1rem;
}
.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d9e75;
}
.chip-change {
  font-size: 12px;
  color: #1d9e75;
  margin-left: 4px;
}
.step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text, #0f172a);
}
.step-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 1.25rem;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sel-card {
  border: 1.5px solid #e5e5e5;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  background: var(--color-surface-elevated, #fff);
  color: inherit;
  text-align: left;
  font: inherit;
  transition: border-color 0.15s, background 0.15s;
}
a.sel-card {
  text-decoration: none;
  display: block;
}
.sel-card:hover {
  border-color: #5dcaa5;
}
.sel-card.selected {
  border-color: #1d9e75;
  background: #e1f5ee;
}
.sel-card-name {
  font-size: 15px;
  font-weight: 500;
}
.sel-card-meta {
  font-size: 12px;
  color: #888;
  margin-top: 3px;
}
.sel-card.selected .sel-card-name {
  color: #085041;
}
.unit-loading {
  font-size: 14px;
  color: #888;
  padding: 12px;
  text-align: center;
}
.unit-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.unit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  cursor: pointer;
  background: var(--color-surface-elevated, #fff);
  transition: border-color 0.15s, background 0.15s;
}
.unit-item:hover {
  border-color: #5dcaa5;
}
.unit-item.selected {
  border-color: #1d9e75;
  background: #e1f5ee;
}
.unit-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #999;
  flex-shrink: 0;
}
.unit-item.selected .unit-num {
  background: #1d9e75;
  color: white;
}
.unit-name {
  flex: 1;
  font-size: 14px;
  min-width: 0;
}
.unit-q {
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 1.25rem 0;
}
@media (max-width: 640px) {
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.sum-box {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.sum-val {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sum-lbl {
  font-size: 11px;
  color: #888;
  margin-top: 3px;
}
.start-btn {
  width: 100%;
  padding: 14px;
  background: #1d9e75;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.start-btn:hover {
  filter: brightness(1.03);
}
.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
}
.nav-back {
  font-size: 13px;
  color: #999;
  cursor: pointer;
}
.nav-back:hover {
  color: #1d9e75;
}
.nav-next {
  font-size: 13px;
  font-weight: 500;
  color: #1d9e75;
  cursor: pointer;
}
.nav-next:hover {
  text-decoration: underline;
}

.solve-select-empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-text-muted, #64748b);
}

html[data-theme='dark'] .step-line {
  background: #334155;
}
html[data-theme='dark'] .step-circle {
  background: #1e293b;
  border-color: #475569;
  color: #94a3b8;
}
html[data-theme='dark'] .step-circle.done {
  background: #1d9e75;
  border-color: #1d9e75;
  color: #fff;
}
html[data-theme='dark'] .step-circle.active {
  border-color: #34d399;
  color: #34d399;
}
html[data-theme='dark'] .step-label {
  color: #94a3b8;
}
html[data-theme='dark'] .step-label.active {
  color: #34d399;
}
html[data-theme='dark'] .resume-banner {
  background: rgba(29, 158, 117, 0.15);
  border-color: rgba(52, 211, 153, 0.35);
}
html[data-theme='dark'] .resume-title {
  color: #a7f3d0;
}
html[data-theme='dark'] .resume-sub {
  color: #6ee7b7;
}
html[data-theme='dark'] .resume-btn {
  background: #1e293b;
  color: #6ee7b7;
  border-color: #34d399;
}
html[data-theme='dark'] .exam-chip {
  background: rgba(29, 158, 117, 0.2);
  color: #a7f3d0;
}
html[data-theme='dark'] .step-sub {
  color: #94a3b8;
}
html[data-theme='dark'] .sel-card {
  border-color: #334155;
  background: #1e293b;
}
html[data-theme='dark'] .sel-card.selected {
  background: rgba(29, 158, 117, 0.2);
  border-color: #34d399;
}
html[data-theme='dark'] .sel-card-meta,
html[data-theme='dark'] .unit-q {
  color: #94a3b8;
}
html[data-theme='dark'] .unit-item {
  border-color: #334155;
  background: #1e293b;
}
html[data-theme='dark'] .unit-item.selected {
  background: rgba(29, 158, 117, 0.2);
  border-color: #34d399;
}
html[data-theme='dark'] .unit-num {
  background: #334155;
  color: #cbd5e1;
}
html[data-theme='dark'] .sum-box {
  background: #334155;
}
html[data-theme='dark'] .sum-val {
  color: #f1f5f9;
}
html[data-theme='dark'] .sum-lbl {
  color: #94a3b8;
}

.study-tip-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #E1F5EE;
  border: 0.5px solid #5DCAA5;
  border-radius: var(--border-radius-lg);
  padding: 1.1rem 1.25rem;
  margin-top: 1.5rem;
}
.tip-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1D9E75;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tip-icon-wrap svg { fill: white; }
.tip-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(29,158,117,0.15);
  color: #0F6E56;
  margin-bottom: 5px;
}
.tip-title { font-size: 13px; font-weight: 500; color: #085041; margin-bottom: 3px; }
.tip-text { font-size: 13px; color: #0F6E56; line-height: 1.55; }

.blog-section { max-width: 760px; margin: 2.5rem auto 0; padding: 0 1rem 3rem; }
.blog-section-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary, #888);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.blog-card {
  background: white;
  border: 0.5px solid #e5e5e5;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-decoration: none;
}
.blog-card:hover { border-color: #5DCAA5; }
.blog-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f5f5f5;
  color: #666;
  display: inline-block;
  width: fit-content;
}
.blog-title { font-size: 13px; font-weight: 500; color: #111; line-height: 1.4; }
.blog-meta { font-size: 11px; color: #aaa; margin-top: auto; }
.blog-read { font-size: 12px; color: #1D9E75; }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

html[data-theme='dark'] .study-tip-card {
  background: rgba(29,158,117,0.15);
  border-color: rgba(93,202,165,0.5);
}
html[data-theme='dark'] .tip-badge { color: #6ee7b7; }
html[data-theme='dark'] .tip-title { color: #a7f3d0; }
html[data-theme='dark'] .tip-text { color: #6ee7b7; }

html[data-theme='dark'] .blog-card {
  background: #1e293b;
  border-color: #334155;
}
html[data-theme='dark'] .blog-card:hover { border-color: #34d399; }
html[data-theme='dark'] .blog-tag { background: #334155; color: #94a3b8; }
html[data-theme='dark'] .blog-title { color: #f1f5f9; }
html[data-theme='dark'] .blog-meta { color: #94a3b8; }
html[data-theme='dark'] .blog-read { color: #34d399; }
