/* ================================================
   공용 Empty State 스타일
   - 데이터 없는 화면에서 재사용되는 CTA 카드/링크
   - 사용처: notebook, quiz, (향후) 기타 화면
   - 오늘 만든 .myinfo-empty-state와 별개(하위 호환 유지)
   ================================================ */

/* 큰 Empty State 카드 (notebook-screen, quiz-screen 등) */
.empty-state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  margin: 24px auto;
  max-width: 420px;
  background: linear-gradient(135deg, #faf8ff 0%, #f3edff 100%);
  border: 1px solid #e0d4f5;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(90, 63, 160, 0.06);
}

.empty-state-icon {
  font-size: 56px;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.9;
}

.empty-state-title {
  font-size: 18px;
  font-weight: 700;
  color: #2d1b5c;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.empty-state-desc {
  font-size: 14px;
  color: #6b5b8a;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

/* CTA 버튼 (primary) */
.empty-state-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #5a3fa0;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 8px rgba(90, 63, 160, 0.25);
}

.empty-state-btn:hover {
  background: #6b4dbd;
}

.empty-state-btn:active {
  transform: scale(0.97);
}

.empty-state-btn:focus-visible {
  outline: 2px solid #8a6dd8;
  outline-offset: 2px;
}

/* 인라인 CTA 링크 (통계 카드 등 작은 공간용) */
.empty-state-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #5a3fa0;
  text-decoration: none;
  border-bottom: 1px dashed #b09fd8;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.empty-state-link:hover {
  color: #3f2a7a;
  border-bottom-color: #5a3fa0;
}

/* 좁은 화면 대응 (모바일) */
@media (max-width: 480px) {
  .empty-state-card {
    padding: 36px 20px;
    margin: 16px auto;
    max-width: 100%;
  }

  .empty-state-icon {
    font-size: 48px;
  }

  .empty-state-title {
    font-size: 16px;
  }

  .empty-state-desc {
    font-size: 13px;
  }
}
/* ===== Toast 알림 (Step 5C: Review Empty State) ===== */
.empty-state-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(45, 45, 60, 0.96);
  color: #fff;
  padding: 14px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  z-index: 10000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  max-width: 88%;
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.empty-state-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .empty-state-toast {
    bottom: 80px;
    font-size: 13px;
    padding: 12px 20px;
  }
}