/* One-email request forms (do-not-sell.php, delete-account.php): fields styled like the forgot
   password form, on the advertiser.php stats background; colours come from the theme variables
   in base.css. */

.pp-req-page h1 {
    text-align: center;
}

.pp-req-page h1 b:after {
    margin-left: auto;
    margin-right: auto;
}

/* Same rectangle as the stats blocks on advertiser.php (.pp-feature) */
.pp-req {
    max-width: 640px;
    margin: 0 auto 48px;
    padding: 40px 60px;
    background: var(--feature-bg);
    box-sizing: border-box;
}

/* In the dark theme --feature-bg is almost the page background, so a slightly lighter blue */
.theme-dark .pp-req {
    background: linear-gradient(90deg, #0b1a3a 0%, #10244f 100%);
}

@media (max-width: 768px) {
    .pp-req {
        padding: 32px 24px;
    }
}

.pp-req-intro {
    margin: 0 0 24px;
    text-align: center;
}

.pp-req-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pp-req-input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    border: 1px solid var(--border-block);
    border-radius: 24px;
    background: transparent;
    color: var(--text);
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s ease;
}

.pp-req-input::placeholder {
    color: var(--muted);
}

.pp-req-input:focus {
    border-color: var(--primary);
}

.pp-req-input.is-invalid {
    border-color: #e5484d;
}

.pp-req-error {
    margin: -8px 0 0 16px;
    color: #e5484d;
    font-size: 14px;
    line-height: 20px;
}

.pp-req-submit {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 25px;
    background: var(--primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.pp-req-submit:hover {
    background: var(--primary-2);
}

.pp-req-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
}

.pp-req-result {
    text-align: center;
}

.pp-req-result p {
    margin: 0;
    color: var(--muted);
}

.pp-req-result p + p {
    margin-top: 8px;
}

.pp-req-result-title {
    margin-bottom: 8px !important;
    color: var(--text) !important;
    font-size: 18px;
    font-weight: 600;
}
