/**
 * PersianDonation Pro — Frontend styles
 *
 * Design system «فیروزه و زعفران» (Turquoise & Saffron on warm sand):
 * a soulful-minimal, RTL-native visual language.
 *
 *   - Palette: deep turquoise primary, saffron accent, warm sand neutrals
 *   - Typography: Vazirmatn (self-hosted, 4 weights), generous line-height
 *   - Signature: girih star pattern in headers, gradient hairlines,
 *     layered soft shadows, micro-interactions everywhere
 *   - A11y: visible focus rings, reduced-motion support, ARIA-friendly
 *
 * @package PersianDonationPro
 * @since   1.5.0
 */

/* ==========================================================================
   0. Fonts + design tokens
   ========================================================================== */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Token scope: every PDP frontend widget root */
.pdp-form-wrap,
.pdp-campaign-card,
.pdp-campaign-progress,
.pdp-wall-of-donors,
.pdp-donor-dashboard,
.pdp-donor-login-wrap,
.pdp-campaigns-list {
    --pdp-ink: #26221d;
    --pdp-ink-soft: #675f55;
    --pdp-ink-faint: #9a9186;
    --pdp-paper: #ffffff;
    --pdp-cream: #faf7f1;
    --pdp-sand: #f4efe7;
    --pdp-line: #ece5d8;
    --pdp-line-soft: #f2ede3;
    --pdp-line-hard: #dcd2c0;

    --pdp-turq: #17877b;
    --pdp-turq-deep: #106a60;
    --pdp-turq-ink: #0c544c;
    --pdp-turq-soft: #e4f2ef;
    --pdp-turq-mist: #f2f8f6;

    --pdp-saffron: #e8a23c;
    --pdp-saffron-deep: #c4831f;
    --pdp-saffron-soft: #fbf1de;

    --pdp-green: #44926b;
    --pdp-green-soft: #e8f3ec;

    --pdp-coral: #c8554c;
    --pdp-coral-deep: #a93f38;
    --pdp-coral-soft: #faedea;

    --pdp-r-xl: 22px;
    --pdp-r-lg: 16px;
    --pdp-r-md: 12px;
    --pdp-r-sm: 9px;

    --pdp-sh-1: 0 1px 2px rgba(38, 34, 29, 0.04), 0 2px 10px -2px rgba(38, 34, 29, 0.05);
    --pdp-sh-2: 0 2px 6px rgba(38, 34, 29, 0.04), 0 18px 40px -14px rgba(38, 34, 29, 0.16);
    --pdp-sh-3: 0 14px 32px -10px rgba(16, 106, 96, 0.42);

    --pdp-ease: cubic-bezier(0.22, 0.68, 0.32, 1);

    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Arial, sans-serif;
    color: var(--pdp-ink);
    line-height: 1.9;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. Donation form
   ========================================================================== */

.pdp-form-wrap {
    direction: rtl;
    max-width: none;
    width: 100%;
    margin: 28px auto;
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-r-xl);
    box-shadow: var(--pdp-sh-2);
    overflow: hidden;
}

/* ---- Header: warm gradient band with the girih star pattern ---- */

.pdp-form-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 26px 28px 24px;
    background: linear-gradient(135deg, var(--pdp-turq-mist) 0%, var(--pdp-turq-soft) 55%, var(--pdp-saffron-soft) 130%);
    border-bottom: 1px solid var(--pdp-line);
    overflow: hidden;
}

.pdp-form-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%230c544c' stroke-width='1' opacity='0.09'%3E%3Cpath d='M28 4 34 22 52 28 34 34 28 52 22 34 4 28 22 22Z'/%3E%3Crect x='14' y='14' width='28' height='28'/%3E%3Crect x='14' y='14' width='28' height='28' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 56px;
    pointer-events: none;
}

.pdp-form-header > * {
    position: relative;
}

.pdp-form-header-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #1b9a8c, var(--pdp-turq-ink));
    color: #fff;
    box-shadow: var(--pdp-sh-3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.pdp-form-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--pdp-ink);
}

.pdp-form-subtitle {
    margin: 2px 0 0;
    font-size: 13px;
    font-weight: 400;
    color: var(--pdp-ink-soft);
}

/* ---- Form body ---- */

.pdp-donation-form {
    padding: 24px 28px 26px;
}

/* ---- Fields ---- */

.pdp-field {
    margin: 0 0 20px;
}

.pdp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}

.pdp-label {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp-ink-soft);
}

.pdp-required {
    color: var(--pdp-saffron-deep);
    font-weight: 700;
}

