/* ========================================
   FORGE — Thumbnail Generator
   Design System & Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=Barlow:wght@400;500;600;700&family=Sarabun:wght@400;500;600;700&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0A0A0A;
  --bg-card: #1A1A1A;
  --bg-elevated: #222222;
  --border: #2A2A2A;
  --border-hover: #3A3A3A;
  --accent: #FFE600;
  --accent-dim: rgba(255, 230, 0, 0.12);
  --text: #FFFFFF;
  --text-muted: #999999;
  --text-dim: #666666;
  --success: #22C55E;
  --error: #FF4444;
  --radius: 8px;
  --radius-sm: 4px;
  --transition: 0.2s ease;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', 'Sarabun', sans-serif;
  --font-thai: 'Sarabun', 'Barlow', sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Subtle grid pattern */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* --- TYPOGRAPHY --- */
h2, h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 8px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 560px;
}

.muted { color: var(--text-muted); }

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-nav {
  display: flex;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--accent);
  background: var(--accent-dim);
}

/* Gallery count badge */
.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--accent);
  color: #0D0D0D;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.6875rem;
  border-radius: 100px;
  line-height: 1;
}

/* --- MAIN --- */
.main {
  flex: 1;
  margin-top: 64px;
  padding: 48px 32px 80px;
  max-width: 1440px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

/* --- VIEW SWITCHING --- */
.view {
  display: none;
}
.view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #0D0D0D;
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 230, 0, 0.25);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-approve {
  background: var(--success);
  color: #fff;
  font-size: 0.875rem;
  padding: 10px 20px;
}

.btn-approve:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}

.btn-download {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 10px 20px;
  border: 1px solid var(--border);
}

.btn-download:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 12px 24px;
}

.btn-outline:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
  cursor: pointer;
}

.btn-generate {
  min-width: 220px;
  position: relative;
}

.btn-generate .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-generate.is-loading .btn-label { display: none; }
.btn-generate.is-loading .btn-loading { display: inline-flex !important; }
.btn-generate.is-loading {
  pointer-events: none;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 230, 0, 0.4); }
  50%       { box-shadow: 0 0 24px 4px rgba(255, 230, 0, 0.15); }
}

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(13, 13, 13, 0.3);
  border-top-color: #0D0D0D;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- PROMPT SECTION --- */
.prompt-container {
  max-width: 720px;
  margin: 0 auto;
}

.prompt-box {
  margin-bottom: 24px;
}

.prompt-textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-thai);
  font-size: 1rem;
  color: var(--text);
  resize: vertical;
  min-height: 140px;
  transition: border-color var(--transition), box-shadow var(--transition);
  line-height: 1.6;
}

.prompt-textarea::placeholder {
  color: var(--text-dim);
}

.prompt-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

/* --- PROMPT TEMPLATES --- */
.prompt-templates {
  margin-bottom: 20px;
}

.templates-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.template-chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.template-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* --- CHIPS --- */
.chip-group {
  margin-bottom: 16px;
}

.chip-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

.chip.active {
  background: var(--accent);
  color: #0D0D0D;
  border-color: var(--accent);
  font-weight: 700;
}

/* --- PROMPT ACTIONS --- */
.prompt-actions {
  margin-top: 32px;
  text-align: center;
}

.prompt-hint {
  color: var(--text-dim);
  font-size: 0.8125rem;
  margin-top: 12px;
}

