@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --wff-bg: #f5efe6;
    --wff-bg-soft: #fbf7f1;
    --wff-surface: #fffdfa;
    --wff-surface-2: #f8f2ea;
    --wff-text: #14213d;
    --wff-text-soft: #435168;
    --wff-muted: #6f7b8f;
    --wff-border: rgba(20, 33, 61, 0.10);
    --wff-border-strong: rgba(20, 33, 61, 0.18);
    --wff-primary: #0f1f49;
    --wff-primary-2: #1e3a8a;
    --wff-accent: #d4a24c;
    --wff-accent-2: #f4c56d;
    --wff-success: #1f6f43;
    --wff-danger: #bb2649;
    --wff-radius: 28px;
    --wff-radius-md: 20px;
    --wff-radius-sm: 14px;
    --wff-shadow: 0 22px 70px rgba(15, 31, 73, 0.10);
    --wff-shadow-soft: 0 14px 36px rgba(15, 31, 73, 0.08);
    --wff-max: 1240px;
    --wff-font-family: 'Inter', 'Manrope', sans-serif;
    --wff-heading-font: 'Inter', 'Cormorant Garamond', serif;
    --wff-main-heading-size: 45px;
    --wff-body-size: 16px;
    --wff-button-text: #ffffff;
    --wff-outline-text: #0f1f49;
    --wff-outline-bg: #ffffff;
}

.wff-auth-modal,
.wff-dashboard-shell,
.wff-projects-section,
.wff-checkout-section,
.wff-guard,
.wff-single-campaign-wrap,
.wff-header-auth,
.wff-card,
.wff-project-card,
.wff-auth-card,
.wff-btn {
    font-family: var(--wff-font-family);
}

.wff-dashboard-shell *,
.wff-projects-section *,
.wff-checkout-section *,
.wff-guard *,
.wff-single-campaign-wrap *,
.wff-header-auth *,
.wff-auth-modal * {
    box-sizing: border-box;
}

.wff-elementor-scope {
    --wff-max: 100%;
}

.wff-elementor-scope .wff-dashboard-shell h1,
.wff-elementor-scope .wff-dashboard-shell h2,
.wff-elementor-scope .wff-projects-section h1,
.wff-elementor-scope .wff-projects-section h2,
.wff-elementor-scope .wff-checkout-section h1,
.wff-elementor-scope .wff-checkout-section h2,
.wff-elementor-scope .wff-auth-card h1,
.wff-elementor-scope .wff-auth-card h2,
.wff-elementor-scope .wff-guard h1,
.wff-elementor-scope .wff-guard h2,
.wff-elementor-scope .wff-single-campaign-wrap h1,
.wff-elementor-scope .wff-single-campaign-wrap h2 {
    font-size: var(--wff-main-heading-size);
}

.wff-elementor-scope .wff-dashboard-shell,
.wff-elementor-scope .wff-projects-section,
.wff-elementor-scope .wff-checkout-section,
.wff-elementor-scope .wff-guard,
.wff-elementor-scope .wff-single-campaign-wrap,
.wff-elementor-scope .wff-auth-modal,
.wff-elementor-scope .wff-auth-card,
.wff-elementor-scope .wff-card,
.wff-elementor-scope .wff-project-card {
    font-family: var(--wff-font-family);
}

.wff-dashboard-shell,
.wff-projects-section,
.wff-checkout-section,
.wff-guard,
.wff-single-campaign-wrap {
    color: var(--wff-text);
    max-width: var(--wff-max);
    margin: 0 auto;
    padding: 36px 18px;
    position: relative;
}

.wff-dashboard-shell::before,
.wff-projects-section::before,
.wff-checkout-section::before,
.wff-single-campaign-wrap::before,
.wff-guard::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(212, 162, 76, 0.18), transparent 28%), radial-gradient(circle at bottom right, rgba(30, 58, 138, 0.08), transparent 26%);
    pointer-events: none;
}

.wff-dashboard-shell > *,
.wff-projects-section > *,
.wff-checkout-section > *,
.wff-single-campaign-wrap > *,
.wff-guard > * {
    position: relative;
    z-index: 1;
}

.wff-dashboard-shell a,
.wff-projects-section a,
.wff-checkout-section a,
.wff-guard a,
.wff-single-campaign-wrap a {
    color: inherit;
}

