:root {
  --page-bg: #f3efe4;
  --page-bg-accent:
    radial-gradient(
      circle at top left,
      rgba(47, 141, 70, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 161, 22, 0.14),
      
      transparent 22%
    ),
    linear-gradient(180deg, #f7f3e8 0%, #ece5d6 100%);
  --panel-bg: rgba(255, 252, 246, 0.88);
  --panel-border: rgba(30, 41, 59, 0.08);
  --text-strong: #162014;
  --text-muted: #536055;
  --accent: #2f8d46;
  --accent-strong: #226735;
  --accent-soft: rgba(47, 141, 70, 0.12);
  --secondary-bg: rgba(22, 32, 20, 0.04);
  --input-bg: rgba(255, 255, 255, 0.86);
  --shadow: 0 10px 22px rgba(29, 37, 29, 0.045);
  --code-bg: #152313;
  --code-text: #f1f8f0;
  --output-bg: linear-gradient(180deg, #f8fbf4 0%, #eff4ea 100%);
  --output-border: rgba(47, 141, 70, 0.14);
  --output-label: #69816b;
  --output-code: #16301d;
  --footer-link-bg: rgba(255, 255, 255, 0.7);
  --footer-link-border: rgba(22, 32, 20, 0.08);
  --toggle-row-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(246, 243, 236, 0.94) 100%
  );
  --toggle-track-bg: linear-gradient(180deg, #dfdfdf 0%, #cfcfcf 100%);
  --toggle-track-border: rgba(22, 32, 20, 0.12);
  --toggle-thumb-bg: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  --toggle-on-bg: linear-gradient(180deg, #3b9f51 0%, #2f8d46 100%);
  --toggle-row-active: rgba(47, 141, 70, 0.08);
  --raw-preview-bg: linear-gradient(180deg, #fbfcf8 0%, #eef3ea 100%);
  --raw-preview-border: rgba(47, 141, 70, 0.12);
  --raw-preview-text: #17311e;
}

:root[data-theme="dark"] {
  --page-bg: #09110d;
  --page-bg-accent:
    radial-gradient(
      circle at top left,
      rgba(251, 146, 60, 0.28),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 18%,
      rgba(239, 68, 68, 0.18),
      transparent 26%
    ),
    linear-gradient(180deg, #1a0f09 0%, #251512 100%);
  --panel-bg: rgba(10, 18, 13, 0.78);
  --panel-border: rgba(214, 232, 219, 0.08);
  --text-strong: #edf6ee;
  --text-muted: #9fb2a2;
  --accent: #58b368;
  --accent-strong: #81d38d;
  --accent-soft: rgba(88, 179, 104, 0.16);
  --secondary-bg: rgba(255, 255, 255, 0.05);
  --input-bg: rgba(255, 255, 255, 0.04);
  --shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  --code-bg: #050b08;
  --code-text: #ddf0df;
  --output-bg: linear-gradient(
    180deg,
    rgba(11, 24, 14, 0.96) 0%,
    rgba(13, 31, 16, 0.96) 100%
  );
  --output-border: rgba(88, 179, 104, 0.14);
  --output-label: rgba(221, 240, 223, 0.62);
  --output-code: #eff9ef;
  --footer-link-bg: rgba(255, 255, 255, 0.04);
  --footer-link-border: rgba(214, 232, 219, 0.08);
  --toggle-row-bg: rgba(255, 255, 255, 0.04);
  --toggle-track-bg: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  --toggle-track-border: rgba(214, 232, 219, 0.1);
  --toggle-thumb-bg: linear-gradient(180deg, #ffffff 0%, #e8efe9 100%);
  --toggle-on-bg: linear-gradient(180deg, #63bf74 0%, #4aa85c 100%);
  --toggle-row-active: rgba(88, 179, 104, 0.12);
  --raw-preview-bg: var(--code-bg);
  --raw-preview-border: transparent;
  --raw-preview-text: var(--code-text);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-strong);
  background: var(--page-bg-accent);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 85%);
}

.page-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-inline: 16px;
  padding: 40px 0 28px;
  overflow-x: clip;
}

.hero {
  margin-bottom: 28px;
}

.hero-copy {
  position: relative;
  padding: 28px;
  border: 1px solid transparent;
  background: var(--panel-bg);
  background-clip: padding-box;
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 0 1px var(--panel-border),
    var(--shadow);
  border-radius: 28px;
  overflow: hidden;
  max-width: 100%;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  /* gap: 16px; */
}

.brand-mark {
  display: block;
  width: 88px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
  margin-top: 0;
}

.theme-toggle-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.theme-toggle {
  border: 1px solid var(--panel-border);
  background: var(--secondary-bg);
  color: var(--text-strong);
  border-radius: 99px;
  padding: 10px 15px;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex: 0 0 32px;
  line-height: 0;
}

.theme-toggle-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.hero h1 {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.hero h1 span {
  color: #2f8d46;
}

.eyebrow {
  margin: 22px 0 8px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1 {
  font-family: "Nunito", sans-serif;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1px;

  margin: 0;
  line-height: 0.96;
  max-width: 15ch;
}

.lead {
  font-family: "Inter", sans-serif;
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-meta span {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text-strong);
  font-size: 0.9rem;
}

/* Layout Section   */

.select-wrap {
  position: relative;
  width: 100%;
}

.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 56px;
  padding: 0 52px 0 18px;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ),
    var(--input-bg);

  color: var(--text-strong);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;

  transition: all 0.25s ease;

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 18px rgba(0, 0, 0, 0.06);
}

/* Hover */

.select-wrap select:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Focus */

.select-wrap select:focus {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-soft),
    0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Custom Arrow */

.select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: 0.3s;
}

.select-wrap:hover::after {
  color: var(--accent);
}

/* Divider */
.select-wrap::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 48px;
  width: 1px;
  background: var(--panel-border);
}

/* Dropdown Options */

.select-wrap select option {
  background: var(--panel-bg);
  color: var(--text-strong);
  padding: 12px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}

/* Pulse Animation */

.status-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(2.8);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

/* Offline */

.status.offline {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color: #dc2626;
}

.status.offline .status-dot {
  background: #ef4444;
}

/* Loading */

.status.loading {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: #d97706;
}

.status.loading .status-dot {
  background: #f59e0b;
}

.layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 22px;
  min-width: 0;
}

.layout > * {
  min-width: 0;
}

.panel {
  position: relative;
  border: 1px solid transparent;
  background: var(--panel-bg);
  background-clip: padding-box;
  backdrop-filter: blur(18px);
  box-shadow:
    inset 0 0 0 1px var(--panel-border),
    var(--shadow);
  border-radius: 28px;
  overflow: hidden;
  padding: 24px;
  max-width: 100%;
}

.panel-header h2 {
  font-family: "Nunito", sans-serif;
  margin: 0;
  font-size: 1.25rem;
}

.panel-header p {
  font-family: "Inter", sans-serif;
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.controls-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-size: 0.92rem;
  color: var(--text-muted);
}

input,
select,
button {
  font: inherit;
}

input,
select {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: var(--input-bg);
  color: var(--text-strong);
  padding: 15px 16px;
  outline: none;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 48px;
  cursor: pointer;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.select-wrap::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 44px;
  bottom: 10px;
  width: 1px;
  background: var(--panel-border);
  pointer-events: none;
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.select-wrap:focus-within::after {
  border-color: var(--accent);
  transform: translateY(-58%) rotate(45deg);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checkbox-field {
  justify-content: flex-end;
}

.toggle-row {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-radius: 18px;
  border: 1px solid var(--panel-border);
  background: var(--toggle-row-bg);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.toggle-row:has(#raw:checked) {
  border-color: var(--output-border);
  background: linear-gradient(
    180deg,
    var(--toggle-row-active) 0%,
    var(--toggle-row-bg) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.toggle-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-switch {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 52px;
  flex: 0 0 52px;
  cursor: pointer;
}

.toggle-ui {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: var(--toggle-track-bg);
  position: relative;
  border: 1px solid var(--toggle-track-border);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.toggle-ui::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  background: var(--toggle-thumb-bg);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

#raw:focus + .toggle-switch .toggle-ui {
  border-color: var(--accent);
  box-shadow:
    0 0 0 4px var(--accent-soft),
    inset 0 1px 1px rgba(0, 0, 0, 0.08);
}

#raw:checked + .toggle-switch .toggle-ui {
  background: var(--toggle-on-bg);
  border-color: transparent;
}

#raw:checked + .toggle-switch .toggle-ui::after {
  transform: translateX(22px);
}

.toggle-copy {
  color: var(--text-strong);
  line-height: 1.25;
  cursor: default;
  font-weight: 500;
}

.actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

button {
  border: 0;
  border-radius: 18px;
  padding: 14px 16px;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease,
    background 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

.primary {
  background: var(--accent);
  color: #fff;
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  font-size: 10px !important;
  background: var(--secondary-bg);
  color: var(--text-strong);
  border: 1px solid var(--panel-border);
}

.output-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--output-bg);
  border: 1px solid var(--output-border);
  color: var(--output-code);
  min-height: 92px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.output-box span {
  color: var(--output-label);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.output-box code {
  word-break: break-all;
  line-height: 1.5;
  font-size: 0.96rem;
}

.preview-frame {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(47, 141, 70, 0.08), transparent 40%),
    linear-gradient(315deg, rgba(255, 161, 22, 0.08), transparent 28%),
    var(--secondary-bg);
  overflow: auto;
  max-width: 100%;
}

.preview-frame img {
  width: min(100%, 500px);
  max-width: 500px;
  display: block;
}

.preview-frame pre {
  width: 100%;
  margin: 0;
  padding: 18px;
  border-radius: 18px;
  background: var(--raw-preview-bg);
  border: 1px solid var(--raw-preview-border);
  color: var(--raw-preview-text);
  overflow: auto;
  line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .preview-frame pre {
  background: var(--code-bg);
  border: 0;
  color: var(--code-text);
  box-shadow: none;
}

.loader {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 4px solid rgba(127, 127, 127, 0.2);
  border-top-color: var(--accent);
  animation: spin 0.85s linear infinite;
}

/* Footer Bar */
/* ===========================
   Footer
=========================== */

.footer-bar {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
  padding: 24px;
  border-radius: 26px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}
.footer-bar > a {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-decoration: none;
  color: inherit;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--footer-link-bg);
  border: 1px solid var(--footer-link-border);
  transition: 0.25s;
}

.footer-bar > a:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}
.footer-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2563eb20, #8b5cf620);
  flex-shrink: 0;
}

.footer-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-copy strong {
  font-size: 1rem;
  color: var(--text-strong);
}

.footer-copy small {
  color: var(--text-muted);
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 10px 0 22px;
  border-bottom: 1px solid var(--panel-border);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s;
  position: relative;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

.footer-links a:hover::after {
  width: 100%;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.api-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #22c55e15;
  border: 1px solid #22c55e40;
  color: #22c55e;
  font-weight: 600;
}
.api-status .dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}

.api-status .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 2s infinite;
}
/* ===========================
   Bottom Footer
=========================== */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ===========================
   API Status
=========================== */

.api-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #22c55e;
  font-weight: 600;
}

