/* ===== صفحة التبرع لقسم/بند ===== */

.donate-wrap {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.donate-card {
    background: #fff;
    border: 1px solid #e6eef3;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(10, 113, 158, 0.12);
    width: 100%;
    max-width: 520px;
    padding: 30px 34px 34px;
    position: relative;
}

.donate-back {
    color: var(--blue-gray);
    text-decoration: none;
    font-size: 15px;
}
.donate-back:hover { color: var(--blue); }

.donate-heading {
    text-align: center;
    color: var(--blue);
    font-size: 34px;
    margin: 6px 0 20px;
}

.donate-target {
    background: #f4f9fb;
    border: 1px dashed rgba(10, 113, 158, 0.35);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    margin-bottom: 28px;
}

.donate-target-label { display: block; color: var(--blue-gray); font-size: 14px; }

/* تفاصيل الحالة الخاصة داخل صفحة التبرع */
.case-detail-img {
    height: 200px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    background: #2b2b2b;
}
.case-detail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.case-detail-desc {
    color: var(--navy);
    font-size: 14px;
    line-height: 1.7;
    margin: 6px 0 14px;
    font-family: 'IBMPlexArabic', sans-serif;
}

.case-detail-amounts {
    display: flex;
    justify-content: space-between;
    color: var(--blue);
    font-size: 14px;
    margin-top: 8px;
}
.case-detail-amounts b { color: var(--navy); }

.donate-target-name {
    display: block;
    color: var(--blue);
    font-family: 'Qahwa Arabic', serif;
    font-size: 26px;
    margin: 4px 0 8px;
}

.donate-scope {
    display: inline-block;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
}
.scope-general  { background: #e8f3e9; color: #2e7d32; }
.scope-specific { background: #fff2e3; color: #b96414; }

.donate-label {
    display: block;
    color: var(--navy);
    font-weight: bold;
    margin: 0 0 10px;
    font-size: 15px;
}

.donate-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.amount-chip {
    background: #fff;
    border: 2px solid rgba(10, 113, 158, 0.35);
    color: var(--blue);
    border-radius: 10px;
    padding: 12px 0;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.amount-chip:hover { border-color: var(--blue); }
.amount-chip.selected {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.donate-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(10, 113, 158, 0.35);
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 26px;
}
.donate-custom span { color: var(--blue); font-weight: bold; font-size: 18px; }
.donate-custom input {
    border: none;
    outline: none;
    font-size: 17px;
    width: 100%;
    color: var(--navy);
    background: transparent;
}

/* اختيار طريقة الدفع */
.donate-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 26px;
}

.method-btn {
    background: #fff;
    border: 2px solid rgba(10, 113, 158, 0.35);
    color: var(--blue);
    border-radius: 10px;
    padding: 14px 0;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.method-btn:hover { border-color: var(--blue); }
.method-btn.selected {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.donate-submit {
    width: 100%;
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-family: 'Qahwa Arabic', serif;
    font-size: 20px;
    cursor: pointer;
    transition: 0.25s;
}
.donate-submit:hover { background: #08597c; }
.donate-submit:disabled { opacity: 0.6; cursor: default; }

.donate-msg {
    text-align: center;
    margin-top: 14px;
    font-size: 15px;
    min-height: 20px;
}
.donate-msg.err { color: var(--red); }
.donate-msg.ok  { color: #2e7d32; }