.pdp-input {
    width: 100%;
    margin: 0;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.8;
    color: var(--pdp-ink);
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line-hard);
    border-radius: var(--pdp-r-md);
    transition: border-color 0.18s var(--pdp-ease), box-shadow 0.18s var(--pdp-ease), background-color 0.18s var(--pdp-ease);
    appearance: none;
}

textarea.pdp-input {
    resize: vertical;
    min-height: 84px;
}

.pdp-input:hover {
    border-color: #c4b8a2;
}

.pdp-input:focus {
    outline: none;
    border-color: var(--pdp-turq);
    background: #fff;
    box-shadow: 0 0 0 3.5px rgba(23, 135, 123, 0.16);
}

.pdp-input:focus-visible {
    outline: none;
}

.pdp-input::placeholder {
    color: var(--pdp-ink-faint);
}

.pdp-input.is-invalid {
    border-color: var(--pdp-coral);
    box-shadow: 0 0 0 3.5px rgba(200, 85, 76, 0.14);
}

.pdp-input.is-valid {
    border-color: #bcd9c8;
}

.pdp-input[dir="ltr"] {
    text-align: left;
    direction: ltr;
}

/* ---- Amount: suggested chips + custom field ---- */

.pdp-amount-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 12px;
}

.pdp-amount-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    min-width: 96px;
    padding: 10px 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--pdp-ink-soft);
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line-hard);
    border-radius: var(--pdp-r-md);
    cursor: pointer;
    transition: transform 0.16s var(--pdp-ease), border-color 0.16s var(--pdp-ease), background-color 0.16s var(--pdp-ease), color 0.16s var(--pdp-ease), box-shadow 0.16s var(--pdp-ease);
}

.pdp-amount-tag:hover {
    color: var(--pdp-turq-deep);
    background: var(--pdp-turq-mist);
    border-color: #9ccdc5;
    transform: translateY(-1px);
}

.pdp-amount-tag:active {
    transform: translateY(0) scale(0.97);
}

.pdp-amount-tag.is-selected {
    color: #fff;
    background: linear-gradient(135deg, #1b9a8c, var(--pdp-turq-deep));
    border-color: transparent;
    box-shadow: 0 10px 22px -8px rgba(16, 106, 96, 0.55);
}

.pdp-amount-tag.is-selected .pdp-tag-unit {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
    font-size: 12px;
}

.pdp-amount-tag:focus-visible {
    outline: 2px solid var(--pdp-turq);
    outline-offset: 2px;
}

.pdp-tag-value {
    font-variant-numeric: tabular-nums;
}

.pdp-amount-custom-tag {
    position: relative;
    display: block;
}

.pdp-input-amount {
    padding-inline-end: 62px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.pdp-currency-suffix {
    position: absolute;
    inset-inline-end: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 500;
    color: var(--pdp-ink-faint);
    pointer-events: none;
}

.pdp-amount-hint {
    margin: 9px 2px 0;
    font-size: 12px;
    color: var(--pdp-ink-faint);
}

.pdp-field-desc {
    margin: 8px 2px 0;
    font-size: 12.5px;
    color: var(--pdp-ink-faint);
    line-height: 1.9;
}

/* ---- Recurring: segmented control ---- */

.pdp-recurring-options {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--pdp-sand);
    border-radius: var(--pdp-r-md);
}

.pdp-recurring-option {
    flex: 1;
    position: relative;
    margin: 0;
    text-align: center;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pdp-ink-soft);
    cursor: pointer;
    transition: background-color 0.18s var(--pdp-ease), color 0.18s var(--pdp-ease), box-shadow 0.18s var(--pdp-ease);
}

.pdp-recurring-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.pdp-recurring-option:hover {
    color: var(--pdp-turq-deep);
}

.pdp-recurring-option:has(input:checked) {
    background: var(--pdp-paper);
    color: var(--pdp-turq-ink);
    box-shadow: var(--pdp-sh-1);
}

/* JS fallback for engines without :has() support */
.pdp-recurring-option.is-selected {
    background: var(--pdp-paper);
    color: var(--pdp-turq-ink);
    box-shadow: var(--pdp-sh-1);
}

.pdp-recurring-option input:focus-visible + span {
    outline: 2px solid var(--pdp-turq);
    outline-offset: 2px;
    border-radius: 5px;
}

.pdp-frequency-select {
    margin-top: 14px;
}

/* ---- Checkboxes (wallet / anonymous) ---- */

.pdp-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--pdp-ink-soft);
    cursor: pointer;
}

.pdp-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 5px 0 0;
    background: var(--pdp-paper);
    border: 1.5px solid var(--pdp-line-hard);
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.16s var(--pdp-ease), border-color 0.16s var(--pdp-ease);
}

