
.scop-quiz-table {
  width: 100%;
  border-collapse: collapse;
  background: #1a1a26;
  font-size: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
  color: #f5f5f5;
}

.scop-quiz-table td {
  padding: 0.6em 0.7em;
  border-bottom: 1px solid #c9aa40;
}

.scop-quiz-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.6em;
  align-items: center;
}

.scop-title {
  font-weight: bold;
  font-size: 1.02em;
  color: #f4d06f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scop-actions {
  display: flex;
  gap: 0.3em;
  justify-content: flex-end;
}

.scop-metadata {
  display: flex;
  align-items: center;
  gap: 0.4em;
  white-space: nowrap;
  justify-content: flex-end;
}

.scop-icon-button {
  all: unset;
  background: #2e2e42;
  color: #ffd700;
  font-size: 0.9em;
  padding: 0.3em;
  border-radius: 6px;
  width: 1.8em;
  height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.scop-icon-button:hover {
  background: #ffd700;
  color: #1b1b28;
}

.scop-favorite {
  font-size: 1.1em;
  cursor: pointer;
}
.scop-favorite.inactive { color: #666; }
.scop-favorite.active { color: #FFD700; }

.scop-difficulty {
  font-size: 0.75em;
  padding: 0.25em 0.6em;
  border-radius: 1em;
  font-weight: bold;
}
.easy { background: #2e4f2e; color: #afffaf; }
.medium { background: #6d641f; color: #fffca8; }
.hard { background: #672a2a; color: #ffb0b0; }

.scop-progress {
  display: flex;
  align-items: center;
  gap: 0.3em;
}
.scop-progress-bar {
  width: 60px;
  height: 6px;
  background: #2f2f4f;
  border-radius: 4px;
  overflow: hidden;
}
.scop-progress-bar-inner {
  height: 100%;
  background: linear-gradient(to right, #FFD700, #ffa500);
  transition: width 0.3s ease;
}
.scop-progress-label {
  font-size: 0.75em;
}

.scop-subject {
  font-size: 0.85em;
  color: #00ffcc;
  font-weight: bold;
  grid-column: span 3;
  padding-left: 0.25em;
}

.scop-recommended {
  font-size: 0.65em;
  background: #1e4e88;
  color: #aee4ff;
  padding: 0.2em 0.4em;
  border-radius: 0.5em;
}

@media (max-width: 768px) {
  .scop-quiz-row {
    grid-template-columns: 1fr;
    gap: 0.4em;
  }
  .scop-metadata,
  .scop-actions {
    justify-content: flex-start;
  }
}
/* Scrollbar vertical elegant pentru tabelul de quizuri */
.scop-quiz-table-scrollable {
  max-height: 430px;      /* sau 60vh pentru responsive, ajustează după nevoi */
  overflow-y: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  background: #151520;
  margin-bottom: 1.2em;
  box-shadow: 0 4px 18px rgba(0,0,0,0.09);
}

/* Custom scrollbar - premium look, și pe mobile */
.scop-quiz-table-scrollable::-webkit-scrollbar {
  width: 8px;
  background: #232342;
}
.scop-quiz-table-scrollable::-webkit-scrollbar-thumb {
  background: #FFD700aa;
  border-radius: 6px;
}
.scop-quiz-table-scrollable::-webkit-scrollbar-thumb:hover {
  background: #ffd700;
}

/* Pentru Firefox */
.scop-quiz-table-scrollable {
  scrollbar-width: thin;
  scrollbar-color: #FFD700 #232342;
}