/* --- PROGRESS BAR --- */
.progress-wrap {
  margin-top: 32px;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.progress-text {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-top: 12px;
}

/* --- SKELETON CARDS --- */
.skeleton-wrap {
  margin-top: 32px;
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-img {
  aspect-ratio: 16 / 9;
  background: linear-gradient(110deg, #1A1A1A 25%, #2A2A2A 37%, #1A1A1A 63%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-btn {
  flex: 1;
  height: 40px;
  background: #1A1A1A;
  border-radius: var(--radius-sm);
  background: linear-gradient(110deg, #1A1A1A 25%, #252525 37%, #1A1A1A 63%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- RESULTS SECTION --- */
.results-container {
  max-width: 1100px;
  margin: 0 auto;
}

.results-header {
  margin-bottom: 32px;
}

.results-prompt-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.results-prompt-text {
  font-family: var(--font-thai);
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.5;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* --- THUMBNAIL CARD --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 230, 0, 0.1);
  border-color: var(--border-hover);
}

.card-image-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.thumbnail-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #111;
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.875rem;
  background: var(--accent);
  color: #0D0D0D;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.card-actions {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.card-actions .btn {
  flex: 1;
}

/* Loading skeleton for cards */
.card.is-loading .thumbnail-img {
  background: linear-gradient(110deg, #1A1A1A 25%, #222 37%, #1A1A1A 63%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* --- JSON TOGGLE --- */
.json-toggle-wrap {
  margin-bottom: 32px;
}

.json-toggle-btn {
  margin-bottom: 12px;
  font-size: 0.8125rem;
  padding: 8px 16px;
  border-width: 1px;
}

.json-block {
  background: #111;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  max-height: 500px;
  overflow-y: auto;
}

.json-pre {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.json-key { color: #FFE600; }
.json-string { color: #4ADE80; }
.json-number { color: #60A5FA; }
.json-boolean { color: #F472B6; }
.json-null { color: #999; }
.json-brace { color: #999; }

/* --- REVISION PANEL --- */
.revision-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.revision-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.revision-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-chip-cat {
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
}

.btn-chip-cat:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-chip-cat.active {
  background: var(--accent);
  color: #0D0D0D;
  border-color: var(--accent);
}

.revision-input-wrap {
  display: flex;
  gap: 12px;
  align-items: center;
}

.revision-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-thai);
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color var(--transition);
}

.revision-input::placeholder {
  color: var(--text-dim);
}

.revision-input:focus {
  outline: none;
  border-color: var(--accent);
}

.btn-revise {
  font-size: 0.9375rem;
  padding: 12px 24px;
}

.results-footer {
  text-align: center;
}

/* --- GALLERY --- */
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-card {
  cursor: pointer;
}

.gallery-card .card-meta {
  padding: 12px;
}

.gallery-card .card-date {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.gallery-card .card-prompt-snippet {
  font-family: var(--font-thai);
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.gallery-card .card-actions {
  padding: 0 12px 12px;
}

.gallery-card .btn-download {
  font-size: 0.75rem;
  padding: 6px 12px;
  width: 100%;
}

.gallery-empty {
  text-align: center;
  padding: 80px 20px;
}

.empty-icon {
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.empty-sub {
  color: var(--text-dim);
  font-size: 0.9375rem;
  margin-bottom: 24px;
}

/* --- FACE LIBRARY --- */
.faces-container {
  max-width: 900px;
  margin: 0 auto;
}

.face-drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
  margin-bottom: 32px;
}

.face-drop-zone.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.drop-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.drop-sub {
  color: var(--text-dim);
  font-size: 0.8125rem;
  margin: 8px 0 12px;
}

.faces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}

.face-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.face-card:hover {
  border-color: var(--border-hover);
}

.face-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.face-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--error);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.face-card:hover .face-delete {
  opacity: 1;
}

.faces-empty {
  text-align: center;
  padding: 40px 20px;
}

/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
  animation: fadeIn 0.2s ease;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: var(--error);
  border-color: var(--error);
}

/* --- TOAST --- */
.toast-container {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  min-width: 280px;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: slideInRight 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast.toast-exit {
  animation: slideOutRight 0.25s ease forwards;
}

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.toast.success .toast-dot { background: var(--success); }
.toast.error .toast-dot   { background: var(--error); }
.toast.info .toast-dot    { background: var(--accent); }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

/* --- FOOTER --- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--border);
}

.footer-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .results-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .main {
    padding: 32px 16px 60px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-sub {
    display: none;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .revision-categories {
    flex-direction: column;
  }

  .revision-input-wrap {
    flex-direction: column;
  }

  .card-actions {
    flex-direction: column;
  }

  .face-drop-zone {
    padding: 32px 16px;
  }

  .faces-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }

  .nav-link {
    padding: 8px 10px;
    font-size: 0.8125rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .templates-row {
    gap: 6px;
  }

  .template-chip {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}