.wff-dashboard-shell h1,
.wff-dashboard-shell h2,
.wff-dashboard-shell h3,
.wff-dashboard-shell h4,
.wff-projects-section h1,
.wff-projects-section h2,
.wff-projects-section h3,
.wff-projects-section h4,
.wff-checkout-section h1,
.wff-checkout-section h2,
.wff-checkout-section h3,
.wff-checkout-section h4,
.wff-guard h1,
.wff-guard h2,
.wff-guard h3,
.wff-single-campaign-wrap h1,
.wff-single-campaign-wrap h2,
.wff-single-campaign-wrap h3,
.wff-auth-card h1,
.wff-auth-card h2,
.wff-auth-card h3 {
    margin: 0;
    color: var(--wff-text);
    font-family: var(--wff-heading-font);
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.wff-dashboard-shell p,
.wff-projects-section p,
.wff-checkout-section p,
.wff-guard p,
.wff-single-campaign-wrap p,
.wff-auth-card p,
.wff-profile-list,
.wff-mini-panel,
.wff-caption-box,
.wff-checkout-note {
    margin: 0;
    color: var(--wff-text-soft);
    line-height: 1.75;
    font-size: var(--wff-body-size);
}

.wff-btn,
.wff-share-link,
.wff-amt-btn,
.wff-auth-tab,
.wff-field input,
.wff-field textarea,
.wff-field select,
.wff-role-options label,
.wff-radio-stack label {
    font-family: 'Manrope', sans-serif !important;
}

.wff-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
    box-shadow: none;
}

.wff-btn:hover,
.wff-btn:focus-visible,
.wff-share-link:hover,
.wff-share-link:focus-visible,
.wff-amt-btn:hover,
.wff-amt-btn:focus-visible {
    transform: translateY(-2px);
}

.wff-btn:focus-visible,
.wff-share-link:focus-visible,
.wff-amt-btn:focus-visible,
.wff-auth-tab:focus-visible,
.wff-field input:focus,
.wff-field textarea:focus,
.wff-field select:focus {
    outline: none;
    border-color: rgba(212, 162, 76, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.16) !important;
}

.wff-btn-primary {
    background: linear-gradient(135deg, var(--wff-primary) 0%, var(--wff-primary-2) 100%) !important;
    color: var(--wff-button-text) !important;
    box-shadow: 0 16px 34px rgba(15, 31, 73, 0.22);
}

.wff-btn-primary:hover,
.wff-btn-primary:focus-visible {
    color: var(--wff-button-text) !important;
    box-shadow: 0 20px 38px rgba(15, 31, 73, 0.28);
}

.wff-btn-secondary {
    background: rgba(15, 31, 73, 0.07) !important;
    color: var(--wff-primary) !important;
    border-color: rgba(15, 31, 73, 0.08) !important;
}

