/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f7fb;
  color: #111827;
}

/* =========================
   LAYOUT PRINCIPAL
========================= */

.app-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  height: 100vh;
  overflow: hidden;
}

/* FORM (ESQUERDA) */
.app-form {
  overflow: hidden;
  padding: 40px;
  background: #f5f7fb;
}

/* =========================
   PREVIEW (DIREITA)
========================= */

.app-preview {
  position: relative;
  background: linear-gradient(135deg, #071224 0%, #0a1830 55%, #09111f 100%);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.app-preview:not(.active) .preview-toolbar {
  display: none;
}

.app-preview.preview-image-mode .preview-toolbar {
  display: none !important;
}

/* PLACEHOLDER */
.preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 34%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.10), transparent 28%),
    linear-gradient(135deg, #071224 0%, #0a1830 55%, #09111f 100%);
}

.step-guide {
  width: min(580px, 100%);
  border-radius: 30px;
  background: rgba(8, 15, 29, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 28px 80px rgba(2, 8, 23, 0.45);
  overflow: hidden;
  color: #e5eefc;
  backdrop-filter: blur(12px);
}

.step-guide-hero {
  position: relative;
  min-height: 172px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72)),
    url('preview-template/img/hero-medicas.jpg') center/cover no-repeat;
}

.step-guide-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  max-width: 88%;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.26);
}

.step-guide-hero-copy strong {
  font-size: 20px;
  line-height: 1.2;
}

.step-guide-hero-copy span:last-child {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.step-guide-hero-badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-guide-body {
  padding: 22px 24px 24px;
  display: grid;
  gap: 16px;
  background: #f5f7fb;
}

.step-guide-label {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #1b88ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.step-guide-title {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 600;
  color: #0a1d30;
}

.step-guide-flow {
  display: grid;
  gap: 12px;
}

.step-guide-note {
  min-height: 88px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.10);
  color: #dbe7ff;
  font-size: 14px;
  line-height: 1.65;
}

.step-guide-note--alt {
  background: linear-gradient(135deg, rgba(18, 30, 54, 0.82), rgba(12, 20, 36, 0.94));
}


/* TOOLBAR */
.preview-toolbar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: #0d1628;
  backdrop-filter: blur(12px);
  flex-shrink: 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.10);
}

.preview-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.preview-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(148, 163, 184, 0.2);
}

.preview-btn.active {
  background: rgba(37, 99, 235, 0.22);
  border-color: rgba(96, 165, 250, 0.55);
  color: #eff6ff;
}

.preview-btn svg {
  width: 18px;
  height: 18px;
}

.preview-btn.preview-focus-toggle {
  width: auto;
  padding: 0 12px;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #d7e0ec;
}

.preview-btn.preview-focus-toggle span {
  white-space: nowrap;
}

.preview-return-tab {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 0 14px 14px 0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.24);
  z-index: 8;
  cursor: pointer;
}

.preview-return-tab svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.preview-return-tab span {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

body.distraction-free-mode {
  overflow: hidden;
}

body.distraction-free-mode .app-layout {
  grid-template-columns: 0 1fr;
}

body.distraction-free-mode .app-form {
  display: none;
}

body.distraction-free-mode .app-preview {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
}

body.distraction-free-mode .preview-toolbar {
  padding-inline: 18px;
}

body.distraction-free-mode .preview-frame.desktop {
  padding: 0;
}

body.distraction-free-mode .preview-frame.desktop #lpPreview {
  width: 100%;
  height: 100%;
  zoom: 1;
}

body.distraction-free-mode .preview-return-tab {
  display: inline-flex;
}

/* FRAME */
.preview-frame {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  position: relative;
}

.service-image-preview {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: linear-gradient(135deg, #08101f 0%, #0c172a 100%);
}

.service-image-preview img {
  width: min(860px, 88%);
  max-width: 70%;
  max-height: 82vh;
  height: auto;
  object-fit: contain;
  display: block;
}

.app-preview.active.preview-image-mode .service-image-preview {
  display: flex;
}

.app-preview.active.preview-image-mode #lpPreview {
  display: none !important;
}

/* IFRAME */
#lpPreview {
  width: 100%;
  height: 100%;
  border: none;
  background: white;
  display: none;
  transition: all 0.3s ease;
}

.app-preview.active #lpPreview {
  display: block;
}

.app-preview.active .preview-placeholder {
  display: none;
}

/* DESKTOP MODE */
.preview-frame.desktop {
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
}

.preview-frame.desktop #lpPreview {
  width: 100%;
  height: 100%;
  transform: none;
  transform-origin: center;
  border-radius: 0;
  box-shadow: none;
  zoom: 75%;
}

