/* "Currently unavailable" modal (see /static/forms.js), styled to match HeadlineLogic's own
   Sign Up pop-up: near-black purple backdrop, purple title/button, lavender text, × close. */
.pl-unavailable-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;            /* above the site's own sign-up overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(11, 4, 22, 0.95);
    font-family: "Inter", sans-serif;
}
.pl-unavailable-overlay[hidden] { display: none; }
.pl-unavailable-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 12px;
    color: #E9EEFF;
    text-align: center;
}
/* Selectors include the overlay so the site's own h3/p rules (uppercase, left-aligned) don't win */
.pl-unavailable-overlay .pl-unavailable-dialog h3 {
    margin: 0 0 16px;
    padding: 0 24px;
    font-family: "Inter", sans-serif;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    text-transform: none;
    color: #9747FF;
}
.pl-unavailable-overlay .pl-unavailable-dialog p {
    margin: 0 0 28px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-transform: none;
    color: #E9EEFF;
}
.pl-unavailable-close {
    width: 100%;
    padding: 12px;
    border: 1px solid #9747FF;
    border-radius: 4px;
    background: #9747FF;
    color: #FFFFFF;
    font: 700 16px "Inter", sans-serif;
    cursor: pointer;
}
.pl-unavailable-close:hover { background: #A855F7; border-color: #A855F7; }
.pl-unavailable-close:focus-visible { outline: 2px solid #E9EEFF; outline-offset: 2px; }
.pl-unavailable-x {
    position: absolute;
    top: 0;
    right: 4px;
    padding: 0 6px;
    border: 0;
    background: none;
    color: #A855F7;
    font: 400 26px/1 "Inter", sans-serif;
    cursor: pointer;
}
.pl-unavailable-x:hover { color: #E9EEFF; }
.pl-unavailable-x:focus-visible { outline: 2px solid #A855F7; outline-offset: 2px; }

/* Thank-you message that replaces the Contact form after a successful send */
.pl-form-thanks { padding: 24px 0; text-align: center; }
.pl-form-thanks h3 { margin: 0 0 8px; color: #9747FF; font-size: 24px; font-weight: 700; }
.pl-form-thanks p { margin: 0; font-size: 15px; }