.wff-btn-outline,
.wff-share-link,
.wff-amt-btn,
.wff-auth-tab {
    background: var(--wff-outline-bg) !important;
    color: var(--wff-outline-text) !important;
    border: 1px solid rgba(15, 31, 73, 0.12) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.wff-btn-outline:hover,
.wff-btn-outline:focus-visible,
.wff-share-link:hover,
.wff-share-link:focus-visible,
.wff-amt-btn:hover,
.wff-amt-btn:focus-visible,
.wff-auth-tab:hover,
.wff-auth-tab:focus-visible {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(15, 31, 73, 0.22) !important;
    color: var(--wff-primary) !important;
}

.wff-btn-block {
    width: 100%;
}

.wff-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(7, 12, 28, 0.72);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.wff-auth-card {
    width: min(100%, 580px);
    background: linear-gradient(180deg, #fffdfa 0%, #f8f2ea 100%);
    border: 1px solid rgba(15, 31, 73, 0.1);
    border-radius: 30px;
    box-shadow: var(--wff-shadow);
    position: relative;
    padding: 30px;
}

.wff-auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: none;
    background: rgba(15, 31, 73, 0.08);
    color: var(--wff-primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.wff-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px;
}

.wff-auth-tab {
    border-radius: 999px;
    padding: 14px;
    font-weight: 800;
    cursor: pointer;
}

.wff-auth-tab.is-active {
    background: linear-gradient(135deg, var(--wff-primary), var(--wff-primary-2)) !important;
    color: var(--wff-button-text) !important;
    border-color: transparent !important;
}

.wff-auth-panel {
    display: none;
}

.wff-auth-panel.is-active {
    display: block;
}

.wff-auth-panel h3 {
    font-size: clamp(34px, 5vw, 44px);
    margin-bottom: 16px;
}

.wff-form-grid {
    display: grid;
    gap: 16px;
}

.wff-form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wff-field label {
    display: block;
    margin-bottom: 9px;
    color: var(--wff-primary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wff-field input,
.wff-field textarea,
.wff-field select {
    width: 100%;
    max-width: 100%;
    border: 1px solid rgba(15, 31, 73, 0.12) !important;
    background: rgba(255,255,255,0.92) !important;
    color: var(--wff-text) !important;
    border-radius: 18px !important;
    padding: 15px 16px !important;
    font-size: 15px !important;
    line-height: 1.45;
    margin: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.wff-field textarea {
    min-height: 170px;
    resize: vertical;
}

.wff-role-options,
.wff-radio-stack {
    display: grid;
    gap: 10px;
}

.wff-role-options label,
.wff-radio-stack label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    background: rgba(255,255,255,0.66);
    border: 1px solid rgba(15, 31, 73, 0.1);
    border-radius: 18px;
    color: var(--wff-text-soft);
    font-size: 14px;
    font-weight: 700;
}

.wff-role-options input,
.wff-radio-stack input {
    margin-top: 4px;
}

.wff-inline-message {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--wff-success);
}

.wff-inline-message.error {
    color: var(--wff-danger);
}

.wff-dashboard-head,
.wff-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 22px;
    margin-bottom: 28px;
    padding: 0 4px;
}

.wff-dashboard-head h2,
.wff-section-head h2 {
    font-size: clamp(42px, 6vw, 64px);
    margin-bottom: 10px;
}

.wff-dashboard-head p,
.wff-section-head p {
    max-width: 760px;
    font-size: 16px;
}

.wff-stat-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 28px;
}

.wff-stat-card,
.wff-card,
.wff-project-card,
.wff-single-meta,
.wff-guard {
    background: linear-gradient(180deg, rgba(255,253,250,0.98) 0%, rgba(248,242,234,0.98) 100%);
    border: 1px solid var(--wff-border);
    border-radius: var(--wff-radius);
    box-shadow: var(--wff-shadow-soft);
    backdrop-filter: blur(8px);
}

.wff-stat-card {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.wff-stat-card::after,
.wff-card::after,
.wff-project-card::after,
.wff-single-meta::after {
    content: '';
    position: absolute;
    inset: auto -30px -50px auto;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 162, 76, 0.10), transparent 68%);
    pointer-events: none;
}

.wff-stat-card .label {
    display: inline-block;
    color: var(--wff-primary);
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.wff-stat-card strong {
    display: block;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1;
    color: var(--wff-text);
}

.wff-dashboard-grid,
.wff-checkout-grid,
.wff-single-campaign-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.85fr);
    gap: 24px;
    margin-bottom: 24px;
}

.wff-card,
.wff-single-meta,
.wff-guard {
    padding: 28px;
    position: relative;
    overflow: hidden;
}

.wff-card.is-soft,
.wff-caption-box,
.wff-summary-box,
.wff-mini-panel {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(15, 31, 73, 0.08);
}

.wff-card-head {
    margin-bottom: 20px;
}

.wff-card-head h2,
.wff-card-head h3,
.wff-mini-panel strong {
    font-size: clamp(30px, 4vw, 40px);
    margin-bottom: 8px;
}

.wff-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.wff-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(15, 31, 73, 0.08);
    border-radius: 20px;
    background: rgba(255,255,255,0.78);
}

.wff-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.wff-table th,
.wff-table td {
    padding: 16px 14px;
    border-top: 1px solid rgba(15, 31, 73, 0.08);
    text-align: left;
    vertical-align: top;
    font-size: 14px;
    color: var(--wff-text-soft);
}

.wff-table thead th {
    border-top: none;
    background: rgba(15, 31, 73, 0.05);
    color: var(--wff-primary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.wff-table strong,
.wff-profile-list strong,
.wff-summary-row strong,
.wff-project-money strong,
.wff-stat-line strong {
    color: var(--wff-text);
}

.wff-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wff-project-card {
    overflow: hidden;
    position: relative;
}

.wff-project-image {
    display: block;
    min-height: 280px;
    background-position: center;
    background-size: cover;
    position: relative;
}

.wff-project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12,16,40,0.04) 0%, rgba(12,16,40,0.42) 100%);
}

