/* Trident LMS 1.7.38: «Partilhe a sua conquista 🎉» panel and the «Começar a aprender» block (includes/cert-share.php). */
.tlms-share { box-sizing: border-box; width: 100%; max-width: 760px; margin: 16px auto; padding: 20px; background: #fff; color: #252652;
  border: 1px solid #dde2ea; border-radius: 14px; box-shadow: 0 4px 18px rgba(37, 38, 82, .07); text-align: left;
  font-family: "Inter", "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.tlms-share *, .tlms-share-cta * { box-sizing: border-box; }
.tlms-share-title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; color: #252652; }
.tlms-share-intro { margin: 0 0 12px; color: #5b6078; }
.tlms-share-label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.tlms-share-text { display: block; width: 100%; min-height: 120px; padding: 10px 12px; border: 1px solid #b9c0cf; border-radius: 10px;
  font: inherit; font-size: 15px; color: #252652; background: #fafbff; resize: vertical; }
.tlms-share-other { margin: 8px 0 0; min-height: 44px; padding: 8px 14px; border: 0; background: none; color: #0d6c8c; font: inherit;
  font-weight: 600; cursor: pointer; border-radius: 8px; }
.tlms-share-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 14px; }
.tlms-share-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 10px;
  border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center; text-decoration: none;
  color: #fff; cursor: pointer; }
.tlms-share-btn:hover { filter: brightness(1.08); text-decoration: none; color: #fff; }
.tlms-share-btn--li { background: #0a66c2; }
.tlms-share-btn--fb { background: #1565d8; }
.tlms-share-btn--wa { background: #0f7a3d; }
.tlms-share-btn--copy { background: #fff; color: #252652; border-color: #252652; }
.tlms-share-btn--copy:hover { color: #252652; background: #f2f4ff; }
.tlms-share-btn--cta { background: linear-gradient(135deg, #17a5bc, #0d6c8c); }
.tlms-share-btn:focus-visible, .tlms-share-other:focus-visible, .tlms-share-text:focus-visible, .tlms-share-details > summary:focus-visible {
  outline: 3px solid #f2a900; outline-offset: 2px; }
.tlms-share-status { min-height: 1.5em; margin: 10px 0 0; font-weight: 600; color: #1e7a4f; }
.tlms-share-xp { margin: 6px 0 0; font-size: 14px; color: #5b6078; }
.tlms-share-xp.is-got { color: #1e7a4f; font-weight: 600; }
.tlms-share-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tlms-share-details { margin-top: 10px; }
.tlms-share-details > summary { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: 10px; cursor: pointer;
  font-weight: 600; color: #0d6c8c; background: #eef8fa; list-style: none; }
.tlms-share-details > summary::-webkit-details-marker { display: none; }
.tlms-share-details .tlms-share { margin: 10px 0 0; box-shadow: none; }
.tlms-share-cta { box-sizing: border-box; width: 100%; max-width: 760px; margin: 8px auto 0; padding: 20px; display: flex; gap: 16px; align-items: center;
  flex-wrap: wrap; background: #252652; color: #fff; border-radius: 14px; font-family: "Inter", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.5; }
.tlms-share-cta p { flex: 1 1 320px; margin: 0; }
.tlms-share-cta img { flex: 0 0 auto; }
.tlms-share-cta .tlms-share-btn--cta { flex: 0 0 auto; }
.tlms-share-cta .tlms-share-btn--cta:focus-visible { outline-color: #fff; }
@media (max-width: 520px) {
  .tlms-share { padding: 16px; }
  .tlms-share-btns { grid-template-columns: 1fr; }
  .tlms-share-cta .tlms-share-btn--cta { width: 100%; }
}
@media print { .tlms-share, .tlms-share-cta, .tlms-share-details { display: none !important; } }
/* 1.7.39: «Descarregar certificado (PDF)» on the course-complete screen and in My Account */
.tlms-cert-dl--player { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 12px 0 4px; padding: 12px 22px; border-radius: 8px;
  background: linear-gradient(135deg, #17a5bc, #0d6c8c); color: #fff !important; font-weight: 600; font-size: 15px; text-decoration: none; }
.tlms-cert-dl--player:focus-visible { outline: 3px solid #252652; outline-offset: 2px; }
/* 1.7.44: «+10 XP por partilhar! 🎉» */
.tlms-share-toast { position: fixed; left: 50%; bottom: 24px; z-index: 99999; transform: translate(-50%, 20px); opacity: 0; transition: opacity .25s, transform .25s; background: #252552; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: calc(100vw - 32px); text-align: center; }
.tlms-share-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .tlms-share-toast { transition: none; } }
/* 1.7.49: LinkedIn tagging tip; landing from the email's «Publicar no LinkedIn» (box highlighted, big copy-and-open button) */
.tlms-share-tip { margin: 10px 0 4px; padding: 8px 12px; background: #eef5fb; border-left: 3px solid #0a66c2; border-radius: 6px; font-size: 14px; line-height: 1.45; color: #252552; }
.tlms-share[data-open] { box-shadow: 0 0 0 3px #0a66c2; scroll-margin-top: 80px; }
.tlms-share-open { margin: 12px 0 4px; }
.tlms-share-btn--big { display: flex; width: 100%; justify-content: center; min-height: 56px; font-size: 17px; }
