/*
 * MTG NEWSLETTER UNIVERSAL V1
 *
 * Diseño canónico:
 * fondo oscuro,
 * textos blancos,
 * input visible,
 * CTA verde.
 */

body [data-core-section="newsletter"],
body #newsletter {
    background:#090b0c !important;
    color:#ffffff !important;
    border-color:#25282c !important;
}


/*
 * Contenedores internos conocidos.
 */
body [data-core-section="newsletter"]
[class*="newsletter"],
body #newsletter
[class*="newsletter"] {
    color:#ffffff;
}


/*
 * Textos.
 */
body [data-core-section="newsletter"] h1,
body [data-core-section="newsletter"] h2,
body [data-core-section="newsletter"] h3,
body [data-core-section="newsletter"] strong,
body [data-core-section="newsletter"] label,
body #newsletter h1,
body #newsletter h2,
body #newsletter h3,
body #newsletter strong,
body #newsletter label {
    color:#ffffff !important;
}


body [data-core-section="newsletter"] p,
body [data-core-section="newsletter"] span,
body #newsletter p,
body #newsletter span {
    color:#cbd5e1 !important;
}


/*
 * Form.
 */
body [data-core-section="newsletter"] form,
body #newsletter form {
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
}


body [data-core-section="newsletter"]
input[type="email"],
body #newsletter
input[type="email"] {
    flex:1 1 auto !important;
    min-width:0 !important;
    min-height:46px !important;
    padding:0 16px !important;
    border:1px solid #30343a !important;
    border-radius:10px !important;
    background:#111315 !important;
    color:#ffffff !important;
    box-shadow:none !important;
}


body [data-core-section="newsletter"]
input[type="email"]::placeholder,
body #newsletter
input[type="email"]::placeholder {
    color:#8b949e !important;
    opacity:1 !important;
}


body [data-core-section="newsletter"] button,
body #newsletter button {
    min-height:46px !important;
    padding:0 28px !important;
    border:0 !important;
    border-radius:12px !important;
    background:#12b95a !important;
    color:#ffffff !important;
    font-weight:800 !important;
    cursor:pointer !important;
    box-shadow:none !important;
}


body [data-core-section="newsletter"]
button:hover,
body #newsletter
button:hover {
    background:#0ea950 !important;
}


body [data-core-section="newsletter"]
button:disabled,
body #newsletter
button:disabled {
    opacity:.65 !important;
    cursor:wait !important;
}


.mtg-newsletter-message {
    width:100%;
    margin-top:8px;
    font-size:13px;
    font-weight:700;
}


.mtg-newsletter-message.is-success {
    color:#4ade80 !important;
}


.mtg-newsletter-message.is-error {
    color:#f87171 !important;
}


@media (max-width:720px) {

    body [data-core-section="newsletter"] form,
    body #newsletter form {
        flex-direction:column !important;
        align-items:stretch !important;
    }


    body [data-core-section="newsletter"] button,
    body #newsletter button {
        width:100% !important;
    }
}
