/* "Email Me This Recipe" button + pop-up. --psrc-btn is set from the plugin settings. */
.psrc-save-wrap { display: block; margin: 12px 0; text-align: inherit; }
.psrc-save-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--psrc-btn, #d9694a); color: #fff; border: 0; border-radius: 8px;
	padding: 12px 22px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2;
	cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); transition: transform .12s ease, filter .12s ease;
	max-width: 100%;
}
.psrc-save-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.psrc-save-btn:focus-visible { outline: 3px solid #1d1d1d; outline-offset: 2px; }

html.psrc-modal-open { overflow: hidden; }
.psrc-modal { position: fixed; inset: 0; z-index: 2147483647; display: flex; align-items: center; justify-content: center; padding: 16px; }
.psrc-modal[hidden] { display: none; }
.psrc-backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .55); }
.psrc-dialog {
	position: relative; background: #fff; color: #222; width: 100%; max-width: 420px;
	border-radius: 14px; padding: 30px 26px 22px; text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3); font-size: 16px; line-height: 1.45;
	max-height: calc(100vh - 32px); overflow: auto;
}
.psrc-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 28px; line-height: 1; color: #666; cursor: pointer; padding: 4px 8px; }
.psrc-icon { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--psrc-btn, #d9694a); color: #fff; font-size: 22px; font-weight: 700; }
.psrc-icon svg { width: 22px; height: 22px; }
.psrc-heading { font-size: 22px !important; line-height: 1.25 !important; margin: 0 0 8px !important; color: #222; }
.psrc-text { margin: 0 0 16px; color: #444; }
.psrc-email {
	display: block; width: 100%; box-sizing: border-box; padding: 13px 14px; font-size: 16px;
	border: 1.5px solid #cfcfcf; border-radius: 8px; margin: 0 0 10px; background: #fff; color: #222;
}
.psrc-email:focus { outline: none; border-color: var(--psrc-btn, #d9694a); box-shadow: 0 0 0 3px rgba(217, 105, 74, .2); }
.psrc-submit {
	display: block; width: 100%; padding: 13px 16px; border: 0; border-radius: 8px; cursor: pointer;
	background: var(--psrc-btn, #d9694a); color: #fff; font: inherit; font-weight: 700; font-size: 16px;
}
.psrc-submit[disabled] { opacity: .7; cursor: wait; }
.psrc-msg { color: #b32d2e; font-size: 14px; margin: 8px 0 0; min-height: 0; }
.psrc-msg:empty { display: none; }
.psrc-consent { font-size: 12.5px; color: #777; margin: 12px 0 0; }
.psrc-done-text { font-size: 18px; margin: 0 0 18px; }
.psrc-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.psrc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Phones: sit high so sticky footer ads never cover the form. */
@media (max-width: 600px) {
	.psrc-modal { align-items: flex-start; padding-top: 8vh; }
	.psrc-dialog { max-height: calc(100vh - 8vh - 120px); padding: 26px 20px 18px; }
}
@media print { .psrc-save-wrap, .psrc-modal { display: none !important; } }