.preview-frame.desktop .preview-placeholder {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.preview-frame.tablet {
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.preview-frame.tablet #lpPreview {
  width: min(740px, 100%);
  height: 660px;
  max-height: calc(100vh - 120px);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: white;
  zoom: 1;
}

.preview-frame.tablet .preview-placeholder {
  width: 740px;
  max-width: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

/* MOBILE MODE */
.preview-frame.mobile {
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.preview-frame.mobile #lpPreview {
  width: 390px;
  max-width: 100%;
  height: 760px;
  max-height: calc(100vh - 110px);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: white;
  zoom: 1;
}

/* =========================
   ONBOARDING
========================= */

.onboarding {
  width: 100%;
  height: 100%;
}

.onboarding-shell {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.onboarding-header {
  position: sticky;
  top: 0;
  z-index: 20;
  margin-bottom: 20px;
  background: #f5f7fb;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  transition: padding 0.25s ease, margin 0.25s ease;
}

.onboarding-header.collapsed {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.onboarding-header.collapsed .steps-wrapper {
  margin-top: 0;
}

/* BRAND */
.brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-align: center;
  transition: gap 0.25s ease, margin 0.25s ease, opacity 0.25s ease;
}

.onboarding-header.collapsed .brand-wrap {
  margin-bottom: -8px;
  gap: 4px;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

/* Full logo — visible only on step 0 (not collapsed) */
.brand-logo-full {
  height: 35px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-bottom: 25px;
}
.brand-logo-icon {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 14px;
  display: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.onboarding-header.collapsed .brand-logo-full {
  display: none;
}
.onboarding-header.collapsed .brand-logo-icon {
display: block;
    height: 50px;
    width: 50px;
    /* box-shadow: 0 4px 12px rgba(0, 114, 255, 0.18); */
    margin-bottom: -25px;
}

.brand-name {
  font-weight: 600;
  font-size: 20px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.brand-subtitle {
  font-size: 13px;
  color: #6b7280;
  max-width: 280px;
  transition: opacity 0.25s ease, transform 0.25s ease;
  margin-top: 5px;
}

.onboarding-header.collapsed .brand-name,
.onboarding-header.collapsed .brand-subtitle {
  opacity: 0;
  transform: translateY(-6px);
}

/* =========================
   WIZARD / STEPS
========================= */

.steps-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: -18px;
}

.steps-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 720px;
  gap: 16px;
  margin-bottom: 35px;
}

.step-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 72px;
  padding: 6px 0 0;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
  position: relative;
  text-align: center;
}

.step-link .step-icon {
  width: 35px;
  height: 35px;
  display: block;
  border-radius: 8px;
  background-color: #9ca3af;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 62% 62%;
  mask-size: 62% 62%;
  transition: background-color 0.2s ease;
}

.step-link.is-active {
  color: #0056cc;
  font-weight: 600;
}

.step-link.is-active .step-icon {
  background-color: #005fcc;
}

.step-link::after {
  content: none;
}

/* Ícone: pessoa outline */
.step-icon-greeting {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 20c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E");
}

/* Ícone: foguete outline */
.step-icon-activation {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
}

/* Ícone: documento com linhas outline */
.step-icon-data {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
}

/* Ícone: info círculo outline */
.step-icon-complement {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E");
}

/* Ícone: engrenagem outline */
.step-icon-services {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E");
}

.step-link.is-active::after {
  content: attr(data-step-label);
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 6px);
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
}

.progress-line {
  width: 100%;
  max-width: 720px;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 30px;
}

#progressFill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;

  background: linear-gradient(
    90deg,
    #0072ff 0%,
    #3399ff 30%,
    #66b3ff 50%,
    #3399ff 70%,
    #0072ff 100%
  );

  background-size: 300% 100%;

  animation: progressFlow 2s linear infinite;

  transition: width 0.4s ease;
}


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

/* =========================
   CARD PRINCIPAL
========================= */

.hero-badge {
  display: none;
}

.onboarding-card {
  background: white;
  padding: 35px 35px 35px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* STEP */
.step-panel {
  display: none;
}

.step-panel.is-active {
  display: block;
}

.step-panel--welcome.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 20px 16px;
  gap: 16px;
}

.onboarding-card {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* TITLES */
.main-title {
  font-size: 26px;
}

.section-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
}

.step4-header {
  text-align: center;
  margin-bottom: 24px;
}

.step4-counter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.step4-service-name {
  font-size: 18px;
  font-weight: 600;
  color: #1f2937;
  text-align: center;
  margin-bottom: 20px;
}

.panel-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.header-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.btn-small {
  padding: 7px 12px;
  font-size: 12px;
  min-width: 160px;
}

.info-tooltip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.info-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: default;
}

.tooltip-text {
  position: absolute;
  top: calc(100% + 8px);
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  white-space: normal;
  width: 220px;
  max-width: 260px;
  text-align: center;
  background: rgba(15, 23, 42, 0.95);
  color: white;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 10;
}

.info-tooltip:hover .tooltip-text,
.info-tooltip:focus-within .tooltip-text {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

.services-subtitle {
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.form-section-title {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 700;
  color: #475569;
  margin: 20px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.main-description {
  text-align: center;
  color: #6b7280;
  margin-bottom: 20px;
}

/* BUTTONS */
.panel-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  gap: 12px;
}

.panel-actions-center {
  justify-content: center;
}

.panel-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.btn {
  padding: 10px 18px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(90deg,#0072ff,#3399ff);
  color: white;
}

.btn[disabled],
.btn.is-locked {
  opacity: 0.65;
  cursor: not-allowed;
  filter: saturate(0.75);
}

.btn-secondary {
  background: #e5e7eb;
}

.btn-select-all {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-select-all.is-select-all {
  background: #22c55e1f;
  border: 1px solid #86efac;
  color: #15803d;
}

.btn-select-all.is-select-all:hover {
  background: #dcfce7;
}

.btn-select-all.is-deselect-all {
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.btn-select-all.is-deselect-all:hover {
  background: rgba(254, 226, 226, 0.9);
}

.btn-select-all:active {
  transform: translateY(1px);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  font-size: 11px;
  line-height: 1;
  color: inherit;
}

/* =========================
   SERVICES
========================= */

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  position: relative;
  padding-bottom: 24px;
}

.scroll-hint.top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 18px auto 12px;
  padding: 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 460px;
  margin-top: -10px;
}

.scroll-hint-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 500;
}

.scroll-hint.top.hidden {
  display: none;
}

.scroll-hint-inline.hidden {
  display: none;
}

.scroll-hint.top .hint-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  font-size: 12px;
  animation: arrowFloat 1.4s ease-in-out infinite;
}

.scroll-hint-inline .hint-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: inherit;
}

