body {
  font-family: "Kanit", sans-serif;
}

.admin-avatar {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.member-search {
  width: 340px;
}

.cs-login-page {
  background: #eef4f8;
}

.cs-checkin-page {
  background:
    radial-gradient(circle at top left, rgba(40, 167, 69, 0.18), transparent 34rem),
    linear-gradient(135deg, #f6fbff 0%, #eaf4ef 100%);
  min-height: 100vh;
}

.checkin-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}

.checkin-panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  max-width: 760px;
  padding: 36px;
  width: 100%;
}

.checkin-brand {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.checkin-brand h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin: 0;
}

.checkin-brand p {
  color: #607080;
  font-size: 18px;
  margin: 4px 0 0;
}

.brand-icon {
  align-items: center;
  background: #007bff;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 32px;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.status-card {
  border: 2px solid #dbe7ef;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.status-icon {
  font-size: 52px;
  margin-bottom: 10px;
}

.status-card h2 {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
}

.status-card p {
  color: #566474;
  font-size: 20px;
  margin: 8px 0 0;
}

.status-waiting {
  background: #f8fbfd;
  color: #007bff;
}

.status-success {
  background: #edf9f1;
  border-color: #28a745;
  color: #218838;
}

.status-duplicate {
  background: #fff7e6;
  border-color: #ffc107;
  color: #b7791f;
}

.status-not-found,
.status-error {
  background: #fff1f1;
  border-color: #dc3545;
  color: #c82333;
}

.member-result {
  border-left: 4px solid #007bff;
  margin-top: 24px;
  padding-left: 16px;
}

.member-result span,
.member-result small,
.member-result strong {
  display: block;
}

.member-result strong {
  font-size: 28px;
}

.member-result small {
  color: #607080;
  font-size: 17px;
}

.error-page-wrapper {
  align-items: center;
  background: #f4f6f9;
  display: flex;
  font-family: "Kanit", sans-serif;
  justify-content: center;
  min-height: 100vh;
}

.error-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  max-width: 460px;
  padding: 32px;
  text-align: center;
}

@media (max-width: 767px) {
  .member-search {
    margin-top: 12px;
    width: 100%;
  }

  .checkin-panel {
    padding: 24px;
  }

  .checkin-brand h1 {
    font-size: 32px;
  }

  .status-card h2 {
    font-size: 26px;
  }

  .status-card p {
    font-size: 17px;
  }
}
