.tms-fpp-stock-alert {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #d9e2e8;
    border-radius: 4px;
    background: #f7fafb;
}

#oosHook > #mailalert_link,
#oosHook > #oos_customer_email,
#oosHook > #oos_customer_email_result,
#oosHook > .form-group,
#oosHook > form {
    display: none !important;
}

.tms-fpp-stock-alert__heading {
    display: table;
    width: 100%;
    margin-bottom: 12px;
}

.tms-fpp-stock-alert__heading > i,
.tms-fpp-stock-alert__heading > div {
    display: table-cell;
    vertical-align: top;
}

.tms-fpp-stock-alert__heading > i {
    width: 30px;
    padding-top: 2px;
    color: #3a7594;
    font-size: 20px;
}

.tms-fpp-stock-alert__heading strong,
.tms-fpp-stock-alert__heading span {
    display: block;
}

.tms-fpp-stock-alert__heading strong {
    margin-bottom: 2px;
    color: #333;
    font-size: 15px;
}

.tms-fpp-stock-alert__heading span {
    color: #666;
    line-height: 1.4;
}

.tms-fpp-stock-alert__form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tms-fpp-stock-alert__email,
.tms-fpp-stock-alert__button,
.tms-fpp-stock-alert__unsubscribe {
    box-sizing: border-box;
    height: 32px;
}

.tms-fpp-stock-alert__email {
    min-width: 0;
    flex: 1 1 190px;
}

.tms-fpp-stock-alert__button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.tms-fpp-stock-alert__button-loading {
    display: none;
}

.tms-fpp-stock-alert.is-loading .tms-fpp-stock-alert__button-label {
    display: none;
}

.tms-fpp-stock-alert.is-loading .tms-fpp-stock-alert__button-loading {
    display: inline;
}

.tms-fpp-stock-alert__consent {
    width: 100%;
}

.tms-fpp-stock-alert__result {
    display: none;
    margin: 10px 0 0;
    line-height: 1.4;
}

.tms-fpp-stock-alert__unsubscribe,
.tms-fpp-stock-alert__unsubscribe-loading {
    display: none;
}

.tms-fpp-stock-alert__unsubscribe.is-loading .tms-fpp-stock-alert__unsubscribe-label {
    display: none;
}

.tms-fpp-stock-alert__unsubscribe.is-loading .tms-fpp-stock-alert__unsubscribe-loading {
    display: inline;
}

.tms-fpp-stock-alert.is-success .tms-fpp-stock-alert__result,
.tms-fpp-stock-alert.is-error .tms-fpp-stock-alert__result {
    display: block;
}

.tms-fpp-stock-alert.is-success .tms-fpp-stock-alert__result {
    color: #3c763d;
}

.tms-fpp-stock-alert.is-error .tms-fpp-stock-alert__result {
    color: #a94442;
}

.tms-fpp-stock-alert.is-subscribed {
    border-color: #b7d8b1;
    background: #f3faf1;
}

@media (max-width: 480px) {
    .tms-fpp-stock-alert__button {
        width: 100%;
    }
}
