.rm-signup-wrap {
    max-width: 560px;
}

.rm-signup-form .rm-signup-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* E-Mail-Eingabefeld */
.rm-signup-form input[type="email"] {
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    line-height: 1.4;
    display: block;
	margin-bottom: 1em;

}

.rm-signup-form input[type="email"]:focus {
    outline: 2px solid #0073aa;
    outline-offset: 1px;
    border-color: #0073aa;
}

/* Feedback ZWISCHEN Input und Button */
.rm-signup-feedback {
    font-size: 1em;
    line-height: 1.5;
    min-height: 0;
    margin-bottom: 0;
    transition: all 0.2s ease;
}

.rm-signup-feedback:not(:empty) {
    margin: 0em 0 1em 0;
}

.rm-signup-feedback.rm-success {
    color: #1e7e34;
}

.rm-signup-feedback.rm-error {
    color: #c0392b;
}

/* Button */
.rm-signup-form button[type="submit"] {
    padding: 10px 20px;
    font-size: 1rem;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    display: inline-block;
    margin-bottom: 0;
}

.rm-signup-form button[type="submit"]:hover {
    background: #005177;
}

.rm-signup-form button[type="submit"]:disabled {
    background: #999;
    cursor: default;
}

/* DOI-Hinweis */
.rm-doi-notice {
    margin: 1.5em 0 0;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
}
/* ── Anmelden / Abmelden Toggle ──────────────────────────────── */
.rm-mode-toggle {
    display: inline-flex;
    border: 1px solid #bbb;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1.5em;
    font-size: 0.7em;
}

.rm-toggle-btn {
    padding: 4px 12px;
    border: none;
    background: #f0f0f0;
    color: #666;
    cursor: pointer;
    font-size: inherit;
    line-height: 1.4;
    transition: background 0.15s, color 0.15s;
}

.rm-toggle-btn + .rm-toggle-btn {
    border-left: 1px solid #bbb;
}


.rm-toggle-btn.is-active.rm-toggle-signup:hover,
.rm-toggle-btn.is-active.rm-toggle-signup {
    background: #66ab64;
    font-weight: 600;
	color: white;
}

.rm-toggle-btn.is-active.rm-toggle-unsub:hover,
.rm-toggle-btn.is-active.rm-toggle-unsub {
    background: #d64f48;
    font-weight: 600;
	color: white;
}

.rm-toggle-btn:not(.is-active):hover {
    background: #ddd;
    color: #333;
}

/* ── Abmelde-Begründungsfeld ─────────────────────────────────── */
.rm-unsub-reason-wrap {
    width: 100%;
    margin-bottom: 8px;
}

.rm-unsub-hint {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 6px;
    line-height: 1.5;
}

.rm-unsub-reason {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    line-height: 1.5;
    font-family: inherit;
    color: #333;
}

.rm-unsub-reason:focus {
    outline: 2px solid #c0392b;
    outline-offset: 1px;
    border-color: #c0392b;
}