@keyframes arrowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

.services-grid.show-gradient::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 64px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,1) 100%);
}

.service-card {
  background: white;
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid #e5e7eb;
  transition: all 0.25s ease;
  cursor: pointer;
}


/* ativo */
.service-card.is-selected {
  border-color: #0056cc;
  background: #f0f8ff;
}

/* HEADER */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LEFT */
.card-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CHECK - SWITCH TOGGLE */
.check {
  display: inline-block;
  width: 40px;
  height: 24px;
  background: #d1d5db;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.check::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: left 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.service-card.is-selected .check {
  background: #0056cc;
}

.service-card.is-selected .check::after {
  left: 18px;
}

/* RIGHT */
.card-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BADGE */
.badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 500;
}

/* ATIVO */
.badge.active {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  animation: pulseSoft 2.5s infinite;
}

/* INATIVO */
.badge.inactive {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

/* animação leve */
@keyframes pulseSoft {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.2);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ARROW */
.arrow {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.arrow:hover {
  background: #f3f4f6;
}

.arrow::before {
  content: "›";
  font-size: 16px;
  color: #9ca3af;
  font-weight: 600;
  transition: transform 0.25s ease, color 0.25s ease;
  line-height: 1;
}

.service-card.open .arrow::before {
  transform: rotate(90deg);
  color: #6b7280;
}

/* CARD */
.service-card {
  border: 1px solid #e5e7eb;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 14px rgba(0, 114, 255, 0.08);
}

.service-card.open {
  border-color: #0072ff;
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.12);
}

/* BODY */
.card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin 0.2s ease;
}

.service-card.open .card-body {
  max-height: 1000px;
  margin-top: 10px;
}

/* TEXT */
.service-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.service-desc {
  font-size: 13px;
  color: #6b7280;
  margin-top: 2px;
}

.service-card.is-selected h3 {
  color: #001122;
}

.service-card.is-selected .service-desc {
  color: #0056cc;
}

/* FEATURES */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.features span {
  background: #f1f5f9;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  color: #475569;
}

.service-card.is-selected .features span {
  background: #e5e7eb;
  color: #646464;
}

/* CLICK FEEDBACK */
.service-card:active {
  transform: scale(0.998);
}

/* =========================
   FORM
========================= */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid-complement {
  gap: 16px;
}

.complement-group {
  grid-column: span 2;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #e5e7eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.complement-group-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8eef6;
}

.complement-group-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 114, 255, 0.08);
  color: #0056cc;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

.complement-group-title {
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  color: #0f172a;
}

.complement-group-text {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.complement-subgrid {
  gap: 14px;
}

.field.full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
  font-weight: 200;
}

.file-upload .upload-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: #ffffff;
}

.file-upload .hidden-file-input {
  display: none;
}

.file-upload .upload-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  min-width: 120px;
  border-radius: 999px;
  border: 1px solid rgba(0, 114, 255, 0.12);
  background: rgba(0, 114, 255, 0.08);
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.file-upload .upload-button:hover {
  background: rgba(0, 114, 255, 0.14);
}

.file-upload .upload-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.file-upload .upload-preview-button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0, 114, 255, 0.16);
  background: rgba(0, 114, 255, 0.08);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.file-upload .upload-preview-button:hover:not(:disabled) {
  background: rgba(0, 114, 255, 0.14);
  transform: translateY(-1px);
}

.file-upload .upload-preview-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.file-upload .upload-preview-button svg {
  width: 16px;
  height: 16px;
}

.file-upload .upload-name {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.social-group-note {
  grid-column: span 2;
  display: grid;
  gap: 4px;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
}

.social-group-note,
.company-lookup-status,
.recommendation-note,
.crm-summary {
  position: relative;
}

.social-group-note::before,
.company-lookup-status::before,
.recommendation-note::before,
.crm-summary::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 13px;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.82;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4'/%3E%3Cpath d='M12 17h.01'/%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z'/%3E%3C/svg%3E");
}

