/* tmfreedownload – formulaire de téléchargement gratuit (thème Classic) */
.tmfd { margin: 1rem 0; border: 1px solid #e5e5e5; box-shadow: none; }
.tmfd .card-block { padding: 1.25rem; }
.tmfd__title { margin-bottom: .5rem; }
.tmfd__intro { margin-bottom: 1rem; color: #555; }
.tmfd__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.tmfd .form-control.is-invalid { border-color: #dc3545; }
.tmfd__field-msg { display: block; min-height: 1em; color: #dc3545; font-size: .85rem; margin-top: .25rem; }
.tmfd__checkbox { display: flex; gap: .5rem; align-items: flex-start; font-weight: normal; cursor: pointer; }
.tmfd__checkbox input { margin-top: .25rem; }
.tmfd__submit { display: inline-flex; align-items: center; gap: .4rem; }
.tmfd__submit[disabled] { opacity: .6; cursor: wait; }
.tmfd__global-msg { color: #dc3545; margin: .75rem 0 0; min-height: 1em; }
.tmfd__legal { font-size: .8rem; color: #777; margin: .75rem 0 0; line-height: 1.4; }
.tmfd__success { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem; background: #eef7ee; border-radius: 4px; }
.tmfd__success[hidden] { display: none; }
.tmfd__success .material-icons { color: #2e7d32; font-size: 2rem; }
.tmfd__success-msg { margin: 0; font-size: 1rem; }

/* Fiche livre blanc : le bouton panier, désactivé, est masqué (Classic et Creative Elements) */
body.tmfd-wp .product-add-to-cart,
body.tmfd-wp .elementor-widget-product-add-to-cart { display: none !important; }
.tmfd--floating { margin-top: 1rem; }

/* Vignettes de livres blancs */
.tmfd-wp-mini .elementor-widget-product-miniature-add-to-cart,
.tmfd-wp-mini .add-to-cart { display: none !important; }
.tmfd-download-btn { margin-top: .5rem; }

.tmfd__captcha { margin: .25rem 0 .75rem; min-height: 0; }
