/* ============================================================
   Ma Malique Foundation - Frontend Public Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

:root {
    --mmf-green: #1a5c3a;
    --mmf-green-mid: #2d9b5f;
    --mmf-green-light: #4cbb80;
    --mmf-green-pale: #e8f5ee;
    --mmf-gold: #d4a017;
    --mmf-gold-light: #f5c842;
    --mmf-text: #1a2e23;
    --mmf-text-muted: #5a7a68;
    --mmf-border: #c8e0d3;
    --mmf-bg: #f4faf6;
    --mmf-white: #ffffff;
    --mmf-shadow: 0 4px 24px rgba(26, 92, 58, 0.12);
    --mmf-radius: 16px;
    --mmf-radius-sm: 10px;
    --mmf-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Donation Form Wrapper ───────────────────────────── */
.mmf-donation-wrapper {
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
    max-width: 640px;
    margin: 0 auto;
    color: var(--mmf-text);
}

/* ── Form Header ────────────────────────────────────── */
.mmf-form-header {
    background: linear-gradient(135deg, var(--mmf-green) 0%, #1e7a4c 50%, #2d9b5f 100%);
    border-radius: var(--mmf-radius) var(--mmf-radius) 0 0;
    padding: 36px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mmf-form-header::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.mmf-form-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 30px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.mmf-form-header .mmf-logo-moon {
    font-size: 42px;
    display: block;
    margin-bottom: 10px;
    animation: mmf-float 3s ease-in-out infinite;
}

@keyframes mmf-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.mmf-form-header h2,
.mmf-form-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff !important;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mmf-form-header p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    margin: 0;
}

.mmf-campaign-badge {
    display: inline-block;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ── Campaign Progress (in form header) ─────────────── */
.mmf-header-progress {
    margin-top: 18px;
}

.mmf-header-progress .mmf-progress-numbers {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin-bottom: 8px;
}

.mmf-header-progress .mmf-progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    height: 10px;
    overflow: hidden;
}

.mmf-header-progress .mmf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--mmf-gold), var(--mmf-gold-light));
    border-radius: 100px;
    transition: width 1.2s ease;
    box-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
}

/* ── Form Body ──────────────────────────────────────── */
.mmf-form-body {
    background: var(--mmf-white);
    border-radius: 0 0 var(--mmf-radius) var(--mmf-radius);
    padding: 32px;
    box-shadow: var(--mmf-shadow);
}

/* ── Payment Methods Strip ──────────────────────────── */
.mmf-payment-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 14px;
    background: var(--mmf-green-pale);
    border-radius: var(--mmf-radius-sm);
    border: 1px solid var(--mmf-border);
}

.mmf-payment-method-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--mmf-green);
    background: var(--mmf-white);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--mmf-border);
}

/* ── Amount Selector ────────────────────────────────── */
.mmf-section-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--mmf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mmf-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mmf-amount-btn {
    padding: 14px 10px;
    border: 2px solid var(--mmf-border);
    border-radius: var(--mmf-radius-sm);
    background: var(--mmf-white);
    color: var(--mmf-text);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--mmf-transition);
    text-align: center;
}

.mmf-amount-btn:hover {
    border-color: var(--mmf-green);
    color: var(--mmf-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 92, 58, 0.15);
}

.mmf-amount-btn.active,
.mmf-donation-wrapper .mmf-amount-btn.active,
.mmf-wrapper .mmf-amount-btn.active,
button.mmf-amount-btn.active {
    border-color: var(--mmf-green) !important;
    background: var(--mmf-green) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 92, 58, 0.25);
}

.mmf-amount-btn.active span,
.mmf-donation-wrapper .mmf-amount-btn.active span,
.mmf-wrapper .mmf-amount-btn.active span,
button.mmf-amount-btn.active span {
    color: #ffffff !important;
}

.mmf-custom-amount {
    position: relative;
    margin-bottom: 24px;
}

.mmf-custom-amount .mmf-currency-symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 700;
    color: var(--mmf-green);
    z-index: 1;
}

.mmf-custom-amount input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--mmf-border);
    border-radius: var(--mmf-radius-sm);
    font-size: 20px;
    font-weight: 700;
    color: var(--mmf-text);
    background: var(--mmf-bg);
    font-family: inherit;
    transition: var(--mmf-transition);
    box-sizing: border-box;
}

.mmf-custom-amount input:focus {
    outline: none;
    border-color: var(--mmf-green);
    background: var(--mmf-white);
    box-shadow: 0 0 0 4px rgba(26, 92, 58, 0.1);
}

.mmf-custom-amount input::placeholder {
    color: #bbb;
    font-weight: 400;
    font-size: 16px;
}

/* ── Form Fields ────────────────────────────────────── */
.mmf-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.mmf-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mmf-field-group.full {
    grid-column: span 2;
}