.social-group-note strong {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

.social-group-note span {
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.company-lookup-group {
  border-style: dashed;
  border-color: #bfdbfe;
}

.company-lookup-actions {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.company-lookup-status {
  position: relative;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  padding: 10px 12px 10px 40px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  flex: 1;
  min-width: 220px;
}

.company-lookup-status.is-loading {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #bfdbfe;
  padding-bottom: 18px;
}

.company-lookup-status.is-loading::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, #3b82f6 35%, #93c5fd 70%, rgba(59, 130, 246, 0.15) 100%);
  background-size: 200% 100%;
  animation: companyLookupProgress 1.2s linear infinite;
}

.company-lookup-status.is-success {
  color: #166534;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.company-lookup-status.is-success::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  opacity: 1;
}

.company-lookup-status.is-error {
  color: #b45309;
  background: #fffbeb;
  border-color: #fde68a;
}

.social-field {
  gap: 8px;
}

.social-field.full {
  grid-column: span 2;
}

.social-field input {
  width: 100%;
  border-color: #dbe7f6;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
}

.social-field-with-action .social-link-row {
  position: relative;
}

.social-field-with-action input {
  padding-right: 54px;
}

.social-field-with-action label {
  right: auto;
  max-width: calc(100% - 78px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-link-open {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-link-open:hover {
  background: #dbeafe;
  color: #1d4ed8;
  transform: translateY(-50%) scale(1.03);
}

.social-link-open[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.social-link-open svg {
  width: 16px;
  height: 16px;
}

.social-preview-card {
  width: min(1120px, 94vw);
  max-width: 1120px;
}

.social-preview-body {
  min-height: min(70vh, 720px);
  border-radius: 16px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.social-preview-body iframe {
  width: 100%;
  height: min(70vh, 720px);
  border: none;
  background: #ffffff;
}

.social-field:has(input:focus) input,
.social-field:has(input:not(:placeholder-shown)) input {
  border-color: rgba(37, 99, 235, 0.34);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.social-field:has(input:focus) .field-link-tip,
.social-field:has(input:not(:placeholder-shown)) .field-link-tip {
  color: #2563eb;
}

.field.auto-filled input,
.form-group.auto-filled textarea,
.form-group.auto-filled .upload-box,
.form-group.auto-filled .color-picker {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
  border-color: #86efac !important;
  background: #f0fdf4;
}

.field-link-tip {
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
  padding-left: 2px;
  overflow-wrap: anywhere;
}

.file-upload .upload-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 114, 255, 0.12);
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.color-field .color-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid #d9e1ec;
  background: #f7f9fc;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.color-field .color-picker:hover {
  border-color: #c6d2e1;
  background: #ffffff;
}

.color-field .color-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  font-size: 14px;
  flex-shrink: 0;
}

.color-field input[type="color"] {
  -webkit-appearance: none;
  appearance: none;
  width: 34px;
  height: 34px;
  border: none;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  overflow: hidden;
  flex-shrink: 0;
}

.color-field input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 999px;
}

.color-field input[type="color"]::-webkit-color-swatch {
  border: 2px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.color-field input[type="color"]::-moz-color-swatch {
  border: 2px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.color-field .color-value {
  font-size: 13px;
  color: #334155;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.theme-presets-field {
  margin-top: 4px;
}

.theme-presets-panel {
  padding: 18px;
  border-radius: 22px;
  background: #f7f9fc;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.theme-presets-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.theme-presets-head label {
  display: block;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.theme-presets-head p {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
}

.theme-reset-btn {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(148, 163, 184, 0.08);
  color: #000000;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.theme-reset-btn:hover {
  background: rgba(148, 163, 184, 0.14);
}

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

.theme-preset-card {
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: #e8eef8;
  cursor: pointer;
  display: grid;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.theme-preset-card:hover {
  transform: translateY(-1px);
  border-color: rgba(96, 165, 250, 0.34);
  background: rgba(255, 255, 255, 0.04);
}

.theme-preset-card.is-active {
  border-color: rgba(96, 165, 250, 0.76);
  background: rgba(37, 99, 235, 0.10);
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.14);
}

.theme-preset-card strong {
  font-size: 12px;
  font-weight: 600;
  color: #000000;
}

.theme-preset-card small {
  font-size: 12px;
  line-height: 1.45;
  color: #0f172a;
}

.theme-swatch-row {
  display: flex;
  gap: 8px;
}

.theme-swatch-row span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--swatch);
  border: 2px solid rgba(255,255,255,0.18);
}

.schedule-card {
  width: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f6f8ff;
  border: 1px solid #e0e7ff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
  overflow: hidden;
}

.complement-group .schedule-card {
  background: #ffffff;
  border: 1px solid #dfe7f3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid #eef2fb;
  min-width: 0;
}

.schedule-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Day label with inline checkbox */
.sched-day-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  user-select: none;
}

.sched-day-label input[type="checkbox"] {
  accent-color: #0056cc;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  border-radius: 4px;
  border: none;
  background: transparent;
  box-shadow: none;
  font-size: unset;
}

.sched-day-label span {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  transition: color 0.2s;
  white-space: nowrap;
}

.schedule-row.closed .sched-day-label span {
  color: #94a3b8;
  text-decoration: line-through;
}

/* Time chips */
.schedule-times {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 1;
  min-width: 0;
  justify-content: flex-end;
}

.time-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #dde5f5;
  border-radius: 9px;
  padding: 7px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.time-chip:focus-within {
  border-color: #6ea8ff;
  box-shadow: 0 0 0 3px rgba(0, 86, 204, 0.1);
}

.time-chip-lbl {
  font-size: 9px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Override all other time input rules for schedule */
.schedule-times input[type="time"] {
  all: unset;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  width: 65px;
  cursor: pointer;
  line-height: 1;
  box-sizing: content-box !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.time-sep-arrow {
  font-size: 12px;
  color: #b0bfd8;
  flex-shrink: 0;
}

/* Closed state */
.schedule-row.closed .schedule-times {
  opacity: 0.35;
  pointer-events: none;
}

.form-group input[type="time"],
.form-group textarea {
  padding: 14px 16px;
  border-radius: 14px;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
  color: #0f172a;
  font-weight: 500;
}

.lp-builder input,
.lp-builder textarea,
.chatbot-builder input,
.chatbot-builder textarea {
  color: #b2bccb;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lp-builder input:focus,
.lp-builder textarea:focus,
.chatbot-builder input:focus,
.chatbot-builder textarea:focus,
.lp-builder input:not(:placeholder-shown),
.lp-builder textarea:not(:placeholder-shown),
.chatbot-builder input:not(:placeholder-shown),
.chatbot-builder textarea:not(:placeholder-shown) {
  color: #0f172a;
}

.lp-builder input::placeholder,
.lp-builder textarea::placeholder,
.chatbot-builder input::placeholder,
.chatbot-builder textarea::placeholder,
input::placeholder,
textarea::placeholder {
  color: #c3ccd8;
}

textarea {
  resize: none;
  overflow-wrap: break-word;
  word-break: break-word;
  overflow-y: auto;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 1000px) {
  .theme-preset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-preview {
    display: none;
  }
}

@media (max-width: 640px) {
  .theme-presets-head {
    flex-direction: column;
  }

  .theme-preset-grid {
    grid-template-columns: 1fr;
  }
}

/* HERO STEP (BEM-VINDO) */
#step-0 {
  text-align: center;
}

/* BADGE */
.hero-badge {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 10px;
}

/* TITULO */
.main-title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* DESCRIÇÃO */
.main-description {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 0px;
}

.step-panel h4 {
  text-align: center;
  margin-bottom: 10px;
}

.badge.active {
  background: #dcfce7;
  color: #166534;
}

.badge.inactive {
  background: #fee2e2;
  color: #991b1b;
}

.servicos-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 999px;
  background: #e6f3ff;
  color: #0056cc;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
}

.tab-btn:not(.active) {
  background: #f3f4f6;
  color: #6b7280;
}

.tab-btn.needs-visit {
  background: #ffffff;
  color: #2563eb;
  border-style: dashed;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.06);
  animation: serviceTabPulse 1.8s ease-in-out infinite;
}

.tab-btn.needs-visit::after {
  content: "clique";
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2563eb;
}

.tab-btn.is-visited:not(.active) {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.tab-btn .tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #0056cc;
  background: transparent;
  color: transparent;
  font-size: 11px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tab-btn:not(.active) .tab-icon {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 14px;
}

.tab-btn.active {
  background: #0056cc;
  color: white;
}

.tab-btn.active .tab-icon {
  background: white;
  border-color: white;
  color: #0056cc;
}

.tab-btn.is-visited:not(.active) .tab-icon.done-icon {
  background: #22c55e;
  border-color: #22c55e;
  color: white;
}

.tab-btn.needs-visit .tab-icon.lock-icon svg {
  stroke: #2563eb;
}

.tab-btn .tab-icon.lock-icon {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
}

.tab-btn .tab-icon.lock-icon svg {
  width: 16px;
  height: 16px;
  color: #9ca3af;
  stroke: #9ca3af;
}

.tab-btn:not(.active) .tab-icon.lock-icon svg {
  stroke: #9ca3af;
}

@keyframes serviceTabPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.06);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 7px rgba(59, 130, 246, 0.10);
  }
}

.servicos-content {
  background: #f9fafb;
  border-radius: 12px;
  padding: 20px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.servicos-content > * {
  width: 100%;
  max-width: 700px;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #111827;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  font-size: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 9px;
}

.toast-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.22);
}

.toast-icon::after {
  display: block;
  content: '';
  width: 14px;
  height: 14px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* success: checkmark */
.toast.success .toast-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2.5 7l3 3 6-6' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* error: X */
.toast.error .toast-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2l8 8M10 2l-8 8' stroke='white' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* warning: ! */
.toast.warning .toast-icon::after {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 2v5' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='6' cy='9.5' r='0.8' fill='white'/%3E%3C/svg%3E");
}

/* variação sucesso */
.toast.success {
  background: #16a34a;
}

/* variação erro */
.toast.error {
  background: #dc2626;
}

/* variacao alerta */
.toast.warning {
  background: #d97706;
}

body.modal-open {
  overflow: hidden;
}

.recommendation-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.recommendation-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.recommendation-card {
  width: 100%;
  max-width: 560px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.20);
  padding: 28px;
  transform: scale(0.95) translateY(8px);
  transition: transform 0.2s ease;
}

.recommendation-modal.active .recommendation-card {
  transform: scale(1) translateY(0);
}

.recommendation-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.recommendation-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #0072ff, #5aa9ff);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 114, 255, 0.18);
  margin-top: 2px;
}

