.roundup-donation-box {
	border: 1px solid #e0e0e0;
	padding: 20px;
	background-color: #f9f9f9;
	border-radius: 8px;
	max-width: 600px;
	margin: 20px auto;
	text-align: left;
}
.custom-fee-popup-trigger {
    visibility: hidden;
    position: absolute;
}
.roundup-donation-box p {
	color: #555;
	margin-bottom: 15px;
	font-size: 1em;
}
.roundup-donation-box{
	display: flex;
	align-items: center;
}
.dmodal {
    display: none;
	align-items: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.donation-modal-content, .confirmation-modal-content {
    background-color: #fefefe;
    margin: 5vh auto;
    padding: 20px;
    border: 1px solid #888;
    width: 1600px;
    overflow: auto;
    max-height: 90vh;
}
.close,
.close-confirmation {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.confirm-button,
.cancel-button,
.done-button {
	padding: 10px 20px;
	cursor: pointer;
}
.zest-popop {
    position: relative;
    z-index: 99;
}
/* Modal Background */
.confirmation-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/* Modal Content */
.confirmation-modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 700px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-in-out;
    position: relative;
}
/* Title and Text */
.confirmation-modal h2 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #333;
}
.confirmation-modal p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}
/* Buttons */
.confirm-button, .cancel-button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    margin: 5px;
    transition: background-color 0.3s;
}
/* Confirm Button Style */
.confirm-button {
    background-color: #d9534f;
    color: white;
}
.confirm-button:hover {
    background-color: #c9302c;
}
/* Cancel Button Style */
.cancel-button {
    background-color: #5bc0de;
    color: white;
}
.cancel-button:hover {
    background-color: #31b0d5;
}
.close-confirmation {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000000;
}
/* Fade In Animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
.campaign-image img {
    width: 100%; 
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
.roundup-donation-box input[type="checkbox"] {
    margin-right: 5px;
    width: 16px;
    height: 16px;
    accent-color: currentColor; 
}
.roundup-donation-box span.roundup_popup {
    position: relative;
    top: -2px;
}
table th span.penny_popup,
.roundup-donation-box span.roundup_popup {
    cursor: pointer;
    color: var(--theme-button-background-initial-color, #0000EE);
}
.donation-amount {
    display: flex;
    align-items: baseline;
    margin-top: 15px;
    gap: 10px;
}
.donation-amount label {
    margin: 0px;
}
.da-qty {
    border-radius: 4px;
    box-sizing: content-box;
    display: flex;
    margin: 0 0 .25em;
    position: relative;
    width: 130px;
}
.da-qty button {
    background: none transparent;
    border: 0;
    box-shadow: none;
    color: currentColor;
    cursor: pointer;
    font-size: .9em;
    font-style: normal;
    font-weight: 400;
    margin: 0;
    min-width: 30px;
    opacity: .6;
    padding: 0;
    text-align: center;
    text-decoration: none;
}
.donation-amount .da-qty input {
    -moz-appearance: textfield;
    appearance: textfield;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: currentColor;
    flex: 1 1 auto;
    font-size: 1em;
    font-weight: 600;
    line-height: 1;
    margin: 0;
    min-width: 40px;
    padding: .4em 0;
    text-align: center;
    vertical-align: middle;
}
.da-qty:after {
    border: 1px solid hsla(0,0%,7%,.11);
    border-radius: 4px;
    bottom: 0;
    content: "";
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 0;
}
.donation-modal-content {
    border-radius: 12px;
    max-width: 1000px;
    position: relative;
}
.donation-modal-content h2 {
    font-size: 24px;
}
.donation-modal-content .dp-campaign-image img {
    max-width: 100%;
    border-radius: 8px;
    margin: 15px 0;
}
.donation-modal-content .wp-block-image img {
    max-width: 100%;
    vertical-align: bottom;
    width: 100%;
    height: auto;
}
.donation-modal-content span.close {
    /* position: fixed;
    top: 0; */
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}
.donation-modal-content .dp-gallery-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin: 0 auto;
  }
  
  .donation-modal-content .wp-block-image {
    margin: 0;
    padding: 0;
    display: block;
  }
  
  .donation-modal-content .wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .donation-modal-content .wp-block-image img:hover {
    transform: scale(1.05);
  }
  .dmc-content p:empty {
    display: none;
}
.donation-modal-content button.done-button {
    margin-top: 20px;
}
.cart_totals {
    z-index: 1!important;
}