/* =========================================================
   DONATE / SUPPORT SECTION
   ========================================================= */

.donate-support-box {
    position: relative;
    overflow: hidden;
    padding: 36px 42px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background:
        radial-gradient(circle at 90% 20%, rgba(245, 130, 32, 0.16), transparent 30%),
        linear-gradient(135deg, #102d55 0%, #17487d 100%);
    box-shadow: 0 18px 50px rgba(16, 45, 85, 0.16);
}

.donate-support-box::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -170px;
    right: -110px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.donate-support-box::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    left: -100px;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(245, 130, 32, 0.08);
}

.donate-support-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
}

.donate-support-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: linear-gradient(135deg, #f58220, #e96d08);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 10px 28px rgba(245, 130, 32, 0.28);
}

.donate-support-text {
    flex: 1;
}

.donate-support-kicker {
    display: block;
    margin-bottom: 6px;
    color: #ffad62;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

.donate-support-text h2 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.25;
}

.donate-support-text p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.7;
}

.donate-support-btn {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 145px;
    padding: 13px 24px;
    border: 0;
    border-radius: 50px;
    background: #f58220;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(245, 130, 32, 0.25);
}

.donate-support-btn:hover {
    background: #fff;
    color: #17487d;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================================
   DONATE MODAL
   ========================================================= */

.donate-modal {
    overflow: hidden !important;
}

.donate-modal .modal-dialog {
    width: 100%;
    max-width: 460px;
    margin: 15px auto;
}

.donate-modal .modal-content {
    overflow: hidden;
    max-height: calc(100vh - 30px);
    border: 0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}


/* =========================================================
   MODAL HEADER
   ========================================================= */

.donate-modal-header {
    position: relative;
    padding: 22px 25px 18px;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 50% -40%, rgba(245, 130, 32, 0.28), transparent 42%),
        linear-gradient(135deg, #102d55 0%, #17487d 100%);
}

.donate-modal-header::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -90px;
    bottom: -120px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.donate-modal-icon {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: linear-gradient(135deg, #f58220, #e86e0b);
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 24px rgba(245, 130, 32, 0.32);
}

.donate-modal-header span {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 8px;
    color: #ffb46f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.donate-modal-header h3 {
    position: relative;
    z-index: 2;
    margin: 4px 0 0;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}


/* Close */

.donate-close-btn {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.donate-close-btn:hover {
    background: #f58220;
    color: #fff;
    transform: rotate(90deg);
}


/* =========================================================
   MODAL BODY
   ========================================================= */

.donate-modal-body {
    padding: 17px 25px 20px;
    text-align: center;
}

.donate-greeting {
    margin: 0 0 5px;
    color: #17487d;
    font-size: 16px;
    font-weight: 700;
}

.donate-description {
    max-width: 390px;
    margin: 0 auto 10px;
    color: #707070;
    font-size: 11.5px;
    line-height: 1.55;
}


/* =========================================================
   QR CODE
   ========================================================= */

.donate-qr-wrapper {
    position: relative;
    width: 172px;
    height: 172px;
    margin: 9px auto;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8edf2;
    border-radius: 15px;
    background: #fff;
    box-shadow:
        0 8px 25px rgba(16, 45, 85, 0.08),
        0 0 0 5px #f8fafc;
}

.donate-qr-wrapper::before {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid rgba(245, 130, 32, 0.16);
    border-radius: 15px;
    pointer-events: none;
}

.donate-qr {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 7px;
}

.donate-modal-body h4 {
    margin: 10px 0 3px;
    color: #17487d;
    font-size: 15px;
    font-weight: 700;
}

.donate-scan-text {
    max-width: 350px;
    margin: 0 auto;
    color: #858585;
    font-size: 10.5px;
    line-height: 1.45;
}


/* =========================================================
   CONTRIBUTION INFORMATION
   ========================================================= */

.donate-contribution-note {
    margin-top: 12px;
    padding: 13px;
    border: 1px solid #f1e4d7;
    border-radius: 12px;
    background:
        linear-gradient(135deg, #fffaf5 0%, #fff 100%);
    text-align: left;
}

.donate-note-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: #17487d;
    font-size: 12.5px;
    font-weight: 700;
}

.donate-note-title i {
    color: #f58220;
    font-size: 15px;
}

.donate-contribution-note p {
    margin: 0 0 6px;
    color: #666;
    font-size: 10.5px;
    line-height: 1.5;
}

.donate-contribution-note p:last-of-type {
    margin-bottom: 9px;
}

.donate-contribution-note strong {
    color: #17487d;
    font-weight: 700;
}


/* =========================================================
   WHATSAPP / EMAIL
   ========================================================= */

.donate-contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.donate-contact-box a {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 9px;
    border: 1px solid #edf0f3;
    border-radius: 9px;
    background: #fff;
    color: #17487d;
    text-decoration: none;
    transition: all 0.25s ease;
}

.donate-contact-box a:hover {
    border-color: #f58220;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 45, 85, 0.07);
}

.donate-contact-box a > i {
    width: 29px;
    height: 29px;
    min-width: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f58220;
    color: #fff;
    font-size: 13px;
}

.donate-contact-box a:first-child > i {
    background: #25d366;
}

.donate-contact-box small {
    display: block;
    margin-bottom: 1px;
    color: #969696;
    font-size: 8.5px;
    line-height: 1.2;
}

.donate-contact-box strong {
    display: block;
    color: #17487d;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.2;
}


/* =========================================================
   CONTRIBUTOR REGISTRATION
   ========================================================= */

.donate-registration-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f2f7fc;
    color: #626262;
    font-size: 9.5px;
    line-height: 1.45;
}

.donate-registration-note > i {
    margin-top: 2px;
    color: #17487d;
    font-size: 13px;
}

.donate-registration-note strong {
    color: #f58220;
}


/* =========================================================
   THANK YOU
   ========================================================= */

.donate-thanks {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff7ef;
    color: #666;
    text-align: left;
    font-size: 9.5px;
    line-height: 1.45;
}

.donate-thanks i {
    color: #f58220;
    font-size: 15px;
}

.donate-final-message {
    margin: 8px 0 0;
    color: #17487d;
    font-size: 10.5px;
    line-height: 1.4;
}

.donate-final-message strong {
    color: #f58220;
}


/* =========================================================
   PREVENT PAGE / MODAL SCROLL
   ========================================================= */

body.modal-open {
    overflow: hidden !important;
}

.donate-modal .modal-dialog {
    overflow: hidden !important;
}

.donate-modal .modal-content {
    overflow: hidden !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .donate-support-box {
        padding: 30px;
    }

    .donate-support-content {
        flex-wrap: wrap;
    }

    .donate-support-text {
        flex: 1 1 calc(100% - 100px);
    }

    .donate-support-btn {
        margin-left: 94px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575px) {

    .donate-support-box {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .donate-support-content {
        display: block;
        text-align: center;
    }

    .donate-support-icon {
        margin: 0 auto 17px;
    }

    .donate-support-kicker {
        font-size: 11px;
    }

    .donate-support-text h2 {
        font-size: 23px;
        line-height: 1.35;
    }

    .donate-support-text p {
        font-size: 12px;
        line-height: 1.6;
    }

    .donate-support-btn {
        margin: 20px auto 0;
        padding: 12px 23px;
    }


    /* Modal */

    .donate-modal .modal-dialog {
        max-width: calc(100% - 22px);
        margin: 11px auto;
    }

    .donate-modal .modal-content {
        max-height: calc(100vh - 22px);
        border-radius: 18px;
    }

    .donate-modal-header {
        padding: 17px 20px 13px;
    }

    .donate-modal-icon {
        width: 45px;
        height: 45px;
        font-size: 19px;
    }

    .donate-modal-header span {
        font-size: 10px;
    }

    .donate-modal-header h3 {
        font-size: 18px;
    }

    .donate-modal-body {
        padding: 13px 16px 16px;
    }

    .donate-greeting {
        font-size: 15px;
    }

    .donate-description {
        font-size: 10.5px;
    }

    .donate-qr-wrapper {
        width: 150px;
        height: 150px;
        margin: 8px auto;
    }

    .donate-modal-body h4 {
        font-size: 14px;
    }

    .donate-scan-text {
        font-size: 10px;
    }

    .donate-contribution-note {
        padding: 11px;
    }

    .donate-contact-box {
        grid-template-columns: 1fr 1fr;
    }

    .donate-contact-box a {
        padding: 7px;
    }

    .donate-contact-box strong {
        font-size: 9px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {

    .donate-modal-body {
        padding-left: 12px;
        padding-right: 12px;
    }

    .donate-qr-wrapper {
        width: 135px;
        height: 135px;
    }

    .donate-contribution-note {
        padding: 9px;
    }

    .donate-contact-box {
        gap: 5px;
    }

    .donate-contact-box a {
        padding: 6px;
        gap: 5px;
    }

    .donate-contact-box a > i {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 11px;
    }

    .donate-contact-box small {
        font-size: 7.5px;
    }

    .donate-contact-box strong {
        font-size: 8px;
    }
}