.wff-project-chip {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 18px;
    background: rgba(15, 31, 73, 0.88);
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.wff-project-body {
    padding: 26px;
}

.wff-project-kicker,
.wff-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 162, 76, 0.14);
    color: var(--wff-primary);
    border: 1px solid rgba(212, 162, 76, 0.22);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}

.wff-project-body h3,
.wff-single-meta h1,
.wff-single-meta h2,
.wff-single-meta h3 {
    font-size: clamp(34px, 4vw, 46px);
    margin-bottom: 12px;
}

.wff-project-body h3 a,
.wff-single-meta a {
    text-decoration: none;
}

.wff-project-body p {
    margin-bottom: 16px;
}

.wff-project-money,
.wff-summary-row,
.wff-share-row,
.wff-badge-row,
.wff-stat-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
}

.wff-project-money,
.wff-stat-line {
    font-weight: 800;
    color: var(--wff-text);
}

.wff-share-row {
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0;
}

.wff-share-row.is-card {
    justify-content: flex-start;
}

.wff-share-link {
    padding: 11px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none !important;
}

.wff-progress {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(15, 31, 73, 0.10);
    overflow: hidden;
    margin: 14px 0 18px;
}

.wff-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--wff-primary) 0%, var(--wff-accent) 100%);
}

.wff-caption-box,
.wff-summary-box,
.wff-mini-panel {
    border-radius: 20px;
    padding: 18px;
}

.wff-caption-box {
    margin-bottom: 18px;
}

.wff-summary-row {
    padding: 12px 0;
    color: var(--wff-text-soft);
}

.wff-summary-row.total {
    border-top: 1px solid rgba(15, 31, 73, 0.1);
    margin-top: 10px;
    padding-top: 16px;
    font-size: 19px;
    font-weight: 800;
    color: var(--wff-text);
}

.wff-amount-buttons {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.wff-amt-btn {
    appearance: none;
    border-radius: 16px;
    padding: 14px 12px;
    font-weight: 800;
    cursor: pointer;
}

.wff-amt-btn.is-active {
    background: linear-gradient(135deg, rgba(15, 31, 73, 0.96), rgba(30, 58, 138, 0.94)) !important;
    border-color: transparent !important;
    color: var(--wff-button-text) !important;
    box-shadow: 0 14px 28px rgba(15, 31, 73, 0.18);
}

.wff-guard {
    max-width: 760px;
    margin: 46px auto;
    text-align: center;
}

.wff-guard h3 {
    font-size: clamp(38px, 5vw, 52px);
    margin-bottom: 12px;
}

.wff-guard p {
    margin-bottom: 18px;
}

.wff-header-auth {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.wff-single-image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    display: block;
    box-shadow: var(--wff-shadow-soft);
}

.wff-profile-list > * + *,
.wff-mini-panel > * + * {
    margin-top: 10px;
}

.wff-project-card .wff-btn,
.wff-card .wff-btn,
.wff-single-meta .wff-btn,
.wff-guard .wff-btn {
    text-decoration: none;
}

.wff-checkout-note {
    margin: 16px 0 6px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(212, 162, 76, 0.12);
    border: 1px solid rgba(212, 162, 76, 0.22);
}

.wff-mini-panel ul {
    margin: 12px 0 0 18px;
    padding: 0;
}

.wff-mini-panel li + li {
    margin-top: 8px;
}

.wff-profile-list {
    display: grid;
    gap: 10px;
}


@media (max-width: 1100px) {
    .wff-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .wff-dashboard-grid,
    .wff-checkout-grid,
    .wff-single-campaign-wrap,
    .wff-stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wff-form-grid.two-col,
    .wff-amount-buttons {
        grid-template-columns: 1fr;
    }

    .wff-dashboard-head,
    .wff-section-head,
    .wff-project-money,
    .wff-summary-row,
    .wff-badge-row,
    .wff-stat-line {
        display: grid;
        gap: 8px;
        justify-content: stretch;
    }

    .wff-dashboard-shell,
    .wff-projects-section,
    .wff-checkout-section,
    .wff-single-campaign-wrap,
    .wff-guard {
        padding: 26px 14px;
    }

    .wff-card,
    .wff-auth-card,
    .wff-single-meta,
    .wff-guard,
    .wff-project-body {
        padding: 22px;
    }

    .wff-dashboard-head h2,
    .wff-section-head h2 {
        font-size: 40px;
    }

    .wff-project-grid {
        grid-template-columns: 1fr;
    }
}


/* Premium polish update */
.wff-inline-message:empty{display:none!important;}

.wff-dashboard-shell,
.wff-projects-section,
.wff-checkout-section,
.wff-single-campaign-wrap,
.wff-guard{
    padding-top:48px;
    padding-bottom:48px;
}

.wff-dashboard-head,
.wff-section-head{
    margin-bottom:34px;
}

.wff-dashboard-head h2,
.wff-section-head h2{
    font-size:clamp(48px,5.8vw,72px);
}

.wff-section-head p,
.wff-dashboard-head p{
    font-size:17px;
    line-height:1.8;
    max-width:820px;
}

.wff-stat-grid{
    gap:20px;
}

.wff-stat-card,
.wff-card,
.wff-project-card,
.wff-single-meta,
.wff-guard{
    border-color:rgba(15,31,73,0.09);
    box-shadow:0 22px 54px rgba(15,31,73,0.08), inset 0 1px 0 rgba(255,255,255,0.75);
}

.wff-stat-card{
    padding:28px 26px;
}

.wff-stat-card strong{
    font-size:clamp(34px,3vw,44px);
}

.wff-dashboard-grid{
    grid-template-columns:minmax(0,1.65fr) minmax(300px,.85fr);
    align-items:start;
}

.wff-card,
.wff-single-meta,
.wff-guard{
    padding:32px;
}

.wff-card-head{
    margin-bottom:24px;
}

.wff-card-head h2,
.wff-card-head h3,
.wff-mini-panel strong{
    font-size:clamp(34px,3vw,44px);
    margin-bottom:10px;
}

.wff-card-head p{
    font-size:15px;
}

.wff-form-grid{
    gap:18px;
}

.wff-field label{
    margin-bottom:10px;
    font-size:11px;
}

.wff-field input,
.wff-field textarea,
.wff-field select{
    min-height:56px;
    border-radius:20px!important;
    padding:16px 18px!important;
    font-size:15px!important;
    background:#fffdfa!important;
    box-shadow:0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.25);
}

