body.adefagua-body {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    background: #ffffff;
    color: #2f3a4a;
}

.adefagua-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 16px;
}

.adefagua-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.adefagua-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e91e63;
    letter-spacing: 1px;
}

.adefagua-footer {
    background: #f8f8f8;
    padding: 16px 0;
}

.footer-note {
    text-align: center;
    color: #7a7a7a;
    font-size: 0.9rem;
}

.step-bar {
    display: flex;
    border-radius: 999px;
    background: #e6e6e6;
    overflow: hidden;
    margin: 24px 0;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-weight: 600;
    color: #6b6b6b;
    font-size: 0.95rem;
}

.step-item.active {
    background: #e91e63;
    color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #4aa0d8;
    margin: 20px 0 30px;
    padding-bottom: 5px;
    border-bottom: 3px solid #e91e63;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}

/* Paytone One Section Titles */
.section-title.paytone-style {
    font-family: 'Paytone One', 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #e91e63;
    border-bottom: none;
    letter-spacing: 1px;
}

.section-title.paytone-style:hover {
    transition: all 0.3s ease;
}

.donation-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 32px;
}

.donation-card {
    border-radius: 40px;
    color: #ffffff;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    position: relative;
    min-height: 340px;
    width: 270px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

/* Responsive: Allow wrapping on small screens to prevent overlapping */
@media (max-width: 1200px) {
    .donation-card {
        flex-shrink: 1;
        min-width: 270px;
    }
}

/* Hover effect on donate button */
.donation-card .donate-btn {
    transition: all 0.3s ease;
    transform: scale(1);
}

.donation-card:hover .donate-btn {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.donation-card .donate-btn:hover {

    color: #333 !important;
}

.donation-card:nth-child(1) {
    background: #E8452F;
}

.donation-card:nth-child(2) {
    background: #E72567;
}

.donation-card:nth-child(3) {
    background: #4EA7DD;
}

.donation-card:nth-child(4) {
    background: #422F87;
}

.donation-card.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}


/* Full width green bar with white tick for active donation card */
.donation-card.active {
    padding-bottom: 50px;
}

.donation-card.active::after {
    content: url('../images/cardactivetick.png');
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35px;
    background: #85bd3a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    padding-top: 3px;
}

.donation-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 10px;
}

.donation-title {
    font-size: 20px;
    font-weight: 600;
}

.donation-amount {
    font-size: 0.95rem;
}

.donate-btn {
    margin-top: 14px;
    margin-bottom: 14px;
    background: #FAC607 !important;
    border: none;
    border-radius: 50px !important;
    color: #000 !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
}

.donation-other-input {
    display: none;
    margin-top: 10px;
}

.donation-card.donation-other.active .donation-other-input {
    display: block;
}

