
.matching-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #f5f7fa;
}
.matching-card {
  width: min(100%, 520px);
  padding: 24px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #ffffff;
  text-align: center;
}
.matching-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.matching-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
}
.matching-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}
.matching-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.matching-result .status-result {
  min-height: auto;
  padding: 0;
  background: transparent;
}
.matching-result .status-card {
  width: 100%;
  border: none;
  padding: 0;
}
.spinner {
  width: 42px;
  height: 42px;
  border: 3px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.matching-text {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
}
.error-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fee2e2;
  color: #dc2626;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.error-text {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 18px;
}
.error-text--with-detail {
  margin-bottom: 4px;
}
.error-detail {
  max-width: 100%;
  margin: 0 auto 18px;
  color: #dc2626;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.retry-button {
  min-width: 140px;
  height: 44px;
  padding: 0 20px;
  border: 1px solid #111827;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