.recommendation-card h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 600;
}

.recommendation-card p {
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  margin-bottom: 20px;
}

.recommendation-description {
  max-width: 420px;
}

.recommendation-card ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 12px 0 0;
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.recommendation-card li,
.recommendation-list-item {
  position: relative;
  padding: 9px 12px 9px 32px;
  border-radius: 10px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.recommendation-card li:hover,
.recommendation-list-item:hover,
.recommendation-card li:focus,
.recommendation-list-item:focus {
  border-color: rgba(0, 114, 255, 0.28);
  background: #f8fbff;
  transform: translateY(-1px);
  outline: none;
}

.recommendation-card li::before,
.recommendation-list-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
  transform: translateY(-50%);
}

.recommendation-note {
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 10px 12px 10px 40px;
  border-radius: 10px;
  background: #f59e0b29;
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: #92400e;
  font-size: 13px;
  line-height: 1.5;
}

.recommendation-note strong {
  font-weight: 600;
}

.recommendation-micro {
  display: none;
}

.recommendation-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 2px;
}

.recommendation-actions .btn {
  min-width: 170px;
  min-height: 44px;
  border-radius: 12px;
}

.recommendation-actions .btn-secondary {
  background: #ffffff;
  border: 1px solid #dbe2ea;
  color: #334155;
}

@media (max-width: 640px) {
  .recommendation-card {
    padding: 22px;
  }

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

  .recommendation-actions .btn {
    width: 100%;
  }
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10020;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.image-preview-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.image-preview-card {
  width: min(720px, 100%);
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.24);
}

.image-preview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e7eb;
}

.image-preview-header h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #0f172a;
}

.image-preview-header p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.image-preview-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.image-preview-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
}

.image-preview-body img {
  max-width: 100%;
  max-height: 65vh;
  border-radius: 16px;
  object-fit: contain;
  background: #ffffff;
}

.field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field input {
  padding: 18px 14px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  color: #0f172a;
  font-weight: 500;
  background: #f9fafb;
  outline: none;
  transition: all 0.2s ease;
}