.mmf-field-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--mmf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mmf-field-group input,
.mmf-field-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--mmf-border);
    border-radius: var(--mmf-radius-sm);
    font-size: 14px;
    color: var(--mmf-text);
    background: var(--mmf-bg);
    font-family: inherit;
    transition: var(--mmf-transition);
    width: 100%;
    box-sizing: border-box;
}

.mmf-field-group input:focus,
.mmf-field-group textarea:focus {
    outline: none;
    border-color: var(--mmf-green);
    background: var(--mmf-white);
    box-shadow: 0 0 0 4px rgba(26, 92, 58, 0.08);
}

.mmf-field-group .mmf-field-icon {
    position: relative;
}

.mmf-field-group .mmf-field-icon input {
    padding-left: 42px;
}

.mmf-field-group .mmf-field-icon .icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 17px;
}

.mmf-required {
    color: #e53935;
}

/* ── Submit Button ──────────────────────────────────── */
.mmf-submit-wrap {
    margin-top: 20px;
}

.mmf-donate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--mmf-green) 0%, #1e7a4c 50%, var(--mmf-green-mid) 100%);
    color: #fff;
    border: none;
    border-radius: var(--mmf-radius-sm);
    font-size: 18px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: var(--mmf-transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(26, 92, 58, 0.3);
}

.mmf-donate-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.mmf-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 92, 58, 0.4);
}

.mmf-donate-btn:hover::after {
    width: 400px;
    height: 400px;
}

.mmf-donate-btn:active {
    transform: translateY(0);
}

.mmf-donate-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.mmf-donate-btn .btn-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mmf-secure-notice {
    text-align: center;
    font-size: 12px;
    color: var(--mmf-text-muted);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* ── Error / Alert ──────────────────────────────────── */
.mmf-alert {
    padding: 12px 16px;
    border-radius: var(--mmf-radius-sm);
    font-size: 13.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: mmfFadeIn 0.3s ease;
}

.mmf-alert-error {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
}

.mmf-alert-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #1b5e20;
}

.mmf-alert-info {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    color: #0d47a1;
}

@keyframes mmfFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Campaigns Grid ──────────────────────────────────── */
.mmf-campaigns-wrapper {
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}

.mmf-campaigns-header {
    text-align: center;
    margin-bottom: 36px;
}

.mmf-campaigns-header h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 32px;
    color: #ffffff !important;
    margin-bottom: 8px;
}

.mmf-campaigns-header p {
    color: var(--mmf-text-muted);
    font-size: 15px;
}

.mmf-campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.mmf-campaign-card {
    background: var(--mmf-white);
    border-radius: var(--mmf-radius);
    overflow: hidden;
    box-shadow: var(--mmf-shadow);
    border: 1px solid var(--mmf-border);
    transition: var(--mmf-transition);
    display: flex;
    flex-direction: column;
}

.mmf-campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 92, 58, 0.18);
}

.mmf-campaign-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.mmf-campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mmf-campaign-card:hover .mmf-campaign-image img {
    transform: scale(1.05);
}

.mmf-campaign-image .mmf-campaign-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.mmf-campaign-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--mmf-gold);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mmf-campaign-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mmf-campaign-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 8px;
    line-height: 1.3;
}

.mmf-campaign-desc {
    font-size: 14px;
    color: var(--mmf-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.mmf-campaign-progress {
    margin-bottom: 16px;
}

.mmf-campaign-progress-bar {
    background: var(--mmf-green-pale);
    border-radius: 100px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.mmf-campaign-progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--mmf-green), var(--mmf-green-light));
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(26, 92, 58, 0.3);
}

.mmf-campaign-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.mmf-campaign-raised {
    font-weight: 700;
    color: var(--mmf-green);
    font-size: 16px;
}

.mmf-campaign-goal {
    color: var(--mmf-text-muted);
}

.mmf-campaign-percent {
    font-weight: 700;
    color: var(--mmf-gold);
    font-size: 15px;
}

.mmf-campaign-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--mmf-text-muted);
    margin-bottom: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--mmf-border);
}

.mmf-campaign-donate-btn {
    display: block;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, var(--mmf-green), var(--mmf-green-mid));
    color: #fff;
    border-radius: var(--mmf-radius-sm);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--mmf-transition);
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(26, 92, 58, 0.25);
}

.mmf-campaign-donate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 92, 58, 0.35);
    color: #fff;
    text-decoration: none;
}

/* ── Payment Result Pages ───────────────────────────── */
.mmf-payment-result {
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
    max-width: 560px;
    margin: 40px auto;
    text-align: center;
}

