@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #f8fafc;
}

.hero-bg {
  background: linear-gradient(135deg, #111827 0%, #1e293b 50%, #064e3b 100%);
}

.score-circle {
  background: conic-gradient(#10b981 0deg 280deg, #1e293b 280deg 360deg);
}

.iframe-container {
  position: relative;
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
  border: 2px solid #1e293b;
  background: #111827;
}

.iframe-container iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}

.iframe-toolbar {
  background: #111827;
  color: white;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.iframe-toolbar .dots {
  display: flex;
  gap: 6px;
}

.iframe-toolbar .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.iframe-toolbar .url-bar {
  flex: 1;
  background: #1e293b;
  border-radius: 8px;
  padding: 6px 14px;
  color: #94a3b8;
  font-family: monospace;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iframe-toolbar .toggle-btn {
  background: #1e293b;
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.iframe-toolbar .toggle-btn:hover {
  background: #374151;
}

.iframe-toolbar .toggle-btn.active {
  background: #10b981;
}

.star-rating {
  color: #f59e0b;
  letter-spacing: 2px;
}

.grade-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 16px;
}

.grade-A {
  background: #ecfdf5;
  color: #065f46;
}

.grade-B {
  background: #eff6ff;
  color: #1e40af;
}

.grade-C {
  background: #fffbeb;
  color: #92400e;
}

.grade-D {
  background: #fef2f2;
  color: #991b1b;
}

.grade-F {
  background: #fef2f2;
  color: #991b1b;
}

@media (max-width: 1400px) {
  .annotation-card {
    position: static !important;
    width: 100% !important;
    margin-bottom: 8px;
  }
}
