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

.icon-badge {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border-radius: 9999px;
  border: 1px solid oklch(0.87 0 0);
  background-color: #ffffff;
  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;
}

.icon-badge__icon {
  display: flex;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  background-color: oklch(0.95 0 0);
  transition: background-color 150ms ease;
}

.icon-badge__icon svg {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-badge:hover .icon-badge__icon {
  background-color: oklch(0.9 0 0);
}

.icon-badge__label {
  padding: 0 0.625rem;
}

@media (prefers-reduced-motion: reduce) {
  .icon-badge__icon {
    transition: 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);
}
.badge09-layout {
  display: flex;
  min-height: 20rem;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.badge09-layout__panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  padding: 2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 16px 40px -16px rgba(0, 0, 0, 0.14);
}