.mmf-result-icon {
    font-size: 80px;
    margin-bottom: 16px;
    animation: mmf-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes mmf-pop {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.mmf-result-card {
    background: var(--mmf-white);
    border-radius: var(--mmf-radius);
    padding: 36px;
    box-shadow: var(--mmf-shadow);
    border: 1px solid var(--mmf-border);
}

.mmf-result-card.success {
    border-top: 5px solid var(--mmf-green);
}

.mmf-result-card.fail {
    border-top: 5px solid #e53935;
}

.mmf-result-card.cancel {
    border-top: 5px solid #f57f17;
}

.mmf-result-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    margin: 0 0 10px;
    color: var(--mmf-text);
}

.mmf-result-card p {
    color: var(--mmf-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.mmf-result-details {
    background: var(--mmf-green-pale);
    border-radius: var(--mmf-radius-sm);
    padding: 16px 20px;
    margin: 20px 0;
    text-align: left;
}

.mmf-result-details table {
    width: 100%;
}

.mmf-result-details td {
    padding: 6px 0;
    font-size: 14px;
}

.mmf-result-details td:first-child {
    color: var(--mmf-text-muted);
    width: 45%;
}

.mmf-result-details td:last-child {
    font-weight: 700;
    color: var(--mmf-text);
}

.mmf-result-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--mmf-green);
    margin: 10px 0;
    line-height: 1;
}

.mmf-result-dua {
    background: #fff8e1;
    border-radius: var(--mmf-radius-sm);
    padding: 14px 18px;
    font-style: italic;
    font-size: 14px;
    color: #6d4c41;
    line-height: 1.7;
    border-left: 4px solid var(--mmf-gold);
    text-align: left;
    margin: 16px 0;
}

.mmf-result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.mmf-result-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 24px;
    border-radius: var(--mmf-radius-sm);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--mmf-transition);
    font-family: inherit;
}

.mmf-result-btn-primary {
    background: linear-gradient(135deg, var(--mmf-green), var(--mmf-green-mid));
    color: #fff;
    box-shadow: 0 4px 14px rgba(26, 92, 58, 0.25);
}

.mmf-result-btn-primary:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.mmf-result-btn-outline {
    border: 2px solid var(--mmf-green);
    color: var(--mmf-green);
    background: transparent;
}

.mmf-result-btn-outline:hover {
    background: var(--mmf-green);
    color: #fff;
    text-decoration: none;
}

/* ── Spinner ─────────────────────────────────────────── */
.mmf-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mmf-spin 0.7s linear infinite;
}

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

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 600px) {
    .mmf-form-header {
        padding: 28px 20px;
    }

    .mmf-form-body {
        padding: 22px 18px;
    }

    .mmf-amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mmf-fields-grid {
        grid-template-columns: 1fr;
    }

    .mmf-field-group.full {
        grid-column: span 1;
    }

    .mmf-campaigns-grid {
        grid-template-columns: 1fr;
    }

    .mmf-result-card {
        padding: 24px 18px;
    }

    .mmf-result-amount {
        font-size: 36px;
    }
}


/* ============================================================
   TEMPLATE: SIMPLE
   ============================================================ */
.mmf-tpl-simple {
    max-width: 480px;
    margin: 0 auto;
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}

.mmf-simple-header {
    background: linear-gradient(135deg, #1a5c3a 0%, #2d9b5f 100%);
    border-radius: 16px 16px 0 0;
    padding: 32px 28px 24px;
    text-align: center;
    color: #fff;
}

.mmf-simple-moon {
    font-size: 36px;
    display: block;
    margin-bottom: 8px;
    animation: mmf-float 3s ease-in-out infinite;
}

.mmf-simple-header h2,
.mmf-simple-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    color: #ffffff !important;
    margin: 0 0 4px;
}

.mmf-simple-header p {
    font-size: 13px;
    opacity: .8;
    margin: 0;
}

.mmf-simple-progress {
    margin-top: 14px;
}

.mmf-simple-bar {
    background: rgba(255, 255, 255, .25);
    border-radius: 100px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 5px;
}

.mmf-simple-fill {
    height: 100%;
    background: linear-gradient(90deg, #f9a825, #ffd54f);
    border-radius: 100px;
    transition: width 1.2s ease;
}

.mmf-simple-progress small {
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
}

.mmf-simple-body {
    background: #fff;
    border-radius: 0 0 16px 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 4px 24px rgba(26, 92, 58, .12);
}

.mmf-simple-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mmf-tpl-simple .mmf-amount-btn {
    padding: 12px 8px;
    border: 2px solid #c8e0d3;
    border-radius: 10px;
    background: #fff;
    color: #1a2e23;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.mmf-tpl-simple .mmf-amount-btn:hover,
.mmf-tpl-simple .mmf-amount-btn.active {
    background: #1a5c3a;
    border-color: #1a5c3a;
    color: #fff;
    transform: translateY(-1px);
}

.mmf-simple-custom {
    position: relative;
    margin-bottom: 16px;
}

.mmf-simple-custom .mmf-simple-sym {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #1a5c3a;
}

.mmf-simple-custom input {
    width: 100%;
    padding: 12px 12px 12px 36px;
    border: 2px solid #c8e0d3;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    color: #1a2e23;
    box-sizing: border-box;
    background: #f4faf6;
    font-family: inherit;
    transition: all .2s;
}

.mmf-simple-custom input:focus {
    outline: none;
    border-color: #1a5c3a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 92, 58, .1);
}

.mmf-simple-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.mmf-simple-field {
    position: relative;
}

.mmf-simple-field .mmf-sfi {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.mmf-simple-field input {
    width: 100%;
    padding: 12px 12px 12px 38px;
    border: 2px solid #c8e0d3;
    border-radius: 10px;
    font-size: 14px;
    color: #1a2e23;
    background: #f4faf6;
    box-sizing: border-box;
    font-family: inherit;
    transition: all .2s;
}

.mmf-simple-field input:focus {
    outline: none;
    border-color: #1a5c3a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 92, 58, .08);
}

.mmf-simple-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(26, 92, 58, .28);
}

.mmf-simple-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 92, 58, .38);
}