.pdp-checkbox-label input[type="checkbox"]:hover {
    border-color: #9ccdc5;
}

.pdp-checkbox-label input[type="checkbox"]:checked {
    background: var(--pdp-turq)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
        center / 12px 12px no-repeat;
    border-color: var(--pdp-turq);
}

.pdp-checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--pdp-turq);
    outline-offset: 2px;
}

.pdp-wallet-toggle {
    padding: 13px 16px;
    background: var(--pdp-saffron-soft);
    border: 1px dashed #e6c98f;
    border-radius: var(--pdp-r-md);
}

/* ---- Gateway selector ---- */

.pdp-gateway-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 10px;
}

.pdp-gateway-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px 12px;
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line-hard);
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.16s var(--pdp-ease), border-color 0.16s var(--pdp-ease), background-color 0.16s var(--pdp-ease), box-shadow 0.16s var(--pdp-ease);
}

.pdp-gateway-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.pdp-gateway-option:hover {
    border-color: #9ccdc5;
    background: var(--pdp-turq-mist);
    transform: translateY(-2px);
}

.pdp-gateway-option .pdp-gateway-logo {
    height: 26px;
    width: auto;
    object-fit: contain;
}

.pdp-gateway-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pdp-ink-soft);
    transition: color 0.16s var(--pdp-ease);
}

.pdp-gateway-option.is-selected {
    border-color: var(--pdp-turq);
    background: var(--pdp-turq-mist);
    box-shadow: 0 0 0 3.5px rgba(23, 135, 123, 0.15);
}

.pdp-gateway-option.is-selected .pdp-gateway-name {
    color: var(--pdp-turq-ink);
}

.pdp-gateway-option.is-selected::after {
    content: "";
    position: absolute;
    top: 9px;
    inset-inline-end: 9px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--pdp-turq)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
        center / 11px 11px no-repeat;
    box-shadow: 0 3px 8px -2px rgba(16, 106, 96, 0.5);
}

.pdp-gateway-option:focus-within {
    outline: 2px solid var(--pdp-turq);
    outline-offset: 2px;
}

/* ---- Submit ---- */

.pdp-form-actions {
    margin: 24px 0 0;
}

.pdp-submit-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 13px 22px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: #fff;
    background: linear-gradient(135deg, #1b9a8c, #0f6f64);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: var(--pdp-sh-3);
    transition: transform 0.18s var(--pdp-ease), box-shadow 0.18s var(--pdp-ease), filter 0.18s var(--pdp-ease), background-color 0.18s var(--pdp-ease);
}

.pdp-submit-btn:not(:disabled):hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 18px 40px -12px rgba(16, 106, 96, 0.5);
}

.pdp-submit-btn:not(:disabled):active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 8px 20px -8px rgba(16, 106, 96, 0.45);
}

.pdp-submit-btn:disabled {
    background: var(--pdp-sand);
    color: var(--pdp-ink-faint);
    cursor: not-allowed;
    box-shadow: none;
}

.pdp-submit-btn:focus-visible {
    outline: 2px solid var(--pdp-turq-ink);
    outline-offset: 3px;
}

.pdp-btn-icon {
    transition: transform 0.2s var(--pdp-ease);
}

.pdp-submit-btn:not(:disabled):hover .pdp-btn-icon {
    transform: translateX(-4px);
}

.pdp-btn-spinner {
    position: absolute;
    inset-inline-start: 20px;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.pdp-submit-btn.is-loading {
    pointer-events: none;
}

.pdp-submit-btn.is-loading .pdp-btn-spinner {
    opacity: 1;
    transform: scale(1);
    animation: pdp-spin 0.7s linear infinite;
}

.pdp-submit-btn.is-loading .pdp-btn-icon {
    opacity: 0;
}

@keyframes pdp-spin {
    to { transform: rotate(360deg); }
}

/* ---- Status messages ---- */

.pdp-status {
    display: none;
    align-items: flex-start;
    gap: 11px;
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: var(--pdp-r-md);
    font-size: 13.5px;
    line-height: 1.9;
}

.pdp-status.is-visible {
    display: flex;
    animation: pdp-slide-down 0.32s var(--pdp-ease);
}

@keyframes pdp-slide-down {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pdp-status-success {
    background: var(--pdp-green-soft);
    border: 1px solid #c6e2d2;
    color: #2c6847;
}

.pdp-status-error {
    background: var(--pdp-coral-soft);
    border: 1px solid #ecc8c4;
    color: var(--pdp-coral-deep);
}

.pdp-status-icon {
    flex: 0 0 auto;
    margin-top: 4px;
}

.pdp-status-text:empty {
    display: none;
}

/* ---- Footer trust line ---- */

.pdp-form-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    padding-top: 15px;
    border-top: 1px dashed var(--pdp-line);
    font-size: 12px;
    color: var(--pdp-ink-faint);
}

.pdp-form-footer svg {
    flex: 0 0 auto;
    opacity: 0.75;
}

/* ==========================================================================
   2. Campaign card
   ========================================================================== */

.pdp-campaign-card {
    direction: rtl;
    max-width: none;
    width: 100%;
    margin: 14px auto;
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-r-xl);
    box-shadow: var(--pdp-sh-1);
    overflow: hidden;
    transition: transform 0.28s var(--pdp-ease), box-shadow 0.28s var(--pdp-ease), border-color 0.28s var(--pdp-ease);
}