.wff-field input[type="file"]{
    padding:12px 14px!important;
    line-height:1.3;
}

.wff-field input[type="file"]::file-selector-button{
    appearance:none;
    border:none;
    background:linear-gradient(135deg, var(--wff-primary) 0%, var(--wff-primary-2) 100%);
    color:#fff;
    padding:11px 16px;
    margin-right:12px;
    border-radius:999px;
    font-weight:800;
    cursor:pointer;
}

.wff-field textarea{
    min-height:190px;
}

.wff-form-actions{
    margin-top:20px;
    align-items:center;
}

.wff-btn{
    min-height:54px;
    padding:15px 24px;
    font-size:14px;
}

.wff-btn-primary{
    box-shadow:0 18px 36px rgba(15,31,73,0.22);
}

.wff-btn-outline,
.wff-share-link,
.wff-amt-btn,
.wff-auth-tab,
.wff-btn-secondary{
    background:#fffdfa!important;
}

.wff-btn-outline,
.wff-share-link,
.wff-amt-btn,
.wff-auth-tab{
    border-color:rgba(15,31,73,0.14)!important;
}

.wff-table-wrap{
    border-radius:22px;
}

.wff-table th,
.wff-table td{
    padding:18px 16px;
}

.wff-project-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:26px;
    align-items:stretch;
}

.wff-project-card{
    display:flex;
    flex-direction:column;
    min-height:100%;
}

.wff-project-image{
    min-height:250px;
}

.wff-project-image::before{
    content:'';
    position:absolute;
    inset:auto 0 0 0;
    height:42%;
    background:linear-gradient(180deg, rgba(12,16,40,0) 0%, rgba(12,16,40,0.54) 100%);
    z-index:1;
}

.wff-project-chip{
    top:16px;
    right:16px;
    padding:10px 14px;
    backdrop-filter:blur(8px);
    box-shadow:0 10px 22px rgba(7,12,28,0.2);
}

.wff-project-body{
    padding:24px;
    display:flex;
    flex-direction:column;
    flex:1;
}

