
/* v2.365 — Certificate text transparency + zero price cleanup */
.course-price-tag:empty,.ft-price:empty,[class*="price"]:empty{display:none!important}

.ft-certificate-preview [contenteditable],
.ft-certificate-preview .ft-cert-text,
.ft-certificate-preview .certificate-text,
.ft-certificate-preview .cert-text,
.ft-certificate-preview .ft-cert-element,
.ft-certificate-preview [data-cert-element],
.ft-certificate-preview [data-element],
.ft-cert-preview [contenteditable],
.ft-cert-preview .ft-cert-text,
.ft-cert-preview .certificate-text,
.ft-cert-preview .cert-text,
.ft-cert-preview .ft-cert-element,
.ft-cert-preview [data-cert-element],
.ft-cert-preview [data-element],
.certificate-preview [contenteditable],
.certificate-preview .ft-cert-text,
.certificate-preview .certificate-text,
.certificate-preview .cert-text,
.certificate-preview [data-cert-element],
.certificate-preview [data-element],
[class*="certificate"] [contenteditable],
[class*="certificate"] [class*="text"],
[class*="certificate"] [data-element]{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}

.ft-certificate-preview [contenteditable]:hover,
.ft-certificate-preview [contenteditable]:focus,
.ft-cert-preview [contenteditable]:hover,
.ft-cert-preview [contenteditable]:focus,
.certificate-preview [contenteditable]:hover,
.certificate-preview [contenteditable]:focus,
[class*="certificate"] [contenteditable]:hover,
[class*="certificate"] [contenteditable]:focus{
  outline:1px dashed rgba(124,58,237,.28)!important;
  outline-offset:4px!important;
  border-radius:8px!important;
}

.ft-certificate-preview input,.ft-certificate-preview select,.ft-certificate-preview textarea,
.ft-cert-preview input,.ft-cert-preview select,.ft-cert-preview textarea,
.certificate-preview input,.certificate-preview select,.certificate-preview textarea{
  background:#fff!important;
}


/* v2.366 — stronger certificate and inner-course price fix */

/* Hide single-course zero/empty price boxes when helper leaves them empty */
body.single-course .course-price-tag:empty,
body.single-course .ft-course-price:empty,
body.single-course .sticky-course-price:empty,
body.single-course .course-sticky-price:empty,
body.single-course .ft-sticky-price:empty,
body.single-landing_page .course-price-tag:empty,
body.single-landing_page .ft-course-price:empty,
body.single-landing_page .sticky-course-price:empty,
body.single-landing_page .course-sticky-price:empty,
body.single-landing_page .ft-sticky-price:empty{
  display:none!important;
}

/* Certificate preview: remove white chip/pill backgrounds from date/hour/grade text groups */
.ft-certificate-preview .ft-cert-meta,
.ft-certificate-preview .cert-meta,
.ft-certificate-preview .certificate-meta,
.ft-certificate-preview .ft-cert-row,
.ft-certificate-preview .cert-row,
.ft-certificate-preview .certificate-row,
.ft-certificate-preview .ft-cert-pill,
.ft-certificate-preview .cert-pill,
.ft-certificate-preview .certificate-pill,
.ft-certificate-preview .ft-cert-badge,
.ft-certificate-preview .cert-badge,
.ft-cert-preview .ft-cert-meta,
.ft-cert-preview .cert-meta,
.ft-cert-preview .certificate-meta,
.ft-cert-preview .ft-cert-row,
.ft-cert-preview .cert-row,
.ft-cert-preview .certificate-row,
.ft-cert-preview .ft-cert-pill,
.ft-cert-preview .cert-pill,
.ft-cert-preview .certificate-pill,
.ft-cert-preview .ft-cert-badge,
.ft-cert-preview .cert-badge,
.certificate-preview .ft-cert-meta,
.certificate-preview .cert-meta,
.certificate-preview .certificate-meta,
.certificate-preview .ft-cert-row,
.certificate-preview .cert-row,
.certificate-preview .certificate-row,
.certificate-preview .ft-cert-pill,
.certificate-preview .cert-pill,
.certificate-preview .certificate-pill,
.certificate-preview .ft-cert-badge,
.certificate-preview .cert-badge,
[class*="certificate"] [class*="meta"],
[class*="certificate"] [class*="pill"],
[class*="certificate"] [class*="badge"],
[class*="certificate"] [class*="date"],
[class*="certificate"] [class*="hour"],
[class*="certificate"] [class*="grade"]{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}

/* Also remove white background from direct children inside the meta strip */
.ft-certificate-preview [data-element*="date"],
.ft-certificate-preview [data-element*="hours"],
.ft-certificate-preview [data-element*="grade"],
.ft-certificate-preview [data-cert-element*="date"],
.ft-certificate-preview [data-cert-element*="hours"],
.ft-certificate-preview [data-cert-element*="grade"],
.ft-certificate-preview [data-element*="date"] *,
.ft-certificate-preview [data-element*="hours"] *,
.ft-certificate-preview [data-element*="grade"] *,
.ft-certificate-preview [data-cert-element*="date"] *,
.ft-certificate-preview [data-cert-element*="hours"] *,
.ft-certificate-preview [data-cert-element*="grade"] *,
.ft-cert-preview [data-element*="date"],
.ft-cert-preview [data-element*="hours"],
.ft-cert-preview [data-element*="grade"],
.ft-cert-preview [data-element*="date"] *,
.ft-cert-preview [data-element*="hours"] *,
.ft-cert-preview [data-element*="grade"] *{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}

/* Keep only the outer selection guide subtle, not the internal white chips */
.ft-certificate-preview [data-element*="date"],
.ft-certificate-preview [data-element*="hours"],
.ft-certificate-preview [data-element*="grade"],
.ft-cert-preview [data-element*="date"],
.ft-cert-preview [data-element*="hours"],
.ft-cert-preview [data-element*="grade"]{
  border:1px dashed rgba(124,58,237,.22)!important;
  border-radius:14px!important;
}


/* v2.367 — exact certificate details fix */
.ft-cert-details-live,
.ft-cert-details-live:hover,
.ft-cert-details-live.is-selected{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}

.ft-cert-details-live span,
.ft-cert-details-live span:hover,
.ft-cert-details-live b,
.ft-cert-details-live *{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}

/* Keep only the outer editable guide, not internal white chips */
.ft-cert-details-live.is-selected,
.ft-cert-details-live:hover{
  border-color:rgba(124,58,237,.38)!important;
  outline:0!important;
}

/* v2.367 — better manager shortcut position */
.ft361-admin-shortcut{
  right:auto!important;
  left:22px!important;
  bottom:96px!important;
  z-index:99996!important;
  padding:12px 16px!important;
  border-radius:18px!important;
  max-width:220px!important;
}

/* Avoid conflict with WhatsApp button on left: lift shortcut above it if both exist */
.whatsapp-float ~ .ft361-admin-shortcut,
.ft361-admin-shortcut{
  transform:none!important;
}

.ft361-admin-shortcut:hover{
  transform:translateY(-2px)!important;
}

@media(max-width:700px){
  .ft361-admin-shortcut{
    left:14px!important;
    bottom:150px!important;
    right:auto!important;
    font-size:13px!important;
  }
}