/* label dentro */
.field label {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 14px;
  color: #9ca3af;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  border-radius: 999px;
  padding: 0 6px;
  transition: all 0.2s ease;
  pointer-events: none;
}

/* animação */
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: -8px;
  left: 10px;
  font-size: 11px;
  color: #0072ff;
  background: #ffffff;
}

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

/* foco */
.field input:focus {
  border-color: #0072ff;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(0,114,255,0.15);
}

.field.campo-recomendado input,
.field.is-recommended-warning input,
.form-group.campo-recomendado .upload-box,
.form-group.is-recommended-warning .upload-box,
.form-group.campo-recomendado .color-picker,
.form-group.is-recommended-warning .color-picker,
.form-group.campo-recomendado textarea,
.form-group.is-recommended-warning textarea,
.form-group.campo-recomendado.schedule-card,
.form-group.is-recommended-warning.schedule-card {
  border: 1px solid #f59e0b !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.16);
  background: #fffdf5;
  animation: campoPulse 1.2s ease;
}

.field.campo-recomendado label,
.field.is-recommended-warning label,
.form-group.campo-recomendado > label,
.form-group.is-recommended-warning > label {
  color: #b45309;
}

.campo-recomendado-helper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: #b45309;
  font-weight: 600;
}

.campo-recomendado-helper svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
}

.field-hint strong {
  color: #334155;
  font-weight: 600;
}

@keyframes campoPulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.0); }
  50% { box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12); }
  100% { box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.16); }
}

.field select {
  padding: 18px 14px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  background: #f9fafb;
  outline: none;
  appearance: none;
}

/* label sobe no select */
.field select:focus + label,
.field select:not([value=""]) + label {
  top: -8px;
  left: 10px;
  font-size: 11px;
  color: #0072ff;
}

.field select {
  padding: 18px 40px 10px 14px; /* espaço pra seta */
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 15px;
  background: #f9fafb;
  outline: none;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  cursor: pointer;
}

.field {
  position: relative;
}

.field:has(select)::after,
.field:has(input[list])::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: none !important;
}

.field input[list]::-webkit-calendar-picker-indicator {
  display: none !important;
  opacity: 0;
}

/* BOTÃO */
.wa-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.2s ease;
}

.wa-button:hover {
  transform: scale(1.08);
}

/* MODAL */
.wa-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.wa-modal.active {
  display: flex;
}

.wa-box {
  background: white;
  padding: 25px;
  border-radius: 16px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeUp 0.25s ease;
}

.wa-box h3 {
  margin-bottom: 5px;
}

/* INPUTS */
.wa-box input,
.wa-box textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 14px;
}

.wa-box textarea {
  resize: none;
  height: 80px;
}

/* AÇÕES */
.wa-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.wa-actions button {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.wa-actions .send {
  background: #25d366;
  color: white;
}

/* ANIMAÇÃO */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BOTÃO */
.wa-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 999;
  transition: transform 0.2s ease;

  animation: waPulse 2s infinite;
}

.wa-button:hover {
  transform: scale(1.08);
}

/* PULSE */
@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.wa-modal,
.wa-modal * {
  font-family: 'Poppins', sans-serif;
}

/* =========================
   CRM TOOLS GRID
========================= */
.crm-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.tool-card {
  padding: 16px;
  border-radius: 14px;
  background: #f0f4f9;
  border: 1px solid #e0e7ff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.tool-emoji {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #ffffff;
  color: #2563eb;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.tool-emoji svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.tool-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.tool-card p {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.crm-summary {
  padding: 14px 14px 14px 42px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  margin-bottom: 20px;
}

.crm-summary p {
  font-size: 13px;
  color: #1e40af;
  margin: 0;
  line-height: 1.5;
}

.lp-builder,
.chatbot-builder {
  display: grid;
  gap: 18px;
}

.lp-editor-accordion {
  display: grid;
  gap: 14px;
}

.lp-editor-section {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  background: #ffffff;
  overflow: hidden;
  opacity: 0.66;
  filter: saturate(0.8);
  transform: translateY(0);
  transition: opacity 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.lp-editor-section:hover {
  opacity: 0.92;
  filter: saturate(0.96);
  transform: translateY(-2px);
  border-color: #cfe0f6;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.lp-editor-section.is-visited {
  opacity: 1;
  filter: none;
  border-color: #d9e4f2;
}

.lp-editor-section.is-open {
  opacity: 1;
  filter: none;
  transform: none;
  border-color: #d9e4f2;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.lp-editor-section.is-open:hover {
  opacity: 1;
  filter: none;
  transform: none;
  border-color: #bfd6f7;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.10);
}

.lp-accordion-header {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 10px;
}

.lp-accordion-toggle {
  flex: 1;
  border: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.22s ease;
}

.lp-editor-section:hover .lp-accordion-toggle {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.lp-editor-section.is-open .lp-accordion-toggle {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.lp-accordion-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.lp-section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  height: 28px;
  border-radius: 999px;
  background: #e0ecff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
}

.lp-accordion-item--start {
  opacity: 1;
  filter: none;
  border-color: #cfe0f6;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.10);
}

.lp-start-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.22);
  animation: lpPulseStart 1.4s ease-in-out infinite;
}

@keyframes lpPulseStart {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.18);
  }
  50% {
    transform: translateY(-1px);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
}

.lp-accordion-meta h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.lp-editor-section:not(.is-open):not(.is-visited) .lp-accordion-meta h3,
.lp-editor-section:not(.is-open):not(.is-visited) .lp-accordion-meta p,
.lp-editor-section:not(.is-open):not(.is-visited) .lp-section-count,
.lp-editor-section:not(.is-open):not(.is-visited) .lp-section-badge {
  opacity: 0.72;
}