.pdp-campaign-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--pdp-sh-2);
    border-color: #dcd2c0;
}

.pdp-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--pdp-sand);
}

.pdp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--pdp-ease);
}

.pdp-campaign-card:hover .pdp-card-image img {
    transform: scale(1.045);
}

.pdp-card-body {
    padding: 20px 22px 22px;
}

.pdp-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--pdp-ink);
}

.pdp-card-desc {
    font-size: 13.5px;
    color: var(--pdp-ink-soft);
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Progress (shared by card + standalone widget) ---- */

.pdp-progress-bar {
    position: relative;
    height: 10px;
    background: var(--pdp-sand);
    border-radius: 999px;
    overflow: hidden;
}

.pdp-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #1b9a8c, #44926b);
    position: relative;
    overflow: hidden;
    transition: width 0.7s var(--pdp-ease);
}

.pdp-progress-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    transform: translateX(100%);
    animation: pdp-sheen 2.8s ease-in-out infinite;
}

@keyframes pdp-sheen {
    0%   { transform: translateX(100%); }
    55%, 100% { transform: translateX(-100%); }
}

.pdp-card-progress {
    margin-top: 16px;
}

.pdp-card-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 9px;
    font-size: 12.5px;
}

.pdp-card-raised {
    font-weight: 600;
    color: var(--pdp-ink-soft);
    font-variant-numeric: tabular-nums;
}

.pdp-card-percent {
    display: inline-block;
    padding: 1px 10px;
    border-radius: 999px;
    background: var(--pdp-saffron-soft);
    color: var(--pdp-saffron-deep);
    font-weight: 700;
    font-size: 12px;
    line-height: 21px;
    font-variant-numeric: tabular-nums;
}

.pdp-card-raised-only {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--pdp-saffron-soft);
    color: var(--pdp-saffron-deep);
    font-size: 13.5px;
    font-weight: 600;
}

.pdp-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pdp-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--pdp-cream);
    border: 1px solid var(--pdp-line-soft);
    font-size: 12px;
    color: var(--pdp-ink-soft);
}

.pdp-card-stat .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: var(--pdp-turq);
}

.pdp-card-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, #1b9a8c, #0f6f64);
    border-radius: 13px;
    box-shadow: 0 10px 24px -10px rgba(16, 106, 96, 0.55);
    transition: transform 0.18s var(--pdp-ease), box-shadow 0.18s var(--pdp-ease), filter 0.18s var(--pdp-ease);
}

.pdp-card-button:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -10px rgba(16, 106, 96, 0.55);
}

/* ==========================================================================
   3. Campaign progress widget
   ========================================================================== */

.pdp-campaign-progress {
    direction: rtl;
    max-width: none;
    width: 100%;
    margin: 18px auto;
    padding: 24px 26px;
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-r-xl);
    box-shadow: var(--pdp-sh-1);
}

.pdp-progress-amounts {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.pdp-progress-amounts-single {
    justify-content: flex-start;
}

.pdp-progress-raised,
.pdp-progress-goal {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pdp-progress-goal {
    text-align: end;
}

.pdp-amount-value {
    font-size: 19px;
    font-weight: 700;
    color: var(--pdp-ink);
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
}

.pdp-progress-raised .pdp-amount-value {
    color: var(--pdp-turq-ink);
}

.pdp-amount-label {
    font-size: 12px;
    color: var(--pdp-ink-faint);
}

.pdp-progress-bar-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-progress-bar-wrap .pdp-progress-bar {
    flex: 1;
    height: 12px;
}

.pdp-progress-bar-wrap.is-complete .pdp-progress-fill {
    background: linear-gradient(90deg, #1b9a8c, #44926b);
}

.pdp-progress-percent {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    color: var(--pdp-turq-deep);
    font-variant-numeric: tabular-nums;
    direction: ltr;
}

.pdp-goal-reached-msg {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 10px 14px;
    border-radius: var(--pdp-r-md);
    background: var(--pdp-saffron-soft);
    color: var(--pdp-saffron-deep);
    font-size: 13px;
    font-weight: 600;
}

.pdp-goal-reached-msg .dashicons {
    color: var(--pdp-saffron-deep);
    font-size: 17px;
    width: 17px;
    height: 17px;
}

.pdp-progress-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
}

.pdp-progress-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--pdp-ink-soft);
}

