/* ET Mailer – formulare publice (moștenesc fonturile temei) */
.etm-form-wrap { max-width: 520px; margin: 1.5em auto; }
.etm-form-title { margin: 0 0 .4em; }
.etm-form-text { margin: 0 0 1em; }
.etm-form .etm-field { margin: 0 0 .9em; }
.etm-form label { display: block; font-weight: 600; margin-bottom: .3em; }
.etm-form input[type="text"],
.etm-form input[type="email"] { width: 100%; box-sizing: border-box; padding: .75em .9em; border: 1px solid #cfc7bd; border-radius: 6px; font-size: 1em; background: #fff; }
.etm-form input:focus { outline: 2px solid #7a4b2a; outline-offset: 1px; }
.etm-form .etm-consent label { font-weight: 400; font-size: .9em; line-height: 1.5; display: flex; gap: .5em; align-items: flex-start; }
.etm-form .etm-consent input { margin-top: .3em; flex: none; }
.etm-form button[type="submit"] { width: 100%; padding: .9em 1.2em; border: 0; border-radius: 6px; background: #7a4b2a; color: #fff; font-size: 1.05em; font-weight: 600; cursor: pointer; }
.etm-form button[type="submit"]:hover { filter: brightness(1.1); }
.etm-form button[disabled] { opacity: .6; cursor: wait; }
.etm-form .etm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.etm-message:empty { display: none; }
.etm-message { margin-top: .8em; padding: .8em 1em; border-radius: 6px; background: #f4f1ec; }
.etm-message.etm-ok { background: #e7f4ea; color: #1d5b2c; }
.etm-message.etm-error { background: #fbeaea; color: #8a1f1f; }

/* Varianta pe un rând: [etm_form class="etm-inline" name="0"] */
.etm-inline .etm-form { display: flex; flex-wrap: wrap; gap: .5em; align-items: flex-end; }
.etm-inline .etm-field:not(.etm-consent) { flex: 1 1 220px; margin: 0; }
.etm-inline .etm-submit { flex: 0 0 auto; margin: 0; }
.etm-inline .etm-consent, .etm-inline .etm-message { flex-basis: 100%; }
.etm-inline label[for] { position: absolute; left: -9999px; }

/* Pagini: confirmare / dezabonare / preferințe */
.etm-page { max-width: 640px; margin: 3em auto; padding: 0 1em; }
.etm-page h1 { margin-bottom: .6em; }
.etm-page-form input[type="text"], .etm-page-form select { width: 100%; max-width: 360px; padding: .6em; }
.etm-page-form button { padding: .8em 1.4em; border: 0; border-radius: 6px; background: #7a4b2a; color: #fff; font-weight: 600; cursor: pointer; }
.etm-page-form label small { color: #777; }