.wff-project-kicker,
.wff-pill{
    width:max-content;
    max-width:100%;
    margin-bottom:16px;
}

.wff-project-body h3{
    font-size:clamp(28px,2vw,36px);
    line-height:1.02;
    margin-bottom:14px;
}

.wff-project-body p{
    font-size:15px;
    line-height:1.78;
    margin-bottom:18px;
    min-height:82px;
}

.wff-project-money{
    font-size:15px;
    margin-top:auto;
}

.wff-progress{
    height:10px;
    margin:16px 0 18px;
}

.wff-share-row{
    gap:10px;
    margin:0 0 18px;
}

.wff-share-link{
    min-height:46px;
    padding:12px 15px;
}

.wff-project-card .wff-btn{
    width:100%;
    margin-top:auto;
}

.wff-profile-list{
    gap:12px;
}

.wff-profile-list > div{
    padding:12px 14px;
    border-radius:16px;
    background:rgba(255,255,255,0.58);
    border:1px solid rgba(15,31,73,0.08);
}

.wff-header-auth{
    padding:12px 16px;
    background:rgba(255,255,255,0.6);
    border:1px solid rgba(15,31,73,0.08);
    border-radius:999px;
    box-shadow:var(--wff-shadow-soft);
}

.wff-auth-card{
    padding:34px;
}

@media (max-width: 1200px){
    .wff-project-body p{min-height:0;}
}

@media (max-width: 1100px){
    .wff-project-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width: 980px){
    .wff-dashboard-grid{grid-template-columns:1fr;}
}

@media (max-width: 768px){
    .wff-dashboard-shell,
    .wff-projects-section,
    .wff-checkout-section,
    .wff-single-campaign-wrap,
    .wff-guard{padding:28px 14px;}

    .wff-card,
    .wff-auth-card,
    .wff-single-meta,
    .wff-guard,
    .wff-project-body{padding:22px;}

    .wff-project-grid{grid-template-columns:1fr;gap:18px;}
    .wff-project-image{min-height:220px;}
    .wff-project-body h3{font-size:30px;}
    .wff-project-money{display:grid;gap:6px;justify-content:stretch;}
    .wff-share-row.is-card > *{flex:1 1 calc(50% - 10px);text-align:center;justify-content:center;}
}


/* v4.1 design refinements */
body.wff-modal-open{
    overflow:hidden;
}

.wff-dashboard-shell,
.wff-projects-section,
.wff-checkout-section,
.wff-single-campaign-wrap,
.wff-guard{
    display:grid;
    gap:32px;
}

.wff-dashboard-head,
.wff-section-head,
.wff-stat-grid,
.wff-dashboard-grid,
.wff-checkout-grid,
.wff-dashboard-shell > .wff-card,
.wff-projects-section > .wff-project-grid,
.wff-projects-section > p,
.wff-checkout-section > .wff-checkout-grid,
.wff-single-campaign-wrap > *{
    margin:0 !important;
}

#wff-auth-modal.wff-auth-modal{
    align-items:center !important;
    justify-content:center !important;
    padding:28px !important;
}

#wff-auth-modal .wff-auth-card{
    width:min(100%, 560px);
    margin:0 auto !important;
    padding:36px !important;
    border-radius:32px;
}

#wff-auth-modal .wff-auth-close{
    top:18px !important;
    right:18px !important;
    width:42px !important;
    height:42px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:999px !important;
    border:1px solid rgba(15,31,73,0.12) !important;
    background:rgba(15,31,73,0.08) !important;
    color:var(--wff-primary) !important;
    font-size:24px !important;
    line-height:1 !important;
    padding:0 !important;
}

#wff-auth-modal .wff-auth-tabs{
    gap:12px;
    margin-bottom:26px;
}

#wff-auth-modal .wff-auth-tab{
    min-height:54px;
    justify-content:center;
}

.wff-role-options-inline{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:12px;
}

.wff-role-pill{
    position:relative;
    padding:0 !important;
    border:none !important;
    background:transparent !important;
}

.wff-role-pill input{
    position:absolute;
    opacity:0;
    inset:0;
    margin:0;
}

.wff-role-pill span{
    width:100%;
    min-height:62px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    border-radius:18px;
    border:1px solid rgba(15,31,73,0.12);
    background:#fffdfa;
    color:var(--wff-primary);
    font-size:14px;
    font-weight:800;
    letter-spacing:0.04em;
    text-transform:uppercase;
    transition:all .22s ease;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}

