/* =========================
   GRID SYSTEM
========================= */
.hero-relief {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        url('/img/hero/hero-relief.webp') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.85)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.hero-title span {
    color: #ff3b3b;
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    margin: 20px 0;
    font-size: 1.1rem;
}

/* PROGRESS */
.hero-progress {
    margin: 25px 0;
}

.hero-progress .progress {
    height: 10px;
    border-radius: 50px;
    overflow: hidden;
}

.hero-progress .progress-bar {
    background: linear-gradient(90deg, #ff3b3b, #ff6b6b);
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 6px;
}

/* CTA */
.hero-cta {
    background: linear-gradient(135deg, #ff3b3b, #c40000);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
}

.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255,0,0,0.4);
}
.donation-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: stretch;
}


/* =========================
   DONATION CARD BASE
========================= */

.donation-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 100%;
    min-height: 260px;

    padding: 20px;
    border-radius: 16px;
    background: #fff;

    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);

    transition: 0.25s ease;
}

.donation-box:hover {
    transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

}




/* INNER STRUCTURE */

.donation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.donation-action {
    margin-top: auto;
}


/* LOGOS */

.donation-box img {
    height: 55px;
    object-fit: contain;
    margin-bottom: 10px;
}


/* TEXT */

.donation-box p {
    font-size: 14px;
    margin-bottom: 5px;
}


/* BUTTON */

.donation-box .btn {
    width: 100%;
    /*height: 50px;*/

    display: flex;              /* 🔥 الحل */
    align-items: center;        /* 🔥 */
    justify-content: center;    /* 🔥 */

    font-weight: 700;
    border-radius: 10px;

    line-height: 1.2;           /* 🔥 مهم */
    text-align: center;
}


/* =========================
   VARIANTS (ONLY COLORS)
========================= */

/* WHISH */

.whish-box {
    border-top: 5px solid #FF003E;
}

.whish-btn {
    background: #FF003E;
    color: #fff;
}

.whish-btn:hover {
    background: #d90034;
    color: #fff;
}


/* OMT */

.omt-box {
    border-top: 5px solid #ffde00;
    background: #f8f9fa;
}

.omt-label {
    font-size: 13px;
    color: #888;
}

.omt-number {
    font-weight: 700;
    letter-spacing: 2px;
}


.omt-btn {
    background: #ffde00;
    color: #fff;
}

.omt-btn:hover {
    background: #897700;
    color: #fff;
}

/* TAPTAP */

.taptap-box {
        border-top: 5px solid #02681f;

    /*border: 2px solid #02681f;*/
}

.taptap-btn {
    background: #02681f;
    color: #fff;
}

.taptap-btn:hover {
    background: #014d17;
    color: #fff;
}


/* =========================
   SUPPORTERS CARD
========================= */

.donation-card {
    border-radius: 14px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.donation-card-header {
    padding: 14px 16px;
    background: #1f3d2b;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
}

.donation-card-header .count {
    font-size: 13px;
    opacity: 0.8;
}




/* =========================
   SUPPORTERS ITEMS
========================= */

.top-donor {
    border: 2px solid #1f7a4c;
    background: #f3fbf6;
}

.badge-new {
    background: #ff003e;
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 6px;
    margin-left: 6px;
}

.supporter-hidden {
    color: #999;
    font-style: italic;
    font-size: 13px;
}
/* =========================
   SUPPORTERS LIST
========================= */

.supporters-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

/* EMPTY STATE */

.supporters-empty {
    text-align: center;
    padding: 20px;
    color: #999;
}

/* =========================
   SUPPORTER CARD
========================= */

.supporter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all .2s ease;
}

.supporter-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* LEFT SIDE */

.supporter-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* AVATAR */

.supporter-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1f3d2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

/* TEXT */

.supporter-name {
    font-weight: 600;
    font-size: 14px;
    color: #222;
}

.supporter-time {
    font-size: 12px;
    color: #888;
}

/* RIGHT SIDE (AMOUNT) */

.supporter-amount {
    font-weight: 700;
    font-size: 15px;
    color: #1f7a4c;
}

