/* ==========================================
   GENERAL
========================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f7f7f7;
    color: #2f2f4b;
}


/* ==========================================
   MAIN SECTION
========================================== */




/* ==========================================
   STEP 1 CARD
========================================== */

.donation-card,
.payment-card {
    max-width: 780px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}


/* ==========================================
   DONATION CARD
========================================== */

.donation-card {
    padding: 45px;
}


/* ==========================================
   HEADINGS
========================================== */

.small-title {
    color: #0073e0;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.donation-heading h1 {
    margin: 0;
    color: #2f2f4b;
    font-size: 32px;
    font-weight: 600;
}

.payment-heading h2 {
    margin: 0;
    color: #2f2f4b;
    font-size: 28px;
    font-weight: 600;
}

.heading-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 18px 0 35px;
}

.heading-line span {
    height: 3px;
    display: block;
    background: #0073e0;
    border-radius: 10px;
}

.heading-line span:first-child {
    width: 35px;
}

.heading-line span:last-child {
    width: 8px;
}

.left-line {
    justify-content: flex-start;
    margin-bottom: 30px;
}


/* ==========================================
   DONATION BOX
========================================== */

.donation-box {
    background: #fafafa;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    padding: 25px;
}

.form-label {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 7px;
}

.amount-group .input-group-text {
    background: #ffffff;
    border-color: #d0d4d8;
    color: #2f2f4b;
    font-size: 18px;
    font-weight: 600;
}

.form-control,
.form-select {
    min-height: 52px;
    border-color: #d0d4d8;
    border-radius: 6px;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: #0073e0;
    box-shadow: 0 0 0 0.2rem rgba(0, 115, 224, 0.12);
}


/* ==========================================
   BUTTON
========================================== */

.donate-button-wrapper {
    margin-top: 22px;
}

.donate-btn {
    min-height: 54px;
    border: 0;
    border-radius: 7px;
    background: #0073e0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    transition: 0.3s ease;
}

.donate-btn:hover:not(:disabled) {
    background: #005db8;
    color: #ffffff;
}

.donate-btn:disabled {
    background: #d0d4d8;
    color: #ffffff;
    opacity: 1;
}

.donate-btn i {
    margin-right: 8px;
}


/* ==========================================
   PAYMENT CARD
========================================== */

.payment-card {
    overflow: hidden;
}

.payment-heading {
    padding: 40px 40px 0;
}


/* ==========================================
   PAYMENT SECTION
========================================== */

.payment-section {
    padding: 30px 40px 40px;
    border-bottom: 1px solid #eeeeee;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.section-title h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 600;
    color: #2f2f4b;
}

.section-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef7ff;
    color: #0073e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.optional-text {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-left: 5px;
}


/* ==========================================
   CHECKBOXES
========================================== */

.custom-check {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.custom-check .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.custom-check .form-check-input:checked {
    background-color: #0073e0;
    border-color: #0073e0;
}

.custom-check .form-check-label {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    cursor: pointer;
}


/* ==========================================
   PAYMENT METHOD
========================================== */

.payment-method-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 22px;
    background: #ffffff;
}

.payment-method-title {
    color: #2f2f4b;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.payment-method-title i {
    color: #0073e0;
    margin-right: 7px;
}

.payment-description {
    color: #777;
    font-size: 13px;
    margin-bottom: 20px;
}

.input-group-text {
    background: #f8f9fa;
    border-color: #d0d4d8;
    color: #555;
}


/* ==========================================
   COVER FEES
========================================== */

.cover-fees {
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-button {
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    color: #777;
    padding: 0;
}


/* ==========================================
   SUMMARY
========================================== */

.donation-summary {
    padding: 30px 40px 40px;
    background: #f7f7f7;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.summary-row span {
    color: #444;
    font-size: 15px;
}

.summary-row strong {
    color: #2f2f4b;
    font-size: 16px;
}

.summary-divider {
    height: 1px;
    background: #dedede;
    margin: 18px 0;
}

.monthly-check {
    margin-bottom: 25px;
}

.total-row {
    margin-bottom: 20px;
}

.total-row span,
.total-row strong {
    font-size: 17px;
    font-weight: 600;
}


/* ==========================================
   BACK BUTTON
========================================== */

.back-btn {
    margin-top: 12px;
    min-height: 48px;
    background: #ffffff;
    border: 1px solid #d0d4d8;
    color: #444;
    border-radius: 7px;
}

.back-btn:hover {
    background: #eeeeee;
    color: #222;
}


/* ==========================================
   TAX INFORMATION
========================================== */

.tax-information {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 40px 30px;
    background: #ffffff;
}

.tax-information i {
    color: #777;
    margin-top: 3px;
}

.tax-information p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}


/* ==========================================
   MOBILE
   Bootstrap grid handles layout.
========================================== */

@media (max-width: 767.98px) {

    .donation-section {
        padding: 25px 0;
    }

    .donation-card {
        padding: 30px 20px;
    }

    .payment-heading {
        padding: 30px 20px 0;
    }

    .payment-section {
        padding: 25px 20px 30px;
    }

    .donation-summary {
        padding: 25px 20px 30px;
    }

    .tax-information {
        padding: 20px;
    }

    .donation-heading h1 {
        font-size: 27px;
    }

    .payment-heading h2 {
        font-size: 25px;
    }

}