.card-details {
    background-color: #4EA7DD;
    background-image: url('../images/onda3.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1000px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    margin-top: 10px;
    border-radius: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    max-width: 704px;
}

.client-details-section {
    background-color: #E72567;
    background-image: url('../images/onda2.png');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 780px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    margin-top: 10px;
    border-radius: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    max-width: 704px;
}

.card-details .form-label {
    color: #ffffff;
}


.card-details .form-control {
    border-radius: 8px;
}

.captcha-section,
.terms-section {
    margin-top: 24px;
}

.terms-section {
    font-size: 0.95rem;
    color: #6b6b6b;
}

.termsConditionAlert,
.captchaAlert {
    color: #d9534f;
    font-size: 0.85rem;
    margin-top: 6px;
}

.action-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.continue-btn {
    min-width: 180px;
    border-radius: 8px;
    font-weight: 700;
}

.summary-block,
.receipt-card {
    padding: 20px 140px 20px 180px;
    margin-top: 16px;
    border-bottom: 3px solid #e91e63;
}


@media(max-width:767px) {

    .summary-block,
    .receipt-card {
        padding: 20px;
        margin-top: 16px;
        border-bottom: 3px solid #e91e63;
    }
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.95rem;

}

.summary-label {
    font-weight: 700;
    color: #3b4757;
    width: 55%;
}

.summary-value {

    width: 45%;
}

.cvv-section {
    margin-top: 20px;
    max-width: 200px;
}

.cvv-section-container {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.cvv-section {
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 280px;
}

.cvv-section .form-label {
    display: block;
    font-weight: 700;
    color: #3b4757;
    margin-bottom: 10px;
    text-align: center;
}

.cvv-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.cvv-input-wrapper.no-icon {
    justify-content: center;
}

.cvv-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.cvv-input-wrapper .form-control {
    width: 100%;
    letter-spacing: 3px;
    padding: 10px 10px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cvv-input-wrapper .form-control:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
    outline: none;
}

.cvv-section .text-danger {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .cvv-section {
        max-width: 100%;
        padding: 16px 20px;
    }

    .cvv-icon {
        width: 24px;
        height: 24px;
    }
}

.receipt-header-bar {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    color: #ffffff;
    text-align: center;
}

.receipt-header-bar.success {
    background: #7ac943;
}

.receipt-header-bar.failure {
    background: #d9534f;
}

.receipt-status {
    font-size: 1.1rem;
    font-weight: 700;
}

.receipt-subtitle {
    margin-top: 6px;
    font-size: 0.95rem;
}

.receipt-message {
    text-align: center;
    margin-top: 14px;
    font-weight: 600;
    color: #4aa0d8;
}

@media (max-width: 768px) {
    .summary-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-label,
    .summary-value {
        width: 100%;
        text-align: left;
    }

    .action-row {
        flex-direction: column;
    }
}


.form-label {
    margin-bottom: 0px !important;
}

.pci-banner {
    background-color: #FBFFF5;
    border: 1px solid #D0E0BB;
    border-left: none !important;
    border-radius: 8px;
    padding: 0px 24px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

.pci-banner .checkmark-icon {
    width: 48px;
    height: 48px;
    background-color: #4caf50;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 24px;
    font-weight: bold;
}

.pci-banner .pci-text {
    flex-grow: 1;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #6D9433;
    padding-left: 90px;
}

.pci-logo {
    width: 80px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}


@media (max-width: 768px) {
    .pci-banner {
        flex-direction: column;
        text-align: center;
        border: 1px solid #4caf50 !important;
        padding-left: 0px;
    }

    .shield-image {
        left: 42% !important;
    }

    .pci-banner .pci-text {
        margin-bottom: 16px;
        margin-top: 80px;
        text-align: center;
        padding-left: 20px;
    }

    .shield-img {
        width: 50px !important;
    }

    .captcha {
        overflow-x: scroll
    }
}

.input-validation-error {
    border: 2px solid red !important;
    background-color: #f9b9b9 !important;
}

.jp-validation-error {
    border: 2px solid red !important;
    background-color: #f9b9b9 !important;
}

.btn-yellow {
    background-color: #FAC607 !important;
    color: black;
    font-weight: 500 !important;
    transition: all 0.25s ease-in-out;
    border-radius: 3px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.btn-yellow:hover {
    background-color: #e5b700;
    /* slightly darker */
    color: black;
}


.question-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #dc3545;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
    position: relative;
}

.question-circle .tooltip-box {
    visibility: hidden;
    width: 300px;
    background-color: #fff;
    color: black;
    text-align: left;
    border-radius: 8px;
    padding: 15px;
    position: absolute;
    z-index: 100;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.question-circle .tooltip-box::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.question-circle:hover .tooltip-box {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .question-circle .tooltip-box {
        width: calc(100vw - 40px);
        max-width: 280px;
        position: absolute;
        bottom: 150%;

    }
}

@media (max-width: 480px) {
    .question-circle .tooltip-box {
        max-width: 240px;
        font-size: 13px;
        padding: 12px;
    }
}