.mmf-simple-secure {
    text-align: center;
    font-size: 12px;
    color: #a0b8a8;
    margin-top: 10px;
}

/* ============================================================
   TEMPLATE: CARD (split layout)
   ============================================================ */
.mmf-tpl-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(26, 92, 58, .15);
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
    max-width: 860px;
    margin: 0 auto;
}

.mmf-card-left {
    background: #1a5c3a;
    display: flex;
    flex-direction: column;
}

.mmf-card-img {
    height: 200px;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    background-size: cover;
    background-position: center;
}

.mmf-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.mmf-card-left-body {
    padding: 24px;
    flex: 1;
    color: #fff;
}

.mmf-card-left-body h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #ffffff !important;
    margin: 0 0 10px;
}

.mmf-card-left-body p {
    font-size: 13px;
    opacity: .8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.mmf-card-stats {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
}

.mmf-card-stat {
    flex: 1;
    text-align: center;
}

.mmf-card-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
}

.mmf-card-stat span {
    font-size: 11px;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.mmf-card-bar {
    background: rgba(255, 255, 255, .2);
    border-radius: 100px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.mmf-card-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f9a825, #ffd54f);
    border-radius: 100px;
    transition: width 1.2s ease;
}

.mmf-card-methods {
    font-size: 12px;
    opacity: .75;
}

.mmf-card-methods small {
    display: block;
    margin-bottom: 4px;
}

.mmf-card-right {
    background: #fff;
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.mmf-card-form-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #5a7a68;
    margin-bottom: 14px;
}

.mmf-card-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mmf-tpl-card .mmf-amount-btn {
    padding: 10px 6px;
    border: 2px solid #c8e0d3;
    border-radius: 8px;
    background: #fff;
    color: #1a2e23;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.mmf-tpl-card .mmf-amount-btn:hover,
.mmf-tpl-card .mmf-amount-btn.active {
    background: #1a5c3a;
    border-color: #1a5c3a;
    color: #fff;
}

.mmf-card-custom {
    position: relative;
    margin-bottom: 14px;
}

.mmf-card-custom span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #1a5c3a;
}

.mmf-card-custom input {
    width: 100%;
    padding: 10px 10px 10px 28px;
    border: 2px solid #c8e0d3;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    box-sizing: border-box;
    background: #f4faf6;
    font-family: inherit;
    transition: all .2s;
}

.mmf-card-custom input:focus {
    outline: none;
    border-color: #1a5c3a;
}

.mmf-card-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.mmf-card-fields input,
.mmf-card-fields textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #c8e0d3;
    border-radius: 8px;
    font-size: 13.5px;
    box-sizing: border-box;
    font-family: inherit;
    background: #f4faf6;
    transition: all .2s;
}

.mmf-card-fields input:focus,
.mmf-card-fields textarea:focus {
    outline: none;
    border-color: #1a5c3a;
}

.mmf-card-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(26, 92, 58, .25);
}

.mmf-card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26, 92, 58, .35);
}

@media(max-width:700px) {
    .mmf-tpl-card {
        grid-template-columns: 1fr;
    }

    .mmf-card-img {
        height: 140px;
    }
}

/* ============================================================
   TEMPLATE: COMPACT (sidebar)
   ============================================================ */
.mmf-tpl-compact {
    max-width: 300px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #c8e0d3;
    padding: 18px;
    box-shadow: 0 3px 16px rgba(26, 92, 58, .1);
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
    font-size: 13.5px;
}

.mmf-compact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5ee;
}

.mmf-compact-header span {
    font-size: 28px;
}

.mmf-compact-header strong {
    display: block;
    font-size: 14px;
    color: #ffffff !important;
}

.mmf-compact-progress {
    margin-top: 4px;
}

.mmf-compact-bar {
    background: #e8f5ee;
    border-radius: 100px;
    height: 6px;
    overflow: hidden;
    margin-bottom: 3px;
}

.mmf-compact-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a5c3a, #2d9b5f);
    border-radius: 100px;
    transition: width 1.2s;
}

.mmf-compact-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 8px;
}

.mmf-tpl-compact .mmf-amount-btn {
    padding: 8px 4px;
    border: 1.5px solid #c8e0d3;
    border-radius: 7px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}

