/* Recent Attempts Component Styles */

/* Container styles */
.recent-attempts-container {
  margin-top: 1.5rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 1rem;
}

/* Title styles */
.recent-attempts-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

/* List container */
.attempts-list {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  max-height: 24rem;
  overflow-y: auto;
}

/* Item styles */
.attempt-card {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-left-width: 4px;
  transition-property: all;
  transition-duration: 200ms;
}

/* Correct/incorrect variants */
.attempt-card.correct-attempt {
  border-color: #10b981;
  background-color: #ecfdf5;
}

.attempt-card.incorrect-attempt {
  border-color: #ef4444;
  background-color: #fef2f2;
}

/* Entity part */
.attempt-entity-part {
  display: flex;
  align-items: center;
}

.attempt-icon-container {
  margin-right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
}

.attempt-entity-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.attempt-entity-info {
  display: flex;
  flex-direction: column;
}

.attempt-entity-name {
  font-weight: 500;
  color: #1f2937;
}

.attempt-entity-detail {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Result part */
.attempt-result {
  display: flex;
  align-items: center;
}

.result-indicator {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.correct-result {
  color: #10b981;
}

.incorrect-result {
  color: #ef4444;
}
