/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */

body {
  margin: 0;
  padding: 0;
}
.reviewstack-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  color: #24292f;
  background-color: #f6f8fa;
}
.reviewstack-loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #d0d7de;
  border-top-color: #0969da;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.reviewstack-loading-text {
  margin-top: 16px;
  font-size: 14px;
  color: #57606a;
}
.reviewstack-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  color: #24292f;
  background-color: #f6f8fa;
  padding: 20px;
  text-align: center;
}
.reviewstack-error-title {
  font-size: 18px;
  font-weight: 600;
  color: #cf222e;
  margin-bottom: 8px;
}
.reviewstack-error-message {
  font-size: 14px;
  color: #57606a;
  max-width: 500px;
}
.reviewstack-error-retry {
  margin-top: 16px;
  padding: 8px 16px;
  background-color: #0969da;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}
.reviewstack-error-retry:hover {
  background-color: #0860ca;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