.mmf-tpl-compact .mmf-amount-btn:hover,
.mmf-tpl-compact .mmf-amount-btn.active {
    background: #1a5c3a;
    border-color: #1a5c3a;
    color: #fff;
}

.mmf-compact-custom {
    position: relative;
    margin-bottom: 8px;
}

.mmf-compact-custom span {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #1a5c3a;
    font-size: 14px;
}

.mmf-compact-custom input {
    width: 100%;
    padding: 9px 9px 9px 24px;
    border: 1.5px solid #c8e0d3;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    box-sizing: border-box;
    background: #f4faf6;
    font-family: inherit;
}

.mmf-compact-custom input:focus {
    outline: none;
    border-color: #1a5c3a;
}

.mmf-compact-input {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #c8e0d3;
    border-radius: 7px;
    font-size: 13px;
    box-sizing: border-box;
    margin-bottom: 7px;
    font-family: inherit;
    background: #f4faf6;
    transition: all .2s;
}

.mmf-compact-input:focus {
    outline: none;
    border-color: #1a5c3a;
}

.mmf-compact-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
}

.mmf-compact-btn:hover {
    transform: translateY(-1px);
}

.mmf-compact-secure {
    text-align: center;
    font-size: 11px;
    color: #a0b8a8;
    margin-top: 7px;
}

/* ============================================================
   TEMPLATE: FULL FEATURED
   ============================================================ */
.mmf-tpl-full {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(26, 92, 58, .15);
}

.mmf-full-hero {
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    padding: 40px 32px 32px;
    text-align: center;
    position: relative;
}

.mmf-full-hero-overlay {
    position: relative;
    z-index: 2;
}

.mmf-full-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 30, 20, .35);
    z-index: 1;
}

.mmf-full-moon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
    animation: mmf-float 3s ease-in-out infinite;
}

.mmf-full-hero h2 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #ffffff !important;
    font-size: 28px;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.mmf-full-hero p {
    color: rgba(255, 255, 255, .8);
    font-size: 15px;
    margin: 0 0 16px;
}

.mmf-full-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
}

.mmf-full-stat {
    padding: 0 24px;
    text-align: center;
}

.mmf-full-stat strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}

.mmf-full-stat span {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.mmf-full-divider {
    width: 1px;
    background: rgba(255, 255, 255, .25);
}

.mmf-full-progress {
    background: rgba(255, 255, 255, .2);
    border-radius: 100px;
    height: 10px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.mmf-full-fill {
    height: 100%;
    background: linear-gradient(90deg, #f9a825, #ffd54f);
    border-radius: 100px;
    transition: width 1.2s ease;
    box-shadow: 0 0 10px rgba(249, 168, 37, .5);
}

.mmf-full-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    background: #fff;
}

.mmf-full-left {
    padding: 28px;
    border-right: 1px solid #e8f5ee;
}

.mmf-full-right {
    padding: 24px;
    background: #f8fffe;
}

.mmf-full-methods {
    background: #e8f5ee;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.mmf-full-methods-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #5a7a68;
    margin-bottom: 8px;
    font-weight: 700;
}

.mmf-full-methods-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1a5c3a;
}

.mmf-full-methods-chips span {
    background: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #c8e0d3;
}

.mmf-full-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #5a7a68;
    font-weight: 700;
    margin-bottom: 12px;
}

.mmf-full-amounts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.mmf-tpl-full .mmf-amount-btn {
    padding: 12px;
    border: 2px solid #c8e0d3;
    border-radius: 10px;
    background: #fff;
    color: #1a2e23;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}

.mmf-tpl-full .mmf-amount-btn:hover,
.mmf-tpl-full .mmf-amount-btn.active {
    background: #1a5c3a;
    border-color: #1a5c3a;
    color: #fff;
    transform: translateY(-1px);
}

.mmf-full-custom {
    position: relative;
    margin-bottom: 20px;
}

.mmf-full-sym {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: #1a5c3a;
}

.mmf-full-custom input {
    width: 100%;
    padding: 13px 13px 13px 38px;
    border: 2px solid #c8e0d3;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    box-sizing: border-box;
    background: #f4faf6;
    font-family: inherit;
    transition: all .2s;
}

.mmf-full-custom input:focus {
    outline: none;
    border-color: #1a5c3a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 92, 58, .1);
}

.mmf-full-fields {
    margin-bottom: 14px;
}

.mmf-full-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.mmf-full-field {
    position: relative;
}

.mmf-full-field span {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
}

.mmf-full-field input,
.mmf-full-field textarea {
    width: 100%;
    padding: 11px 12px 11px 36px;
    border: 2px solid #c8e0d3;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    font-family: inherit;
    background: #f4faf6;
    transition: all .2s;
}

.mmf-full-field.full {
    margin-bottom: 10px;
}

.mmf-full-field.msg span {
    top: 18px;
    transform: none;
}

.mmf-full-field.msg textarea {
    padding-left: 36px;
    resize: vertical;
    min-height: 70px;
}

.mmf-full-field input:focus,
.mmf-full-field textarea:focus {
    outline: none;
    border-color: #1a5c3a;
    background: #fff;
}

.mmf-full-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(26, 92, 58, .28);
}