/* =========================
   ANIMATION
========================= */

.new-donation {
    animation: pop .4s ease;
}

@keyframes pop {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



.relief-page h4 {
    color: white;
}

.relief-page .donation-box h4,
.relief-page .modal h4 {
    color: #212529;
}



html {
    scroll-behavior: smooth;
}

#donate {
    scroll-margin-top: 120px;
}

.relief-hero {

    position: relative;

    height: 70vh;

    background: url('/img/hero/hero-relief.jpg') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

}

/* DARK OVERLAY */

.hero-overlay {

    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0, 0, 0, 0.55);

}

/* CONTENT */

.hero-content {

    position: relative;
    z-index: 2;

    max-width: 700px;

}

.hero-content h1 {

    font-weight: 700;
    font-size: 42px;
    margin-bottom: 15px;

}

.hero-content p {

    font-size: 18px;
    margin-bottom: 25px;

}

/* DONATE BUTTON */

.hero-donate-btn {

    background: #FF003E;

    color: #fff;

    padding: 14px 34px;

    font-weight: 600;

    border-radius: 10px;

    transition: 0.25s;

}

.hero-donate-btn:hover {

    background: #d90034;

    transform: translateY(-2px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);

}

/* GENERAL BOX */
[dir="rtl"] ul {
    padding-right: 1.2rem;
    padding-left: 0;
}

[dir="rtl"] li {
    text-align: right;
}

.progress {
    background: #e9ecef;

    height: 18px;

    background: #eee;

    border-radius: 10px;

    overflow: hidden;

}

#donationProgressBar {
    background: #FF003E;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        inset 0 -2px 6px rgba(0, 0, 0, 0.25);
}

.donation-progress {

    max-width: 700px;
    margin: auto;

}

.progress-info {

    display: flex;
    justify-content: space-between;

    font-weight: 600;

    margin-bottom: 8px;

}



.progress-bar {
    background: linear-gradient(90deg,
            #FF003E 0%,
            #ff2b5c 50%,
            #FF003E 100%);

    background-size: 200% 100%;

    transition: width .8s ease;

    font-size: 12px;
    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        inset 0 -2px 6px rgba(0, 0, 0, 0.25),
        0 0 10px rgba(255, 0, 62, 0.4);

    animation: progressShine 3s linear infinite;
}

@keyframes progressShine {

    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }

}

.progress-bar span {
    mix-blend-mode: overlay;
}

.quick-amounts {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.amount-btn {

    border: 2px solid #FF003E;
    background: white;
    color: #FF003E;

    padding: 8px 16px;

    border-radius: 8px;

    font-weight: 600;

    cursor: pointer;

    transition: .2s;

}

.amount-btn:hover {
    background: #FF003E;
    color: white;
}

.amount-btn.active {
    background: #FF003E;
    color: white;
}

/*.donation-box {*/
/*    background: #fff;*/
/*    border-radius: 14px;*/
/*    padding: 30px;*/
/*    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);*/
/*    text-align: center;*/
/*    height: 100%;*/
/*    transition: 0.25s;*/
/*}*/

/*.donation-box:hover {*/
/*    transform: translateY(-4px);*/
/*    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);*/
/*}*/



/* HEADER */

.donation-header {
    margin-bottom: 15px;
}



.nav-pills .nav-item a {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.nav-pills .nav-item a.active {
    background: #FF003E;
    color: white;
    border-color: #FF003E;
}

/* ========================
SUPPORTERS TABLE FIX
======================== */

.supporters-table-wrapper {
    max-height: 420px;
    overflow-y: auto;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.supporters-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.supporters-table thead th {
    position: sticky;
    top: 0;
    background: #1f4d2b;
    color: #fff;
    padding: 12px 16px;
    font-weight: 600;
    border: none;
    z-index: 2;
}

.supporters-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.supporters-table tbody tr:nth-child(odd) {
    background: #fafafa;
}

.supporters-table tbody tr:hover {
    background: #f1f1f1;
}


.modal-body h4.receiver-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: #212529;
}

#copyPhoneBtn {
    font-weight: 600;
    letter-spacing: 1px;
}