/*
 * Copyright since 2012 202 ecommerce
 * Front-office notification styling.
 */

.totshowmailalerts_product {
    display: block;
    margin: 14px 0 12px;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.totshowmailalerts_product .totshowmailalerts-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8f2d56;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: color .16s ease, opacity .16s ease;
}

.totshowmailalerts_product .totshowmailalerts-trigger:hover,
.totshowmailalerts_product .totshowmailalerts-trigger:focus {
    color: #6f2143;
    text-decoration: underline;
    outline: none;
}

.totshowmailalerts_product .totshowmailalerts-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff4f8;
    color: #8f2d56;
    font-size: 14px;
    line-height: 1;
}

.totshowmailalerts_product .totshowmailalerts-form {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 520px;
    margin-top: 10px;
}

.totshowmailalerts_product .mailalerts_oos_email {
    flex: 1 1 auto;
    width: auto;
    min-width: 210px;
    height: 42px;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid rgba(143, 45, 86, .22);
    border-radius: 10px;
    background: #fff;
    color: #1f1b24;
    font-size: 14px;
    line-height: 42px;
    box-shadow: none;
}

.totshowmailalerts_product .mailalerts_oos_email:focus {
    border-color: #8f2d56;
    outline: none;
    box-shadow: 0 0 0 3px rgba(143, 45, 86, .10);
}

.totshowmailalerts_product .totshowmailalerts-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #8f2d56;
    border-radius: 999px;
    background: #8f2d56;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: none;
    cursor: pointer;
}

.totshowmailalerts_product .totshowmailalerts-submit:hover,
.totshowmailalerts_product .totshowmailalerts-submit:focus {
    background: #79264b;
    border-color: #79264b;
    color: #fff;
    outline: none;
}

.totshowmailalerts_product .totshowmailalerts-submit.is-loading {
    opacity: .72;
    cursor: wait;
}

.totshowmailalerts_product .totshowmailalerts-result {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

@media (max-width: 575px) {
    .totshowmailalerts_product .totshowmailalerts-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        max-width: none;
    }

    .totshowmailalerts_product .mailalerts_oos_email,
    .totshowmailalerts_product .totshowmailalerts-submit {
        width: 100%;
    }
}