.pdp-progress-meta-item .dashicons {
    font-size: 15px;
    width: 15px;
    height: 15px;
    color: var(--pdp-turq);
}

/* ==========================================================================
   4. Wall of donors
   ========================================================================== */

.pdp-wall-of-donors {
    direction: rtl;
    max-width: none;
    width: 100%;
    margin: 18px auto;
    padding: 24px 26px;
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-r-xl);
    box-shadow: var(--pdp-sh-1);
}

.pdp-wall-stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 7px 15px;
    border-radius: 999px;
    background: var(--pdp-turq-mist);
    border: 1px solid var(--pdp-turq-soft);
    font-size: 13px;
    color: var(--pdp-turq-ink);
}

.pdp-wall-stats .dashicons {
    color: var(--pdp-turq);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.pdp-wall-count {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pdp-wall-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pdp-wall-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 16px;
    background: var(--pdp-cream);
    border: 1px solid var(--pdp-line-soft);
    border-radius: 16px;
    transition: background-color 0.18s var(--pdp-ease), border-color 0.18s var(--pdp-ease), transform 0.18s var(--pdp-ease);
}

.pdp-wall-item:hover {
    background: var(--pdp-turq-mist);
    border-color: var(--pdp-turq-soft);
    transform: translateX(-2px);
}

/* Avatar — a different jewel gradient for every 6th donor */
.pdp-wall-avatar {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    background: linear-gradient(135deg, #26a69a, #106a60);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 4px 10px -3px rgba(16, 106, 96, 0.4);
}

.pdp-wall-item:nth-child(6n+2) .pdp-wall-avatar { background: linear-gradient(135deg, #f0b95a, #c4831f); }
.pdp-wall-item:nth-child(6n+3) .pdp-wall-avatar { background: linear-gradient(135deg, #6fb986, #35764f); }
.pdp-wall-item:nth-child(6n+4) .pdp-wall-avatar { background: linear-gradient(135deg, #74808c, #46505b); }
.pdp-wall-item:nth-child(6n+5) .pdp-wall-avatar { background: linear-gradient(135deg, #4fb3c9, #256a7c); }
.pdp-wall-item:nth-child(6n+6) .pdp-wall-avatar { background: linear-gradient(135deg, #d88b7e, #a93f38); }

.pdp-wall-info {
    flex: 1;
    min-width: 0;
}

.pdp-wall-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pdp-ink);
}

.pdp-wall-amount {
    display: inline-block;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--pdp-saffron-soft);
    color: var(--pdp-saffron-deep);
    font-size: 12px;
    font-weight: 700;
    line-height: 21px;
    font-variant-numeric: tabular-nums;
}

.pdp-wall-message {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--pdp-ink-soft);
    line-height: 1.9;
}

.pdp-wall-date {
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--pdp-ink-faint);
}

.pdp-wall-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 34px 16px;
    text-align: center;
    color: var(--pdp-ink-faint);
    font-size: 13.5px;
}

.pdp-wall-empty .dashicons {
    font-size: 26px;
    width: 64px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    border-radius: 50%;
    background: var(--pdp-turq-mist);
    color: var(--pdp-turq);
}

/* ==========================================================================
   5. Donor dashboard
   ========================================================================== */

.pdp-donor-dashboard {
    direction: rtl;
    max-width: none;
    width: 100%;
    margin: 24px auto;
}

.pdp-dashboard-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
    padding: 26px 28px;
    background: linear-gradient(135deg, var(--pdp-turq-mist), var(--pdp-turq-soft) 60%, var(--pdp-saffron-soft) 135%);
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-r-xl);
    box-shadow: var(--pdp-sh-1);
    overflow: hidden;
}

.pdp-dashboard-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%230c544c' stroke-width='1' opacity='0.07'%3E%3Cpath d='M28 4 34 22 52 28 34 34 28 52 22 34 4 28 22 22Z'/%3E%3Crect x='14' y='14' width='28' height='28'/%3E%3Crect x='14' y='14' width='28' height='28' transform='rotate(45 28 28)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 56px;
    pointer-events: none;
}

.pdp-dashboard-header > * {
    position: relative;
}

.pdp-dashboard-greeting {
    min-width: 220px;
}

.pdp-dashboard-greeting h2 {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--pdp-ink);
}

.pdp-dashboard-greeting p {
    margin: 0;
    max-width: 430px;
    font-size: 13.5px;
    color: var(--pdp-ink-soft);
    line-height: 1.9;
}

.pdp-dashboard-stats {
    display: flex;
    gap: 10px;
}

.pdp-stat-mini {
    min-width: 128px;
    padding: 13px 18px;
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line);
    border-radius: 16px;
    box-shadow: var(--pdp-sh-1);
}

.pdp-stat-mini-num {
    font-size: 17px;
    font-weight: 700;
    color: var(--pdp-turq-ink);
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}

.pdp-stat-mini-label {
    font-size: 11.5px;
    color: var(--pdp-ink-faint);
}

/* ---- Tabs ---- */

.pdp-dashboard-tabs {
    display: flex;
    gap: 8px;
    margin: 16px 0;
    padding: 4px;
    background: var(--pdp-cream);
    border: 1px solid var(--pdp-line);
    border-radius: 14px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.pdp-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 1 0 auto;
    justify-content: center;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pdp-ink-soft);
    text-decoration: none;
    transition: background-color 0.16s var(--pdp-ease), color 0.16s var(--pdp-ease), box-shadow 0.16s var(--pdp-ease);
}