.wff-role-pill input:checked + span{
    background:linear-gradient(135deg, var(--wff-primary) 0%, var(--wff-primary-2) 100%);
    color:#fff;
    border-color:transparent;
    box-shadow:0 16px 30px rgba(15,31,73,.18);
    transform:translateY(-1px);
}

.wff-role-pill input:focus + span,
.wff-role-pill input:focus-visible + span{
    box-shadow:0 0 0 4px rgba(212,162,76,.18);
}

.wff-stat-sub{
    display:block;
    margin-top:10px;
    color:var(--wff-text-soft);
    font-size:13px;
    font-weight:700;
    line-height:1.5;
}

.wff-dashboard-grid,
.wff-checkout-grid{
    align-items:start;
    gap:28px;
}

.wff-dashboard-shell > .wff-card,
.wff-checkout-grid > .wff-card,
.wff-dashboard-grid > .wff-card,
.wff-project-grid > .wff-project-card{
    min-width:0;
}

.wff-card,
.wff-stat-card,
.wff-project-card,
.wff-single-meta,
.wff-guard{
    border-radius:30px;
}

.wff-profile-list > div{
    min-height:48px;
    display:flex;
    align-items:center;
}

.wff-project-grid{
    grid-template-columns:repeat(3, minmax(0,1fr)) !important;
    gap:28px !important;
}

.wff-project-card{
    height:100%;
}

.wff-share-row.is-card{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.wff-share-row.is-card > *{
    flex:1 1 calc(33.333% - 8px);
}

.wff-share-link,
button.wff-share-link,
a.wff-share-link{
    appearance:none !important;
    -webkit-appearance:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:46px !important;
    width:100%;
    padding:12px 16px !important;
    border-radius:999px !important;
    border:1px solid rgba(15,31,73,0.12) !important;
    background:#fffdfa !important;
    color:var(--wff-primary) !important;
    font-size:13px !important;
    font-weight:800 !important;
    line-height:1.2 !important;
    text-decoration:none !important;
    text-align:center !important;
    white-space:nowrap;
    cursor:pointer;
}

.wff-share-link:hover,
button.wff-share-link:hover,
a.wff-share-link:hover{
    border-color:rgba(15,31,73,0.24) !important;
    background:#ffffff !important;
}

.wff-project-card .wff-btn{
    margin-top:auto;
}

.wff-card-head + form,
.wff-card-head + .wff-profile-list,
.wff-card-head + .wff-table-wrap,
.wff-card-head + p,
.wff-summary-box + .wff-mini-panel{
    margin-top:0;
}

.wff-checkout-grid .wff-mini-panel{
    margin-top:18px;
}

.wff-checkout-grid .wff-mini-panel ul{
    margin:14px 0 0 18px;
}

@media (max-width: 1100px){
    .wff-project-grid{
        grid-template-columns:repeat(2, minmax(0,1fr)) !important;
    }
    .wff-stat-grid{
        grid-template-columns:repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 768px){
    #wff-auth-modal.wff-auth-modal{
        padding:16px !important;
    }
    #wff-auth-modal .wff-auth-card{
        padding:24px !important;
    }
    .wff-role-options-inline{
        grid-template-columns:1fr;
    }
    .wff-project-grid{
        grid-template-columns:1fr !important;
    }
    .wff-share-row.is-card > *{
        flex:1 1 calc(50% - 8px);
    }
}

@media (max-width: 540px){
    .wff-stat-grid,
    .wff-dashboard-grid,
    .wff-checkout-grid,
    .wff-form-grid.two-col{
        grid-template-columns:1fr !important;
    }
    .wff-share-row.is-card > *{
        flex:1 1 100%;
    }
}

/* Elementor + final visual polish */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root{
    --wff-heading-size:45px;
    --wff-section-gap:34px;
}

.wff-auth-modal,
.wff-dashboard-shell,
.wff-projects-section,
.wff-checkout-section,
.wff-guard,
.wff-single-campaign-wrap,
.wff-header-auth,
.wff-card,
.wff-project-card,
.wff-auth-card,
.wff-btn,
.wff-dashboard-shell *,
.wff-projects-section *,
.wff-checkout-section *,
.wff-guard *,
.wff-single-campaign-wrap *,
.wff-header-auth *,
.wff-auth-modal *{
    font-family:'Inter',sans-serif !important;
}

