/* Tikshoret News — reader tools (newsletter signup form + popup). */

.tikshoret-newsletter {
    background: #f6f8fb;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
    direction: rtl;
    text-align: right;
}
.tikshoret-newsletter__title {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 10px;
}
.tikshoret-newsletter__row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.tikshoret-newsletter__email {
    flex: 1 1 220px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #c9d3e0;
    border-radius: 8px;
    font-size: 15px;
}
.tikshoret-newsletter__btn {
    flex: 0 0 auto;
    background: #f60d1d;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}
.tikshoret-newsletter__btn:hover { background: #d40b18; }
.tikshoret-newsletter__btn[disabled] { opacity: .6; cursor: default; }
.tikshoret-newsletter__msg {
    margin: 8px 0 0;
    font-size: 14px;
    min-height: 1em;
}
.tikshoret-newsletter__msg.is-ok    { color: #0a8a3e; }
.tikshoret-newsletter__msg.is-error { color: #c01616; }

/* Popup overlay. */
.tikshoret-newsletter-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 16px;
}
.tikshoret-newsletter-popup__inner {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.tikshoret-newsletter-popup__inner .tikshoret-newsletter {
    margin: 0;
    background: #fff;
    border: none;
}
.tikshoret-newsletter-popup__close {
    position: absolute;
    inset-inline-start: 10px;
    top: 8px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #888;
}
.tikshoret-newsletter-popup__close:hover { color: #222; }