.mmf-full-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 92, 58, .38);
}

.mmf-full-donors {
    margin-bottom: 20px;
}

.mmf-full-donors-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a5c3a;
    margin-bottom: 12px;
}

.mmf-full-donor-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.mmf-full-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.mmf-full-donor-info strong {
    display: block;
    font-size: 13px;
    color: #1a2e23;
}

.mmf-full-donor-info span {
    font-size: 11.5px;
    color: #5a7a68;
}

.mmf-full-share {
    margin-bottom: 20px;
}

.mmf-full-share-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a5c3a;
    margin-bottom: 10px;
}

.mmf-share-fb,
.mmf-share-wa {
    display: block;
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 6px;
    transition: all .2s;
    box-sizing: border-box;
}

.mmf-share-fb {
    background: #1877f2;
    color: #fff;
}

.mmf-share-fb:hover {
    background: #1668d6;
    color: #fff;
    text-decoration: none;
}

.mmf-share-wa {
    background: #25d366;
    color: #fff;
}

.mmf-share-wa:hover {
    background: #1aad52;
    color: #fff;
    text-decoration: none;
}

.mmf-full-dua {
    background: #fff8e1;
    border-left: 4px solid #f9a825;
    padding: 14px;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: #6d4c41;
    line-height: 1.7;
}

.mmf-full-dua small {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-weight: 600;
    opacity: .7;
}

@media(max-width:700px) {
    .mmf-full-body {
        grid-template-columns: 1fr;
    }

    .mmf-full-right {
        border-top: 1px solid #e8f5ee;
    }

    .mmf-full-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   DONOR WALL SHORTCODE
   ============================================================ */
.mmf-donor-wall {
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}

.mmf-donor-wall-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    color: #1a5c3a;
    text-align: center;
    margin-bottom: 6px;
}

.mmf-donor-wall-sub {
    text-align: center;
    color: #5a7a68;
    font-size: 14px;
    margin-bottom: 24px;
}

.mmf-donor-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.mmf-donor-wall-card {
    background: #fff;
    border: 1px solid #c8e0d3;
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(26, 92, 58, .08);
    transition: transform .2s;
}

.mmf-donor-wall-card:hover {
    transform: translateY(-3px);
}

.mmf-donor-wall-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 10px;
}

.mmf-donor-wall-name {
    font-weight: 700;
    color: #1a2e23;
    font-size: 14px;
    margin-bottom: 4px;
}

.mmf-donor-wall-amount {
    color: #1a5c3a;
    font-weight: 800;
    font-size: 16px;
}

.mmf-donor-wall-count {
    font-size: 11px;
    color: #5a7a68;
    margin-top: 3px;
}

/* ============================================================
   LIVE COUNTER WIDGET
   ============================================================ */
.mmf-counter-widget {
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #1a5c3a, #2d9b5f);
    border-radius: 14px;
    padding: 24px;
    color: #fff;
    text-align: center;
}

.mmf-counter-widget .mmf-counter-val {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
}

.mmf-counter-widget .mmf-counter-label {
    font-size: 13px;
    opacity: .8;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.mmf-counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.mmf-counter-item {
    padding: 10px;
}

.mmf-counter-item:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .2);
}

/* ============================================================
   ANONYMOUS CHECKBOX
   ============================================================ */
.mmf-anon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5a7a68;
    cursor: pointer;
    margin-bottom: 14px;
    user-select: none;
}

.mmf-anon-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #1a5c3a;
    cursor: pointer;
}

/* ============================================================
   CAMPAIGN DISPLAY TEMPLATES (v1.2.0)
   ============================================================ */

/* ── Shared Styles ─────────────────────────────────── */
.mmf-camp-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--mmf-text-muted);
    font-size: 16px;
}

.mmf-camp-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 8px;
    line-height: 1.3;
}

.mmf-camp-card-desc {
    font-size: 14px;
    color: var(--mmf-text-muted);
    line-height: 1.6;
    margin: 0 0 12px;
}

.mmf-camp-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--mmf-text-muted);
    margin-bottom: 14px;
}

.mmf-camp-progress-bar {
    background: var(--mmf-green-pale);
    border-radius: 100px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.mmf-camp-progress-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1.2s ease;
}

.mmf-camp-progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--mmf-text-muted);
}

.mmf-camp-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--mmf-gold);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    z-index: 1;
}

.mmf-camp-featured-badge {
    background: #fff8e1;
    color: #e65100;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.mmf-camp-btn {
    display: inline-block;
    text-align: center;
    padding: 12px 24px;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all .25s;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(26, 92, 58, .2);
    border: none;
    cursor: pointer;
}

.mmf-camp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 92, 58, .3);
    color: #fff;
    text-decoration: none;
}

.mmf-camp-btn-outline {
    background: transparent !important;
    border: 2px solid;
    box-shadow: none;
}

