/* Student Result — card design */
.sr-wrapper {
  max-width: 460px;
  margin: 40px auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.sr-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  text-align: center;
}

/* ---------- Step 1: Search form ---------- */
.sr-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #eaf1fd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.sr-icon-circle svg { width: 34px; height: 34px; color: #2563eb; }

.sr-title { font-size: 22px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.sr-subtitle { color: #64748b; font-size: 14px; margin: 0 0 26px; }

.sr-field { text-align: left; margin-bottom: 18px; }
.sr-field label { display: block; font-weight: 600; font-size: 14px; color: #0f172a; margin-bottom: 6px; }

.sr-input-wrap { position: relative; }
.sr-input-wrap .sr-input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: #94a3b8; pointer-events: none;
}
.sr-input-wrap input[type="text"] {
  width: 100%;
  padding: 11px 12px 11px 40px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  box-sizing: border-box;
}
.sr-input-wrap input[type="text"]:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.sr-submit-wrap { margin-top: 22px; }
.sr-submit-wrap input[type="submit"],
.sr-submit-wrap button {
  width: 100%;
  background: #1d4ed8;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.sr-submit-wrap input[type="submit"]:hover,
.sr-submit-wrap button:hover { background: #1e40af; }

/* ---------- Step 2: Result found ---------- */
.sr-card.success { background: #f0fdf4; }

.sr-check-circle {
  width: 76px; height: 76px; border-radius: 50%;
  background: #22c55e; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.sr-check-circle svg { width: 38px; height: 38px; color: #fff; }

.sr-congrats { color: #15803d; font-size: 27px; font-weight: 800; margin: 0 0 8px; }
.sr-selected-text { color: #166534; font-size: 15px; margin: 0 0 20px; }

.sr-course-badge {
  background: #dcfce7;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  color: #14532d;
  font-size: 18px;
  margin-bottom: 22px;
}
.sr-course-badge svg { width: 22px; height: 22px; flex-shrink: 0; }

.sr-help-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}
.sr-help-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: #2563eb; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sr-help-icon svg { width: 18px; height: 18px; color: #fff; }
.sr-help-title { font-weight: 700; color: #0f172a; font-size: 14px; margin: 0 0 4px; }
.sr-help-desc { color: #64748b; font-size: 13px; margin: 0; line-height: 1.4; }

/* ---------- Step 3: Result not found ---------- */
.sr-card.not-found { background: #fef2f2; }

.sr-doc-icon { width: 84px; height: 84px; margin: 0 auto 18px; position: relative; }
.sr-doc-icon svg.doc { width: 84px; height: 84px; color: #cbd5e1; }
.sr-doc-icon .x-badge {
  position: absolute; bottom: -4px; right: -6px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #ef4444; display: flex; align-items: center; justify-content: center;
}
.sr-doc-icon .x-badge svg { width: 16px; height: 16px; color: #fff; }

.sr-sorry { color: #dc2626; font-size: 27px; font-weight: 800; margin: 0 0 4px; }
.sr-not-found-text { color: #dc2626; font-weight: 700; font-size: 16px; margin: 0 0 16px; }
.sr-not-found-desc { color: #64748b; font-size: 14px; margin: 0 0 26px; line-height: 1.4; }

.sr-try-again {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  background: #fff;
  border-radius: 10px;
  padding: 11px 22px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.sr-try-again:hover { background: #eff6ff; }
.sr-try-again svg { width: 16px; height: 16px; }
