/* =========================
   BÀI LUYỆN MỖI NGÀY
========================= */

.daily-shell,
.daily-result {
  width: 100%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(30,30,40,.08);
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(35,30,70,.10);
}

.daily-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.daily-label {
  color: #7657ff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.daily-head h2 {
  margin-top: 6px;
  font-size: 30px;
  letter-spacing: -1px;
}

.daily-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.daily-stats span {
  background: #f4f2ff;
  border: 1px solid rgba(118,87,255,.10);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
}

.daily-progress-row {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #74747e;
  font-size: 13px;
}

.daily-type {
  color: #5a42d7;
  font-weight: 800;
}

.daily-question {
  margin-top: 32px;
}

.daily-question h3 {
  margin-top: 14px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.daily-question p {
  margin-top: 13px;
  color: #6f6f79;
  font-size: 16px;
  line-height: 1.65;
  max-width: 800px;
}

.daily-options {
  margin-top: 28px;
  display: grid;
  gap: 11px;
}

.daily-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(30,30,40,.10);
  border-radius: 16px;
  padding: 16px;
  color: #28282f;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  transition: .16s ease;
}

.daily-option:hover:not(:disabled) {
  border-color: rgba(118,87,255,.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(40,35,80,.06);
}

.daily-option.chosen {
  border-color: #7657ff;
  background: #f1eeff;
}

.daily-option.chosen .option-letter {
  background: #7657ff;
  color: white;
}

.daily-feedback {
  display: none;
  margin-top: 24px;
  border-top: 1px solid rgba(30,30,40,.08);
  padding-top: 22px;
}

.daily-feedback.show {
  display: block;
  animation: dailyAppear .22s ease;
}

.feedback-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #18181e;
  color: white;
  padding: 16px 18px;
  border-radius: 15px;
}

.feedback-score span {
  color: #c5c5cc;
  font-size: 13px;
}

.feedback-score strong {
  font-size: 23px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.feedback-mini {
  background: #f8f8fb;
  border: 1px solid rgba(30,30,40,.07);
  border-radius: 14px;
  padding: 15px;
}

.feedback-mini span {
  display: block;
  color: #85858f;
  font-size: 11px;
  font-weight: 800;
}

.feedback-mini strong {
  display: block;
  margin-top: 5px;
  font-size: 16px;
}

.feedback-lesson,
.feedback-better {
  margin-top: 12px;
  border-radius: 15px;
  padding: 16px;
}

.feedback-lesson {
  background: #efffdc;
}

.feedback-lesson span {
  color: #537228;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.feedback-lesson p {
  margin-top: 7px;
  color: #34401f;
  line-height: 1.6;
}

.feedback-better {
  background: #fff5df;
}

.feedback-better.good-choice {
  background: #eef8ff;
}

.feedback-better strong {
  display: block;
  font-size: 14px;
}

.feedback-better p {
  margin-top: 7px;
  color: #65656e;
  line-height: 1.55;
  font-size: 14px;
}

.daily-result {
  text-align: center;
}

.daily-result-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #efffd6;
  font-size: 34px;
  font-weight: 900;
}

.daily-result h2 {
  margin-top: 8px;
  font-size: 52px;
  letter-spacing: -2px;
}

.daily-result > p {
  max-width: 650px;
  margin: 10px auto 0;
  color: #74747e;
  line-height: 1.6;
}

.daily-result-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
  text-align: left;
}

.daily-result-stats > div {
  background: #18181e;
  color: white;
  padding: 18px;
  border-radius: 17px;
}

.daily-result-stats span {
  display: block;
  color: #bdbdc5;
  font-size: 12px;
}

.daily-result-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 23px;
}

.daily-result-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@keyframes dailyAppear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 650px) {
  .daily-shell,
  .daily-result {
    padding: 23px;
    border-radius: 22px;
  }

  .daily-head {
    flex-direction: column;
  }

  .daily-stats {
    justify-content: flex-start;
  }

  .feedback-grid,
  .daily-result-stats {
    grid-template-columns: 1fr;
  }
}
