/* --- Donate Page Overhaul --- */

.donate-hero {
    min-height: 60vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(13, 47, 47, 0.92), rgba(13, 47, 47, 0.8)),
                url('https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?auto=format&fit=crop&w=1920&q=80') center/cover;
}

.donate-section {
    padding: 0 0 120px;
    background-color: var(--soft-cream);
}

.donate-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    margin-top: -60px;
}

/* --- Impact Cards --- */

.donate-info h2 {
    color: var(--deep-teal);
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    font-weight: 800;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.impact-card {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: 24px;
    text-align: center;
    border-top: 4px solid var(--clay);
    box-shadow: 0 20px 40px -10px rgba(13, 47, 47, 0.1);
    color: #0f3d3e;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -15px rgba(13, 47, 47, 0.18);
}

.impact-card h3 {
    color: var(--deep-teal);
    font-weight: 800;
}

/* --- Legacy Bank Styles (UNCHANGED) --- */

.info-row:last-child {
    border-bottom: none;
}

.info-row span {
    color: #b7c4bf;
    font-weight: 600;
}

.info-row strong {
    color: #0f3d3e;
    font-weight: 600;
    letter-spacing: 0.3px;
}



/* ================= MOBILE ================= */

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

    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
      }
    }

/* ======================================================
   PASSBOOK THEME ADD-ON (FINAL FIX – LABEL LEFT, VALUE RIGHT)
====================================================== */

.bank-passbook-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(13, 47, 47, 0.12);
    margin-top: 3.5rem;
    border: 1px solid rgba(13, 47, 47, 0.1);
}

.bank-passbook-card h2 {
    text-align: center;
    color:  #0f3d3e;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}
/* ========= COPY BUTTON FINAL STYLE ========= */

.passbook-details .info-row {
    display: grid;
    grid-template-columns: 1.4fr 2fr auto;
    align-items: center;
    gap: 0.5 rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(13, 47, 47, 0.12);

    
}


.passbook-details .copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #0f3d3e;
    font-size: 1rem;
    padding: 0.35rem;
    border-radius: 6px;
    justify-self: end;
}

.passbook-details .copy-btn:hover {
    background: rgba(15, 61, 62, 0.12);
}



/* Mobile fix */
@media (max-width: 768px) {
    .passbook-details .info-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
       .passbook-details .copy-btn {
        justify-self: flex-end;
    }
    }

.passbook-note {
    text-align: center;
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Inner box */
.passbook-details {
    background: #f9fafb;
    border-radius: 14px;
    padding: 1.8rem 2rem;
    border: 1px solid rgba(13, 47, 47, 0.1);
}

/* ROW = label LEFT | value RIGHT */
.passbook-details .info-row {
    display: grid !important;
    grid-template-columns: 180px 1fr 40px;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(13, 47, 47, 0.12);
}
.passbook-details .info-row span {
    font-weight: 600;
    color: #334155;
}
.passbook-details .info-row strong {
    color: #0f3d3e;
    font-weight: 700;
    white-space: nowrap;
}

.passbook-details .info-row:last-child {
    border-bottom: none;
}

/* LABEL */
.passbook-details .info-row span {
    color: #334155;
    font-weight: 700;
    text-align: left;
}

/* Hover – subtle */
.passbook-details .info-row:hover {
    background: rgba(13, 47, 47, 0.04);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 8px;
}


/* ========= TOAST MESSAGE ========= */

#toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f3d3e;;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

#toast.show {
    opacity: 1;
    transform: translateY(0);
}


/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .bank-passbook-card {
        padding: 2rem 1.5rem;
    }

    .passbook-details {
        padding: 1.5rem;
    }

    .passbook-details .info-row {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }

    .passbook-details .info-row span {
        font-size: 0.9rem;
        color: #64748b;
    }
}