.pdp-tab .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.pdp-tab:hover {
    color: var(--pdp-turq-deep);
    background: var(--pdp-turq-mist);
}

.pdp-tab.is-active {
    color: #fff;
    background: linear-gradient(135deg, #1b9a8c, var(--pdp-turq-deep));
    box-shadow: 0 8px 18px -8px rgba(16, 106, 96, 0.55);
}

.pdp-tab.is-active .dashicons {
    color: #fff;
}

.pdp-tab:focus-visible {
    outline: 2px solid var(--pdp-turq);
    outline-offset: 2px;
}

/* ---- Content cards ---- */

.pdp-dashboard-content .pdp-card,
.pdp-donor-dashboard .pdp-card {
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-r-xl);
    box-shadow: var(--pdp-sh-1);
    padding: 22px 24px;
}

.pdp-dashboard-content .pdp-card h3,
.pdp-donor-dashboard .pdp-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pdp-line-soft);
    font-size: 16px;
    font-weight: 700;
    color: var(--pdp-ink);
}

.pdp-dashboard-content .pdp-card h3::before {
    content: "";
    width: 4px;
    height: 17px;
    border-radius: 2px;
    background: linear-gradient(180deg, #1b9a8c, var(--pdp-turq-ink));
    flex: 0 0 auto;
}

.pdp-donor-dashboard .pdp-card h4 {
    margin: 18px 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pdp-ink);
}

.pdp-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.pdp-overview-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--pdp-cream);
    border: 1px solid var(--pdp-line-soft);
    border-radius: 14px;
    transition: background-color 0.16s var(--pdp-ease), border-color 0.16s var(--pdp-ease);
}

.pdp-overview-item:hover {
    background: var(--pdp-turq-mist);
    border-color: var(--pdp-turq-soft);
}

.pdp-overview-item > .dashicons {
    flex: 0 0 auto;
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 12px;
    background: var(--pdp-turq-soft);
    color: var(--pdp-turq-deep);
}

.pdp-overview-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--pdp-ink);
    font-variant-numeric: tabular-nums;
}

.pdp-overview-item span:not(.dashicons) {
    font-size: 12px;
    color: var(--pdp-ink-faint);
}

/* ---- Tables (frontend) ---- */

.pdp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--pdp-line);
    border-radius: 14px;
    overflow: hidden;
    font-size: 13px;
}

.pdp-table thead th {
    padding: 11px 14px;
    background: var(--pdp-sand);
    font-size: 12px;
    font-weight: 700;
    color: var(--pdp-ink-soft);
    text-align: start;
}

.pdp-table tbody td {
    padding: 11px 14px;
    border-top: 1px solid var(--pdp-line-soft);
    color: var(--pdp-ink-soft);
    vertical-align: middle;
}

.pdp-table tbody tr:first-child td {
    border-top: 0;
}

.pdp-table tbody tr {
    transition: background-color 0.14s ease;
}

.pdp-table tbody tr:hover {
    background: var(--pdp-turq-mist);
}

.pdp-table code {
    direction: ltr;
    display: inline-block;
    padding: 1px 8px;
    background: var(--pdp-cream);
    border: 1px solid var(--pdp-line);
    border-radius: 6px;
    font-size: 11.5px;
    color: var(--pdp-ink-soft);
}

