/* Glowing Text on Face, additions on top of app.css */
.gtf-root { padding-top: 1rem; padding-bottom: 3rem; }

.gtf-info-list { list-style: none; padding: 0; margin: 1rem 1rem 0; text-align: left; }
.gtf-info-list li { padding: .5rem 0 .5rem 1.5rem; position: relative; color: #4b5563; font-size: .95rem; line-height: 1.5; }
.gtf-info-list li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 8px; height: 8px; border-radius: 50%; background-image: linear-gradient(to right, var(--gradient-primary), var(--gradient-secondary)); }

.workspace.gtf-workspace { display: none; }
.workspace.gtf-workspace.gtf-open { display: block; }

.gtf-image-section {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 400px; position: relative; background-color: #fff;
}
.gtf-canvas-wrap { display: inline-block; max-width: 100%; position: relative; line-height: 0; }
.gtf-canvas {
  display: block; max-width: 100%; max-height: 65vh; width: auto; height: auto;
  border-radius: 6px; box-shadow: 0 6px 18px rgba(0,0,0,.12); background: #05101f;
}
.gtf-status {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 999px;
  background: rgba(5,16,31,.82); color: #cfe9ff; font-size: .78rem; line-height: 1.3;
  text-align: center; pointer-events: none; opacity: 0; transition: opacity .25s ease;
}
.gtf-status.gtf-show { opacity: 1; }
.gtf-hint { font-size: .8rem; color: #6a7280; }

.gtf-options { min-height: 500px; }
.gtf-tabs .button { padding: 8px 4px; font-size: 12px; flex-direction: column; gap: 2px; }
.gtf-tabs .button svg { height: 16px; width: 16px; margin-right: 0; }
.gtf-tabs .button span { font-size: 11px; }
.gtf-tabs :nth-child(3) { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
.gtf-cover-tabs .button { padding: 8px 4px; font-size: 12px; }
.gtf-cover-tabs :last-child { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }

.gtf-panel-hint { color: #6a7280; font-size: .85rem; margin-bottom: .75rem; }
.gtf-textarea { resize: vertical; min-height: 110px; font-family: inherit; }
.option-label .gtf-num, .gtf-num { font-size: .8rem; color: #222b3a; font-weight: 600; }
.gtf-options .option-label { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; margin-bottom: 6px; }
.gtf-options select.text-input-style { width: 100%; }

.gtf-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.gtf-swatch {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; padding: 0; cursor: pointer;
  background: var(--c, #4db8ff); box-shadow: 0 0 0 1px #d6dae1, 0 0 12px var(--c, #4db8ff);
  transition: transform .12s ease, box-shadow .12s ease;
}
.gtf-swatch:hover { transform: scale(1.08); }
.gtf-swatch.gtf-swatch-active { box-shadow: 0 0 0 2px var(--gradient-primary), 0 0 14px var(--c, #4db8ff); }
.gtf-swatch-custom {
  position: relative; overflow: hidden; display: inline-block;
  background: conic-gradient(#f44, #fd4, #4f8, #4df, #84f, #f4d, #f44); box-shadow: 0 0 0 1px #d6dae1;
}
.gtf-swatch-custom input { position: absolute; inset: -6px; width: 50px; height: 50px; opacity: 0; cursor: pointer; }

.gtf-mini { font-size: .82rem; padding: 8px 12px; width: 100%; }

.gtf-download-block .editor-panel { border: 1px solid #e4e7eb; border-radius: 10px; padding: 12px 14px; background: #fff; }
.gtf-download-block .ep-header { padding: 0 0 8px; }
.gtf-download-block .ep-title { font-size: 12px; font-weight: 700; letter-spacing: .05em; color: #55606f; }
.gtf-fmt-tabs { margin-top: .5rem; }
.gtf-fmt-tabs :nth-child(3) { border-top-right-radius: 10px; border-bottom-right-radius: 10px; }
.gtf-reset-btn { width: 100%; }

@media (max-width: 767px) {
  .gtf-image-section { min-height: 320px; padding: 12px !important; }
}

.gtf-check { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .85rem; color: #3b4452; cursor: pointer; }
.gtf-check input { width: 16px; height: 16px; accent-color: var(--gradient-primary); }

.gtf-loader {
  position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 16px; border-radius: 6px; text-align: center; line-height: 1.4;
  background: rgba(5,16,31,.62); color: #dff6ff; font-size: .85rem;
}
.gtf-loader[hidden] { display: none; }
.gtf-spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid rgba(82,239,255,.25); border-top-color: #52efff;
  box-shadow: 0 0 14px rgba(82,239,255,.55); animation: gtf-spin .8s linear infinite;
}
@keyframes gtf-spin { to { transform: rotate(360deg); } }
.gtf-options.gtf-locked { pointer-events: none; opacity: .5; filter: grayscale(.3); transition: opacity .2s ease; }

.gtf-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.gtf-chip { border: 1px solid #d6dae1; background: #fff; color: #222b3a; border-radius: 999px; padding: 6px 12px; font-size: .8rem; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.gtf-chip:hover { border-color: var(--gradient-primary); }
.gtf-chip.gtf-chip-active { background: #222b3a; border-color: #222b3a; color: #fff; }

.gtf-numbox { display: inline-flex; align-items: center; gap: 2px; }
.gtf-numbox input { width: 64px; padding: 3px 6px; border: 1px solid #d6dae1; border-radius: 6px; font-size: .8rem; font-weight: 600; text-align: right; color: #222b3a; background: #fff; }
.gtf-numbox input:focus { outline: none; border-color: var(--gradient-primary); }
