
/* --- کارت اصلی فرم --- */
.donation-container {
    background: #ffffff;
    border: 0.5px solid #e8e6f0;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.heart-icon {
    width: 48px;
    height: 48px;
    background: #EEEDFE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.heart-icon svg {
    width: 24px;
    height: 24px;
    fill: #534AB7;
}

.card-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.card-header p {
    font-size: 13px;
    color: #888;
}

.section-label {
    font-size: 12px;
    font-weight: 500;
    color: #888;
    margin-bottom: 10px;
}

/* --- دکمه‌های انتخاب مبلغ --- */
.preset-amounts {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.donation-btn {
    padding: 12px 8px;
    background: #f8f7fd;
    border: 1.5px solid #e8e6f0;
    border-radius: 10px;
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: center;
    line-height: 1.4;
}

.donation-btn small {
    display: block;
    font-size: 10px;
    color: #aaa;
    margin-top: 2px;
}

.donation-btn:hover {
    border-color: #AFA9EC;
    color: #534AB7;
    background: #EEEDFE;
}

.donation-btn.active {
    border-color: #534AB7;
    color: #534AB7;
    background: #EEEDFE;
    font-weight: 700;
}

.donation-btn.active small {
    color: #7F77DD;
}

/* --- خط جداکننده --- */
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 0.5px;
    background: #e8e6f0;
}

.divider span {
    font-size: 12px;
    color: #bbb;
    white-space: nowrap;
}

/* --- فیلدهای ورودی --- */
.input-group {
    position: relative;
    margin-bottom: 12px;
}

.input-group label {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}

.input-group label .optional {
    color: #bbb;
    font-size: 11px;
}

.input-group input {
    width: 100%;
    max-width: 100%;
    padding: 13px 16px;
    box-sizing: border-box;
    background: #f8f7fd;
    border: 1.5px solid #e8e6f0;
    border-radius: 10px;
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    transition: border 0.18s ease;
    outline: none;
}

.input-group input:focus {
    border-color: #534AB7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(83, 74, 183, 0.1);
}

.input-group input::placeholder {
    color: #bbb;
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
}

/* --- دکمه پرداخت --- */
.single_add_to_cart_button {
    width: 100%;
    padding: 16px;
    background: #534AB7;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.single_add_to_cart_button svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.single_add_to_cart_button:hover {
    background: #3C3489;
}

.single_add_to_cart_button:active {
    transform: scale(0.98);
}

/* --- نوار اعتماد --- */
.trust-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #aaa;
}

.trust-item svg {
    width: 12px;
    height: 12px;
    fill: #0F6E56;
}

/* --- دیوار حامیان --- */
.donors-wall {
 
    background: #ffffff;
    border: 0.5px solid #e8e6f0;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.donors-wall h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 1rem;
}

.donors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.donor-card {
    background: #ffffff;
    border: 0.5px solid #e8e6f0;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    transition: all 0.18s ease;
}

.donor-card:hover {
    border-color: #AFA9EC;
    transform: translateY(-2px);
}

.donor-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #EEEDFE;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 14px;
    font-weight: 700;
    color: #534AB7;
}

.donor-name {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.donor-name a {
    color: #534AB7;
    text-decoration: none;
}

.donor-name a:hover {
    text-decoration: underline;
}

.donor-amount {
    font-size: 11px !important;
    color: #0F6E56 !important;
    background: #E1F5EE !important;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

/* --- ریسپانسیو --- */
@media (max-width: 460px) {
    .preset-amounts {
        grid-template-columns: 1fr 1fr;
    }

    .donation-container {
        padding: 1.25rem;
    }

    .donors-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-row {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}












.sidebar-support {
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
    direction: rtl;
  background: linear-gradient(135deg, #534AB7, #AFA9EC);
    border: none;
    border-radius: 5px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom:10px;
    
}

.sidebar-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.sidebar-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.sidebar-support h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    margin-top:0px !important;
}

.sidebar-support p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    opacity: 0.4;
    margin-bottom: 1.25rem;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #3C3489;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.18s ease;
    
}

.sidebar-btn:hover {
    background: rgba(255, 255, 255, 0.88);
   
}

.sidebar-btn svg {
    width: 15px;
    height: 15px;
    fill: #3C3489;
}

.sidebar-trust {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 1rem;
}

.sidebar-trust span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 3px;
}

.sidebar-trust svg {
    width: 10px;
    height: 10px;
    fill: rgba(255, 255, 255, 0.9);
}







.support-banner {
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
    direction: rtl;
    background: linear-gradient(135deg, #534AB7, #AFA9EC);
    border: none;
    border-radius: 5px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.banner-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-icon {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.banner-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    margin-top:0px !important;
    border-bottom:0px !important;
}

.banner-text p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
  
}

.banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #3C3489;
    text-decoration: none;
    padding: 13px 24px;
    border-radius: 10px;
    font-family: Vazir, Tahoma, "DejaVu Sans", helvetica, arial, freesans, sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.18s ease;
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.88);
}

.banner-btn svg {
    width: 16px;
    height: 16px;
    fill: #3C3489; 
}

@media (max-width: 560px) {
    .support-banner {
        flex-direction: column;
        text-align: center;
    }
    .banner-right {
        flex-direction: column;
        align-items: center;
    }
    .banner-btn {
        width: 100%;
        justify-content: center;
    }
}