.mmf-camp-btn-outline:hover {
    opacity: .85;
}

.mmf-camp-btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

/* ── Grid Template ─────────────────────────────────── */
.mmf-camp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}

.mmf-camp-card {
    background: var(--mmf-white);
    border-radius: var(--mmf-radius);
    overflow: hidden;
    box-shadow: var(--mmf-shadow);
    border: 1px solid var(--mmf-border);
    transition: all .25s;
    display: flex;
    flex-direction: column;
}

.mmf-camp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 92, 58, .18);
}

.mmf-camp-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.mmf-camp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.mmf-camp-card:hover .mmf-camp-card-img img {
    transform: scale(1.05);
}

.mmf-camp-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mmf-camp-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mmf-camp-card-body .mmf-camp-btn {
    margin-top: auto;
    display: block;
    text-align: center;
}

.mmf-camp-progress {
    margin-bottom: 16px;
}

/* ── List Template ─────────────────────────────────── */
.mmf-camp-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}

.mmf-camp-list-item {
    display: flex;
    background: var(--mmf-white);
    border-radius: var(--mmf-radius);
    overflow: hidden;
    box-shadow: var(--mmf-shadow);
    border: 1px solid var(--mmf-border);
    transition: all .25s;
    align-items: center;
}

.mmf-camp-list-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(26, 92, 58, .12);
}

.mmf-camp-list-img {
    width: 180px;
    min-height: 140px;
    flex-shrink: 0;
}

.mmf-camp-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mmf-camp-list-body {
    flex: 1;
    padding: 18px 20px;
}

.mmf-camp-list-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.mmf-camp-list-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--mmf-text-muted);
    margin: 8px 0;
}

.mmf-camp-list-action {
    padding: 18px;
    display: flex;
    align-items: center;
}

/* ── Masonry Template ──────────────────────────────── */
.mmf-camp-masonry {
    columns: 2;
    column-gap: 24px;
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}

.mmf-camp-masonry-item {
    break-inside: avoid;
    background: var(--mmf-white);
    border-radius: var(--mmf-radius);
    overflow: hidden;
    box-shadow: var(--mmf-shadow);
    border: 1px solid var(--mmf-border);
    margin-bottom: 24px;
    transition: all .25s;
}

.mmf-camp-masonry-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26, 92, 58, .15);
}

.mmf-camp-masonry-img {
    width: 100%;
    display: block;
}

.mmf-camp-masonry-body {
    padding: 20px;
}

.mmf-camp-masonry-body .mmf-camp-btn {
    display: block;
    text-align: center;
    margin-top: 12px;
}

/* ── Minimal Template ──────────────────────────────── */
.mmf-camp-minimal {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}

.mmf-camp-minimal-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--mmf-white);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 12px rgba(26, 92, 58, .06);
    transition: all .25s;
}

.mmf-camp-minimal-item:hover {
    box-shadow: 0 6px 24px rgba(26, 92, 58, .12);
    transform: translateY(-2px);
}

.mmf-camp-minimal-body {
    flex: 1;
}

.mmf-camp-minimal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.mmf-camp-minimal-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.mmf-camp-minimal-stat {
    text-align: center;
}

.mmf-camp-minimal-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--mmf-green);
    display: block;
}

.mmf-camp-minimal-label {
    font-size: 11px;
    color: var(--mmf-text-muted);
    text-transform: uppercase;
}

/* ── Hero Template ─────────────────────────────────── */
.mmf-camp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--mmf-radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(26, 92, 58, .15);
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
    background: var(--mmf-white);
}

.mmf-camp-hero-img {
    overflow: hidden;
}

.mmf-camp-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
}

.mmf-camp-hero-body {
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mmf-camp-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 12px;
    line-height: 1.2;
}

.mmf-camp-hero-desc {
    font-size: 15px;
    color: var(--mmf-text-muted);
    line-height: 1.7;
    margin: 0 0 16px;
}

.mmf-camp-hero-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
}

.mmf-camp-hero-stats div {
    text-align: center;
}

.mmf-camp-hero-stats strong {
    font-size: 24px;
    color: var(--mmf-green);
}

.mmf-camp-hero-stats small {
    font-size: 11px;
    color: var(--mmf-text-muted);
    text-transform: uppercase;
}

/* ── Responsive ────────────────────────────────────── */
@media(max-width:768px) {
    .mmf-camp-grid {
        grid-template-columns: 1fr;
    }

    .mmf-camp-list-item {
        flex-direction: column;
    }

    .mmf-camp-list-img {
        width: 100%;
        min-height: 160px;
    }

    .mmf-camp-masonry {
        columns: 1;
    }

    .mmf-camp-minimal-item {
        flex-direction: column;
        text-align: center;
    }

    .mmf-camp-hero {
        grid-template-columns: 1fr;
    }

    .mmf-camp-hero-img img {
        min-height: 200px;
    }

    .mmf-camp-hero-body {
        padding: 24px;
    }
}