.wff-dashboard-shell h1,
.wff-dashboard-shell h2,
.wff-dashboard-shell h3,
.wff-dashboard-shell h4,
.wff-projects-section h1,
.wff-projects-section h2,
.wff-projects-section h3,
.wff-projects-section h4,
.wff-checkout-section h1,
.wff-checkout-section h2,
.wff-checkout-section h3,
.wff-checkout-section h4,
.wff-guard h1,
.wff-guard h2,
.wff-guard h3,
.wff-single-campaign-wrap h1,
.wff-single-campaign-wrap h2,
.wff-single-campaign-wrap h3,
.wff-auth-card h1,
.wff-auth-card h2,
.wff-auth-card h3,
.wff-section-head h2{
    font-family:'Inter',sans-serif !important;
    font-weight:800 !important;
    line-height:1.05 !important;
    letter-spacing:-0.03em !important;
}

.wff-section-head h2,
.wff-checkout-section > h2,
.wff-dashboard-shell > .wff-dashboard-top h2,
.wff-auth-card h3{
    font-size:clamp(32px,4.2vw,var(--wff-heading-size)) !important;
}

.wff-dashboard-shell,
.wff-projects-section,
.wff-checkout-section,
.wff-guard,
.wff-single-campaign-wrap{
    padding:40px 22px !important;
}

.wff-dashboard-shell > *,
.wff-projects-section > *,
.wff-checkout-section > *,
.wff-single-campaign-wrap > *{
    margin-bottom:var(--wff-section-gap) !important;
}
.wff-dashboard-shell > *:last-child,
.wff-projects-section > *:last-child,
.wff-checkout-section > *:last-child,
.wff-single-campaign-wrap > *:last-child{
    margin-bottom:0 !important;
}

#wff-auth-modal.wff-auth-modal{
    display:none;
}
#wff-auth-modal.wff-auth-modal.is-open,
body.wff-auth-open #wff-auth-modal.wff-auth-modal{
    display:flex !important;
}
#wff-auth-modal .wff-auth-card{
    max-height:min(92vh, 860px);
    overflow:auto;
}
#wff-auth-modal .wff-auth-tabs{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    align-items:center;
}
#wff-auth-modal .wff-auth-tab{
    width:100%;
    min-width:0;
}
#wff-auth-modal .wff-auth-close{
    z-index:3;
}
.wff-role-options-inline{
    display:flex !important;
    align-items:stretch;
    gap:14px;
}
.wff-role-options-inline .wff-role-pill{
    flex:1 1 0;
}
.wff-role-pill span{
    min-height:58px;
    border-radius:18px;
}
.wff-project-grid{
    display:grid !important;
    grid-template-columns:repeat(var(--wff-grid-columns,3), minmax(0,1fr)) !important;
    gap:28px !important;
}
.wff-project-card{
    display:flex !important;
    flex-direction:column;
}
.wff-project-body{
    display:flex;
    flex-direction:column;
    gap:18px;
    flex:1 1 auto;
}
.wff-project-body p{
    min-height:132px;
}
.wff-share-row.is-card{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0,1fr));
    gap:12px;
}
.wff-share-row.is-card > *{
    flex:initial !important;
    width:100%;
}
.wff-share-link,
button.wff-share-link,
a.wff-share-link{
    min-height:48px !important;
    border-radius:999px !important;
}
.wff-card,
.wff-project-card,
.wff-stat-card,
.wff-single-meta,
.wff-summary-box,
.wff-mini-panel{
    padding:28px !important;
}
.wff-dashboard-grid,
.wff-checkout-grid,
.wff-stat-grid{
    gap:26px !important;
}
.wff-inline-message{
    min-height:0 !important;
}
.wff-inline-message:empty{
    display:none !important;
}

@media (max-width:1100px){
    .wff-project-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    }
}
@media (max-width:767px){
    :root{ --wff-heading-size:38px; --wff-section-gap:24px; }
    #wff-auth-modal .wff-auth-card{ width:min(100%, 96vw) !important; }
    .wff-role-options-inline{ flex-direction:column !important; }
    .wff-project-grid,
    .wff-share-row.is-card{ grid-template-columns:1fr !important; }
    .wff-project-body p{ min-height:0; }
}