.lp-accordion-meta p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.lp-accordion-side {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-section-count {
  font-size: 12px;
  color: #475569;
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.lp-accordion-arrow {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: transparent;
  color: #9ca3af;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.lp-accordion-arrow::before {
  content: "›";
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.lp-accordion-toggle:hover .lp-accordion-arrow {
  background: #f3f4f6;
}

.lp-accordion-item.is-open .lp-accordion-arrow {
  color: #6b7280;
}

.lp-accordion-item.is-open .lp-accordion-arrow::before {
  transform: rotate(90deg);
}

.lp-accordion-body {
  display: none;
  padding: 0 16px 16px;
}

.lp-accordion-item.is-open .lp-accordion-body {
  display: block;
}

.lp-accordion-header .btn-small {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}

.lp-repeaters {
  display: grid;
  gap: 12px;
}

.lp-repeat-card {
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #fbfdff;
  padding: 14px;
}

.lp-repeat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lp-repeat-card-head strong {
  font-size: 14px;
  color: #0f172a;
}

.lp-remove-btn,
.lp-discreet-btn {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-remove-btn:hover,
.lp-discreet-btn:hover {
  border-color: #fecaca;
  background: #fff5f5;
  color: #b91c1c;
}

.lp-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-inline-actions input {
  flex: 1;
}

#lpAboutPhotosEditor {
  margin-top: 18px;
}

.activation-summary-screen {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 4px;
}

/* ── Done mode (full-width, no preview) ── */
/* Badge pré-preenchimento via URL */
.url-prefill-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 7px 14px;
  border-radius: 100px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
}

.url-prefill-badge svg {
  flex-shrink: 0;
  color: #16a34a;
}

.done-hidden { display: none !important; }

.app-layout.done-mode {
  grid-template-columns: 1fr;
}

.app-layout.done-mode .app-form {
  max-width: 760px;
  margin: 0 auto;
}

.app-layout.done-mode .brand-wrap {
  justify-content: center;
  padding: 16px 0 0;
}

.app-layout.done-mode .brand-wrap .brand-logo {
  display: none;
}

.app-layout.done-mode .brand-wrap .brand-name,
.app-layout.done-mode .brand-wrap .brand-subtitle {
  display: none;
}

/* Done hero logo */
.done-hero-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px;
  opacity: 0.9;
}

.app-layout.done-mode .onboarding-header {
  border-bottom: none;
}

/* ── Done hero ── */
.done-hero {
  text-align: center;
  padding: 40px 20px 28px;
}

.done-hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  animation: donePopIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.done-hero-icon svg {
  width: 100%;
  height: 100%;
}

@keyframes donePopIn {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.done-hero h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}

.done-hero p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
  line-height: 1.65;
}

.done-hero p strong {
  color: #334155;
  font-weight: 600;
}

/* ── Sections ── */
.done-section {
  padding: 20px 0;
}

.done-section + .done-section {
  border-top: 1px solid #edf2f8;
}

.done-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 14px;
}

/* ── Access cards ── */
.done-access-list {
  display: grid;
  gap: 10px;
}

.done-access-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e2ebf8;
  background: linear-gradient(135deg, #f8fbff 0%, #f0f6ff 100%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.done-access-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

.done-access-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
}

.done-access-icon--crm {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.done-access-icon--lp {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.done-access-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.done-access-label {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.done-temp-badge {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.done-access-url {
  font-size: 12px;
  font-weight: 500;
  color: #2563eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.done-access-meta {
  font-size: 11px;
  color: #94a3b8;
}

.done-access-status {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.done-access-status--active {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 100px;
}

/* ── CRM Credential card ── */
.done-access-card--credentials {
  cursor: default;
  flex-direction: row;
  align-items: flex-start;
}

.done-access-card--credentials:hover {
  transform: none;
}

.done-credential-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.done-credential-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  min-width: 52px;
}

.done-credential-value {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  font-family: inherit;
}

.done-credential-link {
  color: #2563eb;
  text-decoration: none;
}

.done-credential-link:hover {
  text-decoration: underline;
}

.done-credential-pw {
  font-family: "SF Mono", "Fira Code", "Consolas", monospace;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0.03em;
  user-select: all;
}

.done-credential-hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #94a3b8;
  font-style: italic;
}

/* ── Service status OK ── */
.done-service-status--ok {
  color: #2563eb;
}

/* ── Services grid ── */
.done-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.done-service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid #edf2f8;
  background: #fafcff;
  transition: border-color 0.15s;
}

.done-service-card:hover {
  border-color: #dbe7f6;
}

.done-service-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
}

.done-service-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.done-service-status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #f59e0b;
  white-space: nowrap;
}

/* ── Notice card ── */
.done-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid #fde68a;
  background: linear-gradient(135deg, #fffbeb 0%, #fef9c3 100%);
}

.done-notice .done-section-label { display: none; }

.done-notice-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.done-notice-body {
  flex: 1;
  min-width: 0;
}

.done-notice strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 4px;
}

.done-notice p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #a16207;
}

.done-support-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: #d97706;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
  align-self: center;
}
.done-support-btn:hover {
  background: #b45309;
}

/* ── Timeline steps ── */
.done-steps {
  display: grid;
  gap: 0;
  position: relative;
}

.done-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  position: relative;
}

.done-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: #e2ebf8;
}

.done-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid #dbeafe;
  position: relative;
  z-index: 1;
}

.done-step-text {
  flex: 1;
  padding-top: 4px;
}

.done-step-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 2px;
}

.done-step-text span {
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
}

/* ── CRM action buttons ── */
.done-crm-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.done-crm-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.done-crm-btn--access {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
}