.pdp-amount {
    font-weight: 600;
    color: var(--pdp-ink);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pdp-amount-credit {
    color: var(--pdp-green);
    font-weight: 700;
}

.pdp-amount-debit {
    color: var(--pdp-coral);
    font-weight: 700;
}

/* ---- Badges (frontend) ---- */

.pdp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 1px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 21px;
    white-space: nowrap;
}

.pdp-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.pdp-badge-success { background: var(--pdp-green-soft); color: #2c6847; }
.pdp-badge-warning { background: var(--pdp-saffron-soft); color: var(--pdp-saffron-deep); }
.pdp-badge-danger  { background: var(--pdp-coral-soft); color: var(--pdp-coral-deep); }
.pdp-badge-muted   { background: var(--pdp-sand); color: var(--pdp-ink-soft); }
.pdp-badge-info    { background: var(--pdp-turq-soft); color: var(--pdp-turq-ink); }

/* ---- Subscriptions ---- */

.pdp-subscriptions-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.pdp-sub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 16px 18px;
    background: var(--pdp-cream);
    border: 1px solid var(--pdp-line-soft);
    border-radius: 16px;
    border-inline-start: 3px solid var(--pdp-line-hard);
    transition: background-color 0.16s var(--pdp-ease);
}

.pdp-sub-card:hover {
    background: #fdfbf7;
}

.pdp-sub-active { border-inline-start-color: var(--pdp-green); }
.pdp-sub-paused { border-inline-start-color: var(--pdp-saffron); }
.pdp-sub-cancelled,
.pdp-sub-expired,
.pdp-sub-failed { border-inline-start-color: var(--pdp-ink-faint); }

.pdp-sub-info {
    flex: 1 1 260px;
    min-width: 0;
}

.pdp-sub-info h4 {
    margin: 0 0 6px !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--pdp-ink);
    font-variant-numeric: tabular-nums;
}

.pdp-sub-info h4 small {
    font-size: 12px;
    font-weight: 500;
    color: var(--pdp-ink-faint);
    margin-inline-start: 6px;
}

.pdp-sub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0 !important;
    font-size: 12.5px;
    color: var(--pdp-ink-soft);
}

.pdp-sub-meta strong,
.pdp-sub-total strong {
    font-weight: 600;
    color: var(--pdp-ink);
}

.pdp-sub-total {
    margin: 6px 0 0 !important;
    font-size: 12.5px;
    color: var(--pdp-ink-soft);
    font-variant-numeric: tabular-nums;
}

.pdp-sub-status {
    flex: 0 0 auto;
}

.pdp-sub-actions {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

/* ---- Wallet ---- */

.pdp-wallet-card {
    overflow: hidden;
}

.pdp-wallet-balance {
    position: relative;
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--pdp-sand), var(--pdp-cream));
    border: 1px solid var(--pdp-line);
    border-radius: 16px;
    overflow: hidden;
}

.pdp-wallet-balance::after {
    content: "";
    position: absolute;
    inset-inline-start: -30px;
    bottom: -46px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 135, 123, 0.14), transparent 70%);
}

.pdp-balance-label {
    font-size: 12.5px;
    color: var(--pdp-ink-faint);
}

.pdp-balance-amount {
    position: relative;
    z-index: 1;
    font-size: 26px;
    font-weight: 700;
    color: var(--pdp-turq-ink);
    line-height: 1.6;
    font-variant-numeric: tabular-nums;
}

.pdp-balance-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--pdp-ink-soft);
}

.pdp-balance-stats strong {
    font-weight: 600;
    color: var(--pdp-ink);
}

.pdp-wallet-history-title {
    margin: 20px 0 12px !important;
}

/* ---- Settings / privacy ---- */

.pdp-settings-form .pdp-field {
    margin-bottom: 16px;
}

.pdp-settings-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 600;
    color: var(--pdp-ink-soft);
}

.pdp-privacy-note {
    padding: 14px 16px;
    background: var(--pdp-cream);
    border: 1px solid var(--pdp-line-soft);
    border-radius: 12px;
    font-size: 13px;
    color: var(--pdp-ink-soft);
    line-height: 1.9;
}

.pdp-donor-dashboard hr {
    border: none;
    border-top: 1px dashed var(--pdp-line);
    margin: 20px 0 6px;
}

.pdp-empty {
    margin: 0;
    padding: 30px 16px;
    text-align: center;
    font-size: 13.5px;
    color: var(--pdp-ink-faint);
}

/* ---- Campaigns list (shortcode) ---- */

.pdp-campaigns-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    direction: rtl;
}