/* ── Anonymous Donation Label ──────────────────────── */
.mmf-anon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: var(--mmf-text-muted);
    margin: 14px 0;
    cursor: pointer;
    padding: 10px 14px;
    background: var(--mmf-green-pale);
    border-radius: var(--mmf-radius-sm);
    border: 1px solid var(--mmf-border);
    transition: var(--mmf-transition);
}
.mmf-anon-label:hover {
    border-color: var(--mmf-green);
    background: #d5f0e0;
}
.mmf-anon-label input[type="checkbox"] {
    accent-color: var(--mmf-green);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ── Custom Payment Gateway HTML Container ─────────── */
.mmf-payment-methods-custom {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: var(--mmf-radius-sm);
    border: 1px solid var(--mmf-border);
    background: var(--mmf-green-pale);
}

/* ── Field Icon Reset (icons removed) ─────────────── */
.mmf-field-group .mmf-field-icon input,
.mmf-field-group .mmf-field-icon textarea {
    padding-left: 16px !important;
}
.mmf-field-group .mmf-field-icon .icon {
    display: none !important;
}

/* ── New Campaign Grid (mmf-camp-*) ───────────────── */
.mmf-camp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    font-family: 'Hind Siliguri', 'Segoe UI', Arial, sans-serif;
}
.mmf-camp-card {
    background: #fff;
    border-radius: var(--mmf-radius);
    overflow: hidden;
    box-shadow: var(--mmf-shadow);
    border: 1px solid var(--mmf-border);
    transition: var(--mmf-transition);
    display: flex;
    flex-direction: column;
}
.mmf-camp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 92, 58, 0.18);
}
.mmf-camp-card-img {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.mmf-camp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.mmf-camp-card:hover .mmf-camp-card-img img {
    transform: scale(1.05);
}
.mmf-camp-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    font-size: 48px;
    color: var(--mmf-text-muted);
}
.mmf-camp-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--mmf-gold);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mmf-camp-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mmf-camp-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--mmf-text);
    margin: 0 0 8px;
    line-height: 1.3;
}
.mmf-camp-card-desc {
    font-size: 14px;
    color: var(--mmf-text-muted);
    line-height: 1.6;
    margin: 0 0 16px;
    flex: 1;
}
.mmf-camp-progress {
    margin-bottom: 14px;
}
.mmf-camp-progress-bar {
    background: var(--mmf-green-pale);
    border-radius: 100px;
    height: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}
.mmf-camp-progress-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(26, 92, 58, 0.3);
}
.mmf-camp-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--mmf-text-muted);
}
.mmf-camp-progress-info strong {
    color: var(--mmf-green);
}
.mmf-camp-meta {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--mmf-text-muted);
    margin-bottom: 16px;
    padding-top: 10px;
    border-top: 1px solid var(--mmf-border);
}
.mmf-camp-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: var(--mmf-radius-sm);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--mmf-transition);
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(26, 92, 58, 0.25);
}
.mmf-camp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26, 92, 58, 0.35);
    text-decoration: none;
    filter: brightness(1.1);
}
.mmf-camp-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--mmf-text-muted);
    font-family: 'Hind Siliguri', sans-serif;
}

/* ── FORCED BUTTON TEXT COLORS ─────────────────────── */
/* All donate buttons across all templates — text forced with !important */
.mmf-donate-btn,
.mmf-donate-btn .btn-text,
.mmf-simple-btn,
.mmf-simple-btn .btn-text,
.mmf-card-btn,
.mmf-card-btn .btn-text,
.mmf-compact-btn,
.mmf-compact-btn .btn-text,
.mmf-full-btn,
.mmf-full-btn .btn-text,
.mmf-camp-btn {
    color: #ffffff !important;
}

/* ── FINAL OVERRIDE: Active Amount Button Fix ──────── */
/* This must remain at the bottom to win CSS cascade */
.mmf-amount-btn.active,
.mmf-amount-btn.active:hover,
.mmf-amount-btn.active:focus,
.mmf-amount-btn.active:visited,
.mmf-donation-wrapper .mmf-amount-grid .mmf-amount-btn.active,
.mmf-wrapper .mmf-amount-grid .mmf-amount-btn.active,
.mmf-tpl-classic .mmf-amount-grid .mmf-amount-btn.active,
.entry-content .mmf-amount-btn.active,
body .mmf-amount-btn.active {
    background: #1a5c3a !important;
    border-color: #1a5c3a !important;
    color: #ffffff !important;
}

.mmf-amount-btn.active span,
.mmf-amount-btn.active:hover span,
.mmf-donation-wrapper .mmf-amount-grid .mmf-amount-btn.active span,
.mmf-wrapper .mmf-amount-grid .mmf-amount-btn.active span,
.mmf-tpl-classic .mmf-amount-grid .mmf-amount-btn.active span,
.entry-content .mmf-amount-btn.active span,
body .mmf-amount-btn.active span {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .mmf-camp-grid {
        grid-template-columns: 1fr;
    }
}