.done-crm-btn--access:hover {
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.done-crm-btn--download {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.done-crm-btn--download:hover {
  background: #e2e8f0;
}

/* ── WhatsApp support button ── */
.done-whatsapp-section {
  padding: 20px 0;
  text-align: center;
}

.done-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 100px;
  background: #25d366;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.done-whatsapp-btn:hover {
  background: #20bd5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.done-whatsapp-btn svg {
  flex-shrink: 0;
}

/* ── Finalizar button (shown after review edit) ── */
.btn-finalizar {
  display: none;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  color: #fff;
  animation: finalizarPulse 2s ease-in-out infinite;
}

.btn-finalizar.is-visible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@keyframes finalizarPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .done-services-grid {
    grid-template-columns: 1fr;
  }
  .done-access-card {
    flex-wrap: wrap;
  }
  .done-access-status {
    width: 100%;
    text-align: center;
    margin-top: 4px;
  }
  .done-crm-actions {
    flex-direction: column;
  }
}

.review-summary-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(8px);
  z-index: 1250;
}

.review-summary-modal.active {
  display: flex;
}

.review-summary-card {
  width: min(980px, calc(100vw - 24px));
  max-height: min(88vh, 920px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dbe7f6;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
  border-bottom: 1px solid #e8eef7;
}

.review-summary-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.review-summary-header h3 {
  margin: 0 0 4px;
  font-size: 24px;
  color: #0f172a;
}

.review-summary-header p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.review-summary-close {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #dbe7f6;
  background: #ffffff;
  color: #475569;
  font-size: 22px;
  cursor: pointer;
}

.review-summary-body {
  padding: 18px 22px 8px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.review-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.review-summary-section {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe7f6;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.review-summary-section.full {
  grid-column: 1 / -1;
}

.review-summary-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.review-summary-section-head h3 {
  margin: 4px 0 0;
  font-size: 17px;
  color: #0f172a;
}

.review-summary-tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 11px;
  font-weight: 600;
}

.review-summary-edit-btn {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.review-summary-meta-list {
  display: grid;
  gap: 10px;
}

.review-summary-meta-list.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-summary-meta-list div {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid #e2ebf8;
}

.review-summary-meta-list span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}

.review-summary-meta-list strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: #334155;
}

.review-summary-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-summary-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 600;
}

.review-summary-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 22px 22px;
  border-top: 1px solid #e8eef7;
  background: #ffffff;
  flex-shrink: 0;
}

.review-summary-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  background: linear-gradient(90deg, #22c55e, #16a34a) !important;
  color: #fff !important;
  animation: finalizarPulse 2s ease-in-out infinite;
}

/* Chatwoot launcher — bottom-left of screen */
.woot--bubble-holder {
  left: 20px !important;
  right: auto !important;
  bottom: 20px !important;
}
.woot-widget-bubble,
.woot--bubble {
  width: 60px !important;
  height: 60px !important;
}
.woot-widget-holder,
#woot-widget--widget-holder {
  left: 20px !important;
  right: auto !important;
  bottom: 80px !important;
}

.woot-widget-bubble svg {
    all: revert;
    height: 24px;
    margin: 10px !important;
    width: 24px;
}

.woot--close::before, .woot--close::after {
    background-color: #fff;
    content: ' ';
    display: inline;
    height: 23px;
    left: 29px !important;
    position: absolute;
    top: 18px !important;
    width: 2px;
}

/* Blur backdrop when Chatwoot is open */
body.chatwoot-open .app-layout {
  filter: blur(3px);
  pointer-events: none;
  transition: filter 0.2s ease;
}
body.chatwoot-open .woot--bubble-holder {
  pointer-events: auto;
}

@media (max-width: 768px) {
  .review-summary-grid,
  .review-summary-meta-list.two-columns {
    grid-template-columns: 1fr;
  }

  .review-summary-header,
  .review-summary-footer {
    flex-direction: column;
  }
}

.lp-upload-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  flex-wrap: wrap;
}

.lp-upload-box .upload-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px;
  min-width: 120px;
  border-radius: 999px;
  border: 1px solid rgba(0, 114, 255, 0.12);
  background: rgba(0, 114, 255, 0.08);
  color: #0f172a;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.lp-upload-box .upload-button:hover {
  background: rgba(0, 114, 255, 0.14);
}

.lp-upload-name {
  font-size: 12px;
  color: #64748b;
}

.lp-field-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
}

.lp-field-help strong {
  color: #334155;
  font-weight: 700;
}

.lp-add-row {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.lp-add-inline {
  width: 100%;
  border: 1px dashed #cbd5e1;
  background: #fafcff;
  color: #334155;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lp-add-inline:hover {
  background: #f1f5f9;
  border-color: #93c5fd;
  color: #1d4ed8;
}

.lp-add-inline:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

.lp-photo-slot {
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.lp-photo-slot:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}

.lp-photo-slot img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 10px;
}

.lp-photo-slot strong {
  font-size: 13px;
  color: #0f172a;
}

.lp-photo-slot span {
  display: block;
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.lp-photo-placeholder {
  width: 100%;
  height: 86px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #2563eb;
  font-size: 28px;
  font-weight: 700;
}

.is-preview-jump {
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.18), 0 0 0 7px rgba(59, 130, 246, 0.10) !important;
  transition: all 0.25s ease;
}

@media (max-width: 768px) {
  .lp-accordion-header,
  .lp-accordion-meta {
    flex-direction: column;
  }

  .lp-accordion-toggle {
    align-items: flex-start;
  }

  .lp-accordion-side {
    width: 100%;
    justify-content: space-between;
  }
}