.pdp-campaigns-list .pdp-campaign-card {
    max-width: none;
    margin: 0;
}

/* ==========================================================================
   6. Donor login
   ========================================================================== */

.pdp-donor-login-wrap {
    direction: rtl;
    max-width: none;
    width: 100%;
    margin: 24px auto;
    background: var(--pdp-paper);
    border: 1px solid var(--pdp-line);
    border-radius: var(--pdp-r-xl);
    box-shadow: var(--pdp-sh-2);
    overflow: hidden;
}

.pdp-donor-login-form {
    padding: 26px 28px 28px;
}

.pdp-donor-login-form .dashicons-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 14px;
    border-radius: 16px;
    font-size: 24px;
    background: linear-gradient(135deg, #1b9a8c, var(--pdp-turq-ink));
    color: #fff;
    box-shadow: var(--pdp-sh-3);
}

.pdp-donor-login-form h3 {
    margin: 0 0 4px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.pdp-donor-login-info {
    margin: 0 0 20px;
    text-align: center;
    font-size: 13px;
    color: var(--pdp-ink-soft);
}

.pdp-donor-login-required {
    padding: 24px 20px;
    text-align: center;
    font-size: 13.5px;
    color: var(--pdp-ink-soft);
}

.pdp-login-actions {
    margin-top: 18px;
}

/* ==========================================================================
   7. Shared frontend buttons
   ========================================================================== */

.pdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    border-radius: 11px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.16s var(--pdp-ease), box-shadow 0.16s var(--pdp-ease), background-color 0.16s var(--pdp-ease), color 0.16s var(--pdp-ease), border-color 0.16s var(--pdp-ease);
}

.pdp-btn:focus-visible {
    outline: 2px solid var(--pdp-turq);
    outline-offset: 2px;
}

.pdp-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #1b9a8c, #0f6f64);
    box-shadow: 0 10px 24px -10px rgba(16, 106, 96, 0.55);
}

.pdp-btn-primary:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -10px rgba(16, 106, 96, 0.55);
}

.pdp-btn-secondary {
    color: var(--pdp-ink-soft);
    background: var(--pdp-paper);
    border-color: var(--pdp-line-hard);
}

.pdp-btn-secondary:hover {
    color: var(--pdp-turq-deep);
    background: var(--pdp-turq-mist);
    border-color: #9ccdc5;
}

.pdp-btn-danger {
    color: var(--pdp-coral-deep);
    background: var(--pdp-coral-soft);
    border-color: #ecc8c4;
}

.pdp-btn-danger:hover {
    color: #fff;
    background: var(--pdp-coral);
    border-color: var(--pdp-coral);
}

.pdp-btn-sm {
    padding: 6px 13px;
    font-size: 12.5px;
    border-radius: 9px;
}

/* ==========================================================================
   8. Responsive & accessibility
   ========================================================================== */

@media (max-width: 640px) {
    .pdp-form-wrap,
    .pdp-campaign-progress,
    .pdp-wall-of-donors,
    .pdp-donor-login-wrap {
        margin: 12px auto;
    }

    .pdp-form-header {
        padding: 20px 20px 18px;
    }

    .pdp-donation-form {
        padding: 18px 18px 20px;
    }

    .pdp-field-row {
        grid-template-columns: 1fr;
    }

    .pdp-amount-tag {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .pdp-dashboard-header {
        padding: 20px;
    }

    .pdp-dashboard-stats {
        width: 100%;
    }

    .pdp-stat-mini {
        flex: 1;
        min-width: 0;
    }

    .pdp-table {
        display: block;
        overflow-x: auto;
    }

    .pdp-sub-card {
        flex-direction: column;
        align-items: stretch;
    }

    .pdp-sub-actions {
        justify-content: flex-start;
    }

    .pdp-submit-btn {
        min-height: 50px;
        font-size: 15px;
    }
}

/* Honor user motion preferences */
@media (prefers-reduced-motion: reduce) {
    .pdp-form-wrap *,
    .pdp-campaign-card *,
    .pdp-campaign-progress *,
    .pdp-wall-of-donors *,
    .pdp-donor-dashboard *,
    .pdp-donor-login-wrap * {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
    }

    .pdp-progress-fill::after {
        display: none;
    }
}

/* High-contrast / keyboard focus visibility */
.pdp-form-wrap :focus-visible,
.pdp-campaign-card :focus-visible,
.pdp-campaign-progress :focus-visible,
.pdp-wall-of-donors :focus-visible,
.pdp-donor-dashboard :focus-visible,
.pdp-donor-login-wrap :focus-visible {
    outline: 2px solid var(--pdp-turq);
    outline-offset: 2px;
}

