/*
  Badge 04 — Verified Badge — standalone HTML/CSS implementation.
  No build step, no framework, no external dependency: copy index.html and
  this file into any project as-is.
*/

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid oklch(0.87 0 0);
  background-color: #ffffff;
  padding: 0.25rem 0.625rem 0.25rem 0.25rem;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: oklch(0.145 0 0);
  white-space: nowrap;
}

.verified-badge__icon {
  display: flex;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: oklch(0.145 0 0);
  color: #ffffff;
  animation: verified-badge-in 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.verified-badge__icon svg {
  width: 0.625rem;
  height: 0.625rem;
}

@keyframes verified-badge-in {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes verified-badge-nudge {
  50% {
    transform: scale(1.12);
  }
}

.verified-badge:hover .verified-badge__icon {
  animation: verified-badge-nudge 320ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .verified-badge__icon {
    animation: none;
  }
}

/*
  Page layout — the canvas this resource is presented on. Adjust or drop it
  when placing the resource inside your own layout.
*/

body {
  margin: 0;
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(to bottom, #fafafa, #f4f4f5);
}
.badge04-layout {
  display: flex;
  min-height: 20rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.badge04-layout__panel {
  display: flex;
  width: 100%;
  max-width: 22rem;
  flex-direction: column;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -16px rgba(0, 0, 0, 0.14);
}
.badge04-layout__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.badge04-layout__avatar {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #171717;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge04-layout__name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}
.badge04-layout__sub {
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: #737373;
}