.api-status .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  position: relative;
}

.api-status .dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(2.6);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.footer-bottom strong {
  color: var(--text-strong);
}

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

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

/* =======================
   Tablet (640px)
======================= */

@media (max-width: 640px) {
  .page-shell {
    padding: 16px;
  }

  .hero-copy,
  .panel {
    padding: 20px;
    border-radius: 22px;
  }

  .brand-row {
    gap: 12px;
    flex-wrap: wrap;
  }

  .brand-mark {
    width: 80px;
    height: auto;
  }

  .theme-toggle {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .eyebrow {
    margin-top: 18px;
    font-size: 0.8rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    max-width: 100%;
    word-break: break-word;
  }

  .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-meta {
    gap: 10px;
  }

  .hero-meta span {
    padding: 8px 14px;
    font-size: 0.88rem;
  }

  .layout {
    gap: 18px;
  }

  .field-grid,
  .actions {
    grid-template-columns: 1fr;
  }

  .preview-frame {
    min-height: 280px;
  }

  .footer-bar {
    padding: 18px;
  }
  .footer-bar > a {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    gap: 16px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .page-shell {
    padding: 14px;
  }

  .hero-copy,
  .panel {
    padding: 18px;
    border-radius: 18px;
  }

  .theme-toggle {
    margin-left: 0;
    /* width:100%; */
    justify-content: center;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-top: 10px;
  }
  .lead {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .hero-meta span {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .footer-copy small {
    font-size: 0.82rem;
  }
}

/* Preview Container */
.preview {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
}

.gfg-card {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 540px) {
  .preview {
    padding: 8px;
  }

  .gfg-card {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
  }
}
