#df-donation-popup {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}
#df-donation-popup #popup-content {
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
}
#df-donation-popup .popup-screen {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

#df-donation-popup .popup-screen.dir-next {
    transform: translateX(100%);
}
#df-donation-popup .popup-screen.dir-next.is-active {
    transform: translateX(0);
    opacity: 1;
}
#df-donation-popup .popup-screen.active {
    opacity: 1;
    transform: translateX(0);
}

#df-donation-popup .popup-screen.dir-back {
    transform: translateX(-100%);
}
#df-donation-popup .popup-screen.dir-back.is-active {
    transform: translateX(0);
    opacity: 1;
}
#df-donation-popup .wrapper {
    position: relative;
    padding: 25px 10px; 
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    /*overflow-y: auto;*/
}
#df-donation-popup #left-side {
    height: 100%;
    min-width: 514px;
    width: 100%;
    max-width: 520px;
}
#df-donation-popup .d-desktop {
    padding: 0 30px;
    display: block;
}
#df-donation-popup .d-mobile {
    display: none!important;
}
#df-donation-popup .popup-content-inner {
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#df-donation-popup .donation-form-step {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    width: 340px;
	padding: 0 20px;
    overflow-y: auto;
}
#df-donation-popup .donation-form-step.wide {
    width: 898px;
}

#df-donation-popup * {
    font-family: "Plus Jakarta Sans";
}

#df-donation-popup h3 {
    color: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: 128.8%;
}

#df-donation-popup .mb-30 {
    margin-bottom: 30px;
}
#df-donation-popup .mb-20 {
    margin-bottom: 20px;
}

#df-donation-popup  .font-16 {
    font-size: 16px;
}

#df-donation-popup .font-14 {
    font-size: 14px;
    /*font-weight: 700;*/
    line-height: 128.8%; 
}

#df-donation-popup .d-flex {
    display: flex;
}
#df-donation-popup .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px; 
    margin: 10px 0;
}

#df-donation-popup .space-between {
    justify-content: space-between;
}

#df-donation-popup .flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 5px;;
}
#df-donation-popup .flex-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#df-donation-popup .donation-popup-content {
    display: flex;
    gap: 20px;
    position: relative;
    margin: 100px auto;
    min-height: 60vh;
    height: 620px;
    overflow: hidden;
}

#df-donation-popup .close-popup-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    background: none!important;
    border: none;
    color: #8D8D8D!important;
    cursor: pointer;
    z-index: 99;
}

#df-donation-popup .align-center {
    margin-right: auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
#df-donation-popup .svg-wrap {
    transform: translateX(10px);
}
#df-donation-popup .donation-form-step .back,
#df-donation-popup .donation-form-step .skip {
    font-weight: 600;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    gap: 8px;
}
#df-donation-popup .donation-form-step .icon-wrap {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    cursor: pointer;
}
#df-donation-popup .donation-form-step .back .icon-wrap svg,
#df-donation-popup .donation-form-step .skip .icon-wrap svg {
    height: 1rem;
}
#df-donation-popup .donation-form-step .text.summary {
    font-size: 20px;
    align-items: normal;
}
#df-donation-popup h2, h3, h4 {
    color: #000;
    font-weight: 700;
    line-height: 128.8%; 
    margin-bottom: 10px;
    margin-top: 0;
}
#df-donation-popup h2 {
    font-size: 20px;
}
#df-donation-popup h3 {
    font-size: 15px;
}
#df-donation-popup input, textarea {
    color: #000;
    outline: none;
}
#df-donation-popup input:not[type="checkbox"]:hover, textarea:hover {
    transition:box-shadow .2s, transform .2s!important;
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
}
#df-donation-popup input:not[type="checkbox"]:focus, textarea:focus  {
    outline: 1px solid #00000083;
}
#df-donation-popup input::placeholder, 
#df-donation-popup textarea::placeholder {
    color: #8D8D8D;
}
#df-donation-popup input, input::placeholder, 
#df-donation-popup textarea, textarea::placeholder {
    font-size: 12px!important;
    font-weight: 500;
    line-height: 128.8%!important;
    opacity: 1;
}
#df-donation-popup input, textarea, select {
    border-radius: 12px!important;
    border: 1px solid #E8E8E8!important;
    padding: 15px 12px!important;
}
#df-donation-popup .donation-form-step .fields-wrap {
    margin: 15px 0 10px;
}

#df-donation-popup #loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

#df-donation-popup .spinner {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/**** Choose Default Template ****/

#df-donation-popup #left-side .card-content {
    padding: 30px; 
}
#df-donation-popup #left-side .card .main-img {
    border-radius: 10px 10px 0 0;
    height: 350px;
    object-fit: cover;
}
#df-donation-popup #left-side .card .logo {
    max-width: 160px;
    margin-bottom: 20px;
}
#df-donation-popup #left-side .card .title {
    color: #000;
    font-size: 20px;
    font-weight: 800;
    line-height: 175%;
}
#df-donation-popup #left-side .card .body-text {
    
    color: #292C33;
    font-size: 16px;
    font-weight: 400;
    line-height: 175%; 
}
/**** End Default Template ****/

/**** Choose Amount Template ****/
#df-donation-popup .custom-radio {
    width: 100%;
    gap: 10px;
    border-radius: 12px;
    flex-wrap: wrap;
}

#df-donation-popup .custom-radio.field-group-2-options {
    border: 1px solid #E8E8E8;
    padding: 5px;
}

#df-donation-popup .custom-radio.field-group-2-options label {
    line-height: 1;
    color: #8D8D8D;
    text-align: center;
}

#df-donation-popup .custom-radio.field-group-2-options label svg {
    margin-right: 5px;
}

#df-donation-popup .custom-radio.field-group-2-options input:not(:checked) + label svg {
    filter: brightness(0) saturate(100%) invert(11%) sepia(3%) saturate(3319%) hue-rotate(184deg) brightness(95%) contrast(84%);
    opacity: 0.4;
}

#df-donation-popup .donation-amount-section {
    margin-top: 10px;
}

#df-donation-popup .custom-radio input[type="radio"] {
    opacity: 0;
    position: fixed;
    /*width: 0;*/
}

/*#df-donation-popup .custom-radio input[type="radio"]:checked + label,
#df-donation-popup .custom-radio input[type="radio"]:checked + label span  {
    color: #fff!important;
}*/

#df-donation-popup .custom-radio.field-group-amount .option-field {
    flex-basis: calc(50% - 5px);
    border-radius: 12px;
    border: 1px solid #E8E8E8;
}

#df-donation-popup .custom-radio.field-group-amount label {
    padding: 15px;
    color: #000;
    height: 100%;
}
#df-donation-popup .custom-radio.field-group-amount label.no-desc,
#df-donation-popup .custom-radio.field-group-amount .option-field.other label.no-desc
/*.custom-radio.field-group-amount .option-field .other-amount input.no-desc*/ {
    text-align: center;
}
#df-donation-popup .custom-radio.field-group-amount label:hover,
#df-donation-popup .design-option label:hover {
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
    transition:box-shadow .2s, transform .2s;
}
#df-donation-popup .custom-radio.field-group-amount .option-field .donation-description {
    color: #8D8D8D;
    font-weight: 400;
    font-size: 13px;;
    display: block;
    margin-top: 5px;
    text-wrap: balance;;
}
#df-donation-popup .custom-radio.field-group-amount .option-field.other {
    position: relative;
}
#df-donation-popup .custom-radio.field-group-amount .option-field.other label {
    padding: 15px;;
}
#df-donation-popup .custom-radio.field-group-amount .option-field .other-amount {
    display: none;
    position: absolute;
    bottom: 0;
    border-radius: 8px;
    cursor: pointer;
    cursor: pointer;
    width: 100%;
    height: 100%;
    color: #000;
}
#df-donation-popup .custom-radio.field-group-amount .option-field .other-amount input {
    font-size: 14px!important;
    padding: 20px 15px!important;
    position: relative;
    display: inline-block;
    width: 100%;
    border-radius: 8px!important;
    border: 1px solid #E8E8E8!important;
    cursor: pointer;
    color: #000;
    text-align: center;
}
#df-donation-popup .custom-radio.field-group-amount .option-field.other input + label {
    background-color: transparent!important;
}

#df-donation-popup .custom-radio.field-group-amount .option-field .other-amount input:focus {
    outline: none;
}
#df-donation-popup .custom-radio.field-group-amount .option-field .other-amount input::placeholder {
    color: #000;;
    font-size: 14px!important;
    font-weight: 700!important;
}

#df-donation-popup .other-amount .currency-symbol {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    pointer-events: none;
    z-index: 9;
}

#df-donation-popup .currency-symbol {
    font-family: sans-serif;
    font-weight: 400;
    display: inline-block;
    font-size: 14px;
    margin-right: 2px;
}

#df-donation-popup .custom-radio label {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: block;   
}

#df-donation-popup .custom-radio input:not(:checked) + label:hover {
    background-color: #f5f5f5;
}

#df-donation-popup .next-btn button {
    width: 100%;
    border: none;
    padding: 15px;
    color: #fff;
	border-radius: 12px;
}
#df-donation-popup .next-btn svg {
    margin-left: 10px;
}
#df-donation-popup .next-btn button:hover, 
#df-donation-popup .input-all:hover,
#df-donation-popup .icon-wrap:hover,
#df-donation-popup a:hover   {
    opacity: 0.6;
}
#df-donation-popup .currency-select {
    position: absolute;
    width: 50px;
    opacity: 0;
    cursor: pointer;
}
#df-donation-popup #choose-amount .currency-select option {
    font-size: 10px;
}
#df-donation-popup #choose-amount  .custom-select {
    padding: .5rem 0;
    color: #8D8D8D;  
    font-size: 10px;
    font-weight: 600;
    line-height: 128.8%;
}
#df-donation-popup #choose-amount  .custom-select svg {
    margin-left: 5px;
}
#df-donation-popup #choose-amount .dedication span,
#df-donation-popup #choose-amount .cover_costs label,
#df-donation-popup #choose-amount .cancel {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.8;
    text-align: center;
    text-wrap: balance;
}
#df-donation-popup #choose-amount .dedication span {
    margin-bottom: 20px;
    font-weight: 700;
}
#df-donation-popup #choose-amount .cancel {
    margin-top: 10px;
}
#df-donation-popup .custom-radio .option-field {
    flex-grow: 1;
    padding: 0;
}
#df-donation-popup .image-wrapper {
    justify-content: flex-end;
    margin-bottom: 6px;
    margin-right: 35px;
    margin-top: 0;
	min-height: 40px;
}
#df-donation-popup .image-wrapper img {
    max-width: 115px;
	display: none;
    /*transform: rotate(17deg);*/
}
#df-donation-popup .footer .open-panel,
#df-donation-popup .footer .open-panel:hover {
    color: #8D8D8D;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none!important;
    background-color: transparent!important;
    padding: 0;
    border: none;
    outline: none;;
}
#df-donation-popup .fullscreen-panel {
    position: absolute;
    top: -200%;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 999999; 
    transition: top 0.6s ease;
    padding: 30px 0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
#df-donation-popup .fullscreen-panel.open {
    top: 0;
}
#df-donation-popup .fullscreen-panel .flex-col {
    height: 100%;
    justify-content: space-between;
}
#df-donation-popup .fullscreen-panel .panel-wrapper {
    justify-content: space-between;
    height: 100%;
}
#df-donation-popup .fullscreen-panel .panel-title {
    color: #292C33;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 130%;
    margin: 0;
}
#df-donation-popup .fullscreen-panel .panel-question,
#df-donation-popup .fullscreen-panel .panel-answer
 {
    font-size: 14px;
    line-height: 1.8;
}
#df-donation-popup .fullscreen-panel .panel-question {
    font-weight: 700;
    margin: 20px 0 5px;
}
#df-donation-popup .fullscreen-panel .panel-content {
    overflow-y: auto;
    max-height: 450px;
    padding: 0 30px;
}
#df-donation-popup .fullscreen-panel .panel-cards {
    margin: 25px 0;   
}
#df-donation-popup .fullscreen-panel .panel-card {
    border: 1px solid;   
}
#df-donation-popup .fullscreen-panel .next-btn {
    padding: 0 30px;
}
#df-donation-popup .fullscreen-panel .panel-content .flex-row  {
    border-radius: 10px;
    padding: 20px;
    gap: 15px;
    margin: 10px 0;
    line-height: 1.2;
    font-size: 14px;
}
#df-donation-popup .fullscreen-panel .panel-content .flex-row svg {
    width: 40px;
}
#df-donation-popup .fullscreen-panel .privacy-flex {
    align-items: flex-start;
    gap: 10px!important;
    padding: 15px!important
}
#df-donation-popup .fullscreen-panel .privacy-flex .secure {
    font-size: 13px;
}
#df-donation-popup .fullscreen-panel .privacy-flex svg {
    padding-top: 2px;
    width: 25px!important;
    height: 22px;
}

/**** End Choose Amount Template ****/

/**** Choose Payment Method Template ****/

#df-donation-popup .payment-wrapper {
    padding: 25px 10px 25px 30px;
}
#df-donation-popup .payment-info {
    /*overflow-y: scroll;
    max-height: 426px;
    padding-right: 14px;*/
}
#df-donation-popup #choose-payment-method .amount-lg {
    font-size: 36px;
}
#df-donation-popup #choose-payment-method .amount-lg .currency-symbol {
    font-size: 24px;
    margin-bottom: 2px;
    vertical-align: middle;
}
#df-donation-popup #choose-payment-method .amount-wrap {
    font-weight: 700;
    margin-top: 8px;;
}
#df-donation-popup #choose-payment-method .text {
    color: #292C33;
    text-align: center;
    font-family: "Plus Jakarta Sans";
    opacity: 0.8;
    margin-top: 15px;
}
#df-donation-popup #choose-payment-method .text input {
    font-size: 13px;
}
#df-donation-popup #choose-amount .cover_costs,
#df-donation-popup #choose-payment-method .cover_costs,
#df-donation-popup #choose-payment-method .cover_costs select {
    color: #292C33;
    font-size: 13px;
    font-weight: 400;
}
#df-donation-popup #choose-payment-method .cover_costs select {
    width: 80px;
    padding: 5px 10px!important;
    border-radius: 20px!important;    
    font-weight: 700;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 11px;
}
#df-donation-popup #choose-amount .cover_costs,
#df-donation-popup #choose-payment-method .cover_costs {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#df-donation-popup #choose-payment-method .cover_costs .other-amount {
    position: relative;
}
#df-donation-popup #choose-payment-method .contribution {
    margin-top: 10px;
    gap: 10px;
    justify-content: center;
}
#df-donation-popup #choose-payment-method .contribution .currency-symbol {
    left: 10px;
    font-size: 13px;
    margin-right: 5px;
}
#df-donation-popup #choose-payment-method .cover_costs .other-amount input {
    padding: 5px!important;
    border-radius: 5px!important;
    border: 1px solid #E8E8E8!important;
    color: #292C33;
    font-size: 13px!important;
    width: 150px;
    text-align: center;
}
#df-donation-popup #choose-payment-method .payment-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0;
    border-radius: 4px;
    align-items: center;
    background-color: transparent;
    border: 1px solid;
    height: 46px;
    flex: 1 1 0;
}
#df-donation-popup .amount-wrapper,
#df-donation-popup .payment-wrapper {
    padding: 25px 10px!important;
}
#df-donation-popup #choose-payment-method .payment-btn.paypal:has(+ #wallet-button:not([style*="display: none"])) {
     max-width: calc(50% - 4px);
}
#df-donation-popup #choose-payment-method .payment-btn > div:last-child {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
    justify-content: center;
}
#df-donation-popup #choose-payment-method .next-btn.flex-col,
#df-donation-popup #choose-payment-method .next-btn .d-flex {
    gap: 8px;
}
#df-donation-popup #choose-payment-method .payment-btn img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    flex-shrink: 1;
    min-width: 0;
}
#df-donation-popup #choose-payment-method .payment-btn .btn-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 128.8%; 
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotation {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
/**** End Choose Payment Method Template ****/



/**** Payment Template ****/
#df-donation-popup #secure-payment  select,
#df-donation-popup #donor-details select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 7 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 0.550537L3.25 2.55054L5.75 0.550537' stroke='black' stroke-opacity='0.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
}
/*#secure-payment .next-btn,
#donor-details .next-btn {
    margin-right: 20px;
}*/
#df-donation-popup #secure-payment {
    width: 314px!important;
    overflow-y: auto;
}
#df-donation-popup #secure-payment .secure,
#df-donation-popup #donor-details h2 {
    font-size: 15px;
    font-weight: 700;
    line-height: 128.8%; 
    color: #000;
}
#df-donation-popup #card-wrapper {
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    padding: 14px 15px;
}
#df-donation-popup #card-wrapper:hover {
    transition: box-shadow .2s, transform .2s !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
/*#card-element input::placeholder  {
    color: #999;
    font-size: 12px;
    font-weight: 500;
    line-height: 128.8%;
}*/
#df-donation-popup #card-errors, .error-msg {
    font-size: 12px;
    color: #ef4444;
    line-height: 1;
    margin-top: 4px;
}
#df-donation-popup #secure-payment .fields-wrap .d-flex,
#df-donation-popup #donor-details .fields-wrap .d-flex {
    gap: 10px;
    margin-bottom: 10px;
}
#df-donation-popup #secure-payment .field-group,
#df-donation-popup #donor-details .field-group {
    position: relative;
    margin-top: 15px;
}
#df-donation-popup #secure-payment .field-group.business,
#df-donation-popup #donor-details .field-group.business {
    margin-top: 5px;
}
#df-donation-popup #secure-payment .field-group label,
#df-donation-popup #donor-details .field-group label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;    
}
#df-donation-popup #secure-payment .field-group svg,
#df-donation-popup #donor-details .field-group svg {
    position: absolute;
    left: 10px;
    top: 11px;
    /*top: 50%;
    transform: translateY(-50%);*/
    width: 20px;
    height: 20px;
    pointer-events: none;
}
#df-donation-popup #secure-payment .address_manually .field-row input,
#df-donation-popup #secure-payment .address_manually .field-row select,
#df-donation-popup #donor-details .address_manually .field-row input,
#df-donation-popup #donor-details .address_manually .field-row select {
    padding: 12px 15px!important;
}
#df-donation-popup #secure-payment .field-group input,
#df-donation-popup #secure-payment .field-group select,
#df-donation-popup #donor-details .field-group input,
#df-donation-popup #donor-details .field-group select {
    padding: 12px 15px 12px 35px!important;
    color: #000;
    font-size: 13px!important;
    font-weight: 500;
    line-height: 128.8%!important;
}
#df-donation-popup #secure-payment .field-group input:focus,
#df-donation-popup #secure-payment .field-group select:focus,
#df-donation-popup #donor-details .field-group input:focus,
#df-donation-popup #donor-details .field-group select:focus {
    outline: none;
}
#df-donation-popup .address_manually .field-row {
    gap: 8px;
    margin-bottom: 8px;
}
#df-donation-popup .address_manually.hidden {
    position: absolute!important;
    top: -99999px;
}

#df-donation-popup .address_manually .field-row > div {
    flex:1;
}
#df-donation-popup #secure-payment #autocomplete-results,
#df-donation-popup #donor-details #autocomplete-results {
    list-style: none;
    border-radius: 12px;
    border: 1px solid #E8E8E8;
    max-height: 158px;
    overflow-y: auto;
    position: absolute;
    background-color: white;
    width: 100%;
    z-index: 10;
    padding: 0;
    margin: 2px 0;
}
#df-donation-popup #secure-payment #autocomplete-results:empty,
#df-donation-popup #donor-details #autocomplete-results:empty {
    border: none;;
}
#df-donation-popup #secure-payment #autocomplete-results li,
#df-donation-popup #donor-details #autocomplete-results li {
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
    color: #8D8D8D;
    border-bottom: 1px solid #E8E8E8;
}

#df-donation-popup #secure-payment #autocomplete-results li:hover,
#df-donation-popup #donor-details #autocomplete-results li:hover {
  background-color: #f0f0f0;
}

#df-donation-popup #secure-payment .edit_manually,
#df-donation-popup #donor-details .edit_manually {
    display: flex;
    justify-content: end;
    color: #8D8D8D;
    cursor: pointer;
	margin-top: 10px;
}
#df-donation-popup #secure-payment .font-11,
#df-donation-popup #donor-details .font-11 {
    /*color: rgba(41, 44, 51, 0.40);*/
    font-size: 11px;
    font-weight: 600;
}


/**** End Payment Template ****/

#df-donation-popup #approved {
    height: 100%;
    justify-content: center;
}
#df-donation-popup #approved .flex-col {
    gap: 40px;
}
#df-donation-popup #approved svg {
    margin-right: 15px;
}

/**** Thank You Template ****/
#df-donation-popup #thank-you {
    justify-content: center;
    padding-bottom: 30px;
}
#df-donation-popup #thank-you > .flex-col {
    gap: 40px;
    justify-content: space-between;
    height: 100%;
    margin-top: 100px;
}
#df-donation-popup #thank-you .summary {
    gap: 20px;
}
#df-donation-popup #thank-you .share-btns {
    justify-content: space-between;
    border: 1px solid;
    padding: 20px;
    border-radius: 10px;
    padding: 15px;
}
#df-donation-popup #thank-you .share-btns .btn-text {
    font-weight: 700;
}
#df-donation-popup #thank-you .share-btns a {
    display: flex;
}
#df-donation-popup #updates  {
    padding-top: 60px;
}
#df-donation-popup #make-it-ongoing {
    margin-top: 20px;
}
#df-donation-popup #thank-you .summary, 
#df-donation-popup #make-it-ongoing .summary,
#df-donation-popup #updates .summary,
#df-donation-popup #free-will .summary {
    text-align: center;
    gap: 5px;
    display: flex;
    flex-direction: column;
}
#df-donation-popup #make-it-ongoing .one-time-btn button {
    background-color: transparent;
    border: 1px solid;
}
#df-donation-popup #make-it-ongoing button {
    font-weight: 500;
}
#df-donation-popup #make-it-ongoing svg,
#df-donation-popup #updates svg {
    margin-left: 15px;
}
#df-donation-popup #make-it-ongoing #error-message {
    font-size: 11px;
    color: #333!important;
    color: #8D8D8D!important;
    line-height: 1.5;
    margin-top: 4px!important;
    font-weight: 400!important;
}
/**** End Thank You Template ****/

/**** Dedication Template ****/

#df-donation-popup #dedication-email .hidden {
    display: none;
}
/*#dedication .flex-col input, 
#dedication .flex-col textarea {
   padding: 15px 12px;
}*/
#df-donation-popup .dedication-section {
    gap: 30px;
    justify-content: flex-start;
}
#df-donation-popup #dedication-email input:focus, 
#df-donation-popup #dedication-email textarea:focus {
     outline: 1px solid;
}
#df-donation-popup #dedication-email .honor-tab {
    gap: 30px;
}
#df-donation-popup #dedication-email .custom-select-wrapper {
  position: relative;
  margin-bottom: -3px;;
}
#df-donation-popup #dedication-email .custom-select {
    border-radius: 12px;
    border: 1px solid #E8E8E8;
    cursor: pointer;
    user-select: none;
    position: relative;
    margin-bottom: 10px;
}
#df-donation-popup #dedication-email #in-honor-name,
#df-donation-popup #dedication-email #in-memory {
    height: 45px;
}

#df-donation-popup #dedication-email .custom-select .selected,
#df-donation-popup #dedication-email .custom-select .option {
    display: flex;
    align-items: center;
    padding: 7px 10px;
    gap: 10px;
    font-size: 12px;
    font-weight: 500;
}
#df-donation-popup #dedication-email .custom-select .selected {
    justify-content: space-between;
    height: 40px;
}
#df-donation-popup #dedication-email .custom-select .selected-option {
    display: flex;
    align-items: center;
    gap: 10px;
}
#df-donation-popup #dedication-email .custom-select .selected-option span {
    padding-top: 4px;;
}

#df-donation-popup #dedication-email .custom-select .options {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #E8E8E8;
    border-radius: 12px;
    border-top: none;
    z-index: 10;
    /*max-height: 200px;*/
    overflow-y: auto;
}

#df-donation-popup #dedication-email .custom-select.open .options {
    display: block;
}

#df-donation-popup #dedication-email .custom-select .option:hover {
    background-color: #f0f0f0;
}

#df-donation-popup #dedication-email .dedication-section {
    margin-bottom: 10px;
}
#df-donation-popup #dedication-email .custom-radio label {
    padding: 10px;
}
#df-donation-popup #dedication-email .flex-col {
    gap: 7px;
}
#df-donation-popup #dedication-email {
    flex-direction: row; 
}
#df-donation-popup #dedication-email label {
    font-size: 12px;
    font-weight: 500;
}
#df-donation-popup #dedication-email .flex-row {
    justify-content: space-between;
}
#df-donation-popup #dedication-email .icon-wrap{
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    cursor: pointer;
}
#df-donation-popup #dedication-email .plus .icon-wrap {
    border-radius: 6px;
    border: none;
    margin-left: 10px;
}
#df-donation-popup #dedication-email .plus .icon-wrap svg {
    width: 12px;
}
#df-donation-popup #dedication-email .plus  {
    align-items: center;
    justify-content: space-between;
}
#df-donation-popup #dedication-email .email_address {
    margin: 0;
}
#df-donation-popup #dedication-email .remove-email {
    position: absolute;
    right: 8px;
}
#df-donation-popup #dedication-email .email-fields .email-row {
    display: flex; 
    align-items: center; 
    gap: 5px; 
    margin-top: 8px; 
    position: relative;
}
#df-donation-popup .donation-form-step.wide .wide-right {
    min-width: 550px;
    justify-content: space-between;
}
#df-donation-popup .donation-form-step.wide .wide-left {
    padding-right: 50px;
    padding-left: 1px;
}
#df-donation-popup .donation-form-step.wide .wide-right .border-left {
    border-left: 1px solid #E8E8E8;
    padding-left: 30px;
    justify-content: space-between;
}

#df-donation-popup .design-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 12px;
}

#df-donation-popup .design-option {
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
    position: relative;
}

#df-donation-popup .design-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

#df-donation-popup .design-option label {
    display: block;
    user-select: none;
    cursor: pointer;
}

#df-donation-popup .design-option img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid #ccc;
}

/* Highlight selected option */
#df-donation-popup .design-option input[type="radio"]:checked + label {
    border: 2px solid; /* Pink-ish */
    border-radius: 16px;
    box-sizing: border-box;
}

#df-donation-popup .no-design {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

#df-donation-popup #dedication-email .img-skeleton {
    width: 100%;
    aspect-ratio: 54 / 37;
    border-radius: 4px;
    background: #e8e8e8;
    overflow: hidden;
    position: relative;
}

#df-donation-popup #dedication-email .img-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 60%
    );
    background-size: 200% 100%;
    animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
/**** End Dedication Template ****/


/**** Dedsignation Template ****/
#df-donation-popup .designation-wrap {
    height: 100%;
    justify-content: space-between;
}
#df-donation-popup .designation-wrap h2,
#df-donation-popup .dedication-wrapper h2 {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0;
}
#df-donation-popup .dedication-wrapper h2 {
    margin-top: 0;
    margin-bottom: 15px;
}
#df-donation-popup .designation-wrap  .grid {
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}
#df-donation-popup .designation-wrap input {
    opacity: 0;
    position: absolute;
}
#df-donation-popup .designation-wrap .input-all,
#df-donation-popup .designation-wrap .next-btn {
    flex: 1;
}
#df-donation-popup .designation-wrap .flex-row {
    gap: 20px;
}
#df-donation-popup .designation-wrap .input-all label {
    line-height: 45px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid transparent;
    height: 50px;
    border-radius: 10px;
    padding: 0 30px;
    width: 100%;
    text-align: center;
}
#df-donation-popup .designation-wrap .input-all label svg {
    margin-right: 10px;
}
#df-donation-popup .designation-wrap .card {
    border-radius: 10px;
    border: 1px solid #E8E8E8;
    display:flex;
    justify-content:space-between;
    align-items:stretch;
    padding:10px;
    cursor:pointer;
    transition:box-shadow .2s, transform .2s;
}
#df-donation-popup .designation-wrap .card:hover{
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
}
#df-donation-popup .designation-wrap .card-info{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:4px;
}
#df-donation-popup .designation-wrap .card-icon{
    font-size:24px;
}
#df-donation-popup .designation-wrap .card-icon svg {
    filter: brightness(0) saturate(100%) invert(62%) sepia(1%) saturate(0%) hue-rotate(91deg) brightness(90%) contrast(94%);
}
#df-donation-popup .designation-wrap .card-title{
    font-size: 15px;
    font-weight: 700;
    line-height: 128.8%;
}
#df-donation-popup .designation-wrap .card-sub{
    font-size:13px;
    color:#888;
}

#df-donation-popup .designation-wrap .card-img{
    width:183px;
    border-radius: 10px;
    background: lightgray 0px -11.713px / 100% 264.803% no-repeat;
    overflow:hidden;
    flex-shrink:0;
}
#df-donation-popup .designation-wrap .card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    
}

    
    @media(max-width:700px){
        #df-donation-popup .grid{
            grid-template-columns:1fr;
        }
    }

/**** End Dedsignation Template ****/

/**** Double Template ****/
#df-donation-popup #double {
    margin-top: 40px;
}
#df-donation-popup #double .text h3 {
    color: #292C33;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}
#df-donation-popup #double .text div {
    color: #292C33;
    text-align: center;
    font-size: 16px;
    line-height: 175%; 
}
/**** End Double Template ****/


/****  Finish Donation Template ****/
#df-donation-popup #finish-donation {
    background-color: #000000;
    width: 370px;
    padding: 50px 30px;
}
#df-donation-popup #finish-donation .next-btn .finish {
    border: 1px solid;
    color: #ffffff!important;
}
#df-donation-popup #finish-donation .next-btn .next {
    border: 1px solid #ffffff;
    background-color: #ffffff;
    color: #000000;
}
#df-donation-popup #finish-donation .next-btn button:hover {
    background-color: transparent!important;
}
#df-donation-popup #finish-donation .next-btn .next:hover {
    color: #ffffff;
}
#df-donation-popup #finish-donation .finish-text {
    color: #ffffff;
    flex-direction: column;
}
#df-donation-popup #finish-donation .finish-text h3 {
    font-size: 20px;
    color: #ffffff;
}
#df-donation-popup #finish-donation .finish-text div {
    font-size: 16px;
}

/****  End Finish Donation Template ****/

/**** Start Free Will Template ****/
#df-donation-popup #free-will {
    padding-top: 40px;
}
#df-donation-popup #free-will .buttons {
    gap: 10px;
}
#df-donation-popup #free-will .summary h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 15px;
}
#df-donation-popup #free-will .summary div {
    font-size: 16px;
    line-height: 175%; 
}
#df-donation-popup #finish-donation .finish-btn,
#df-donation-popup #free-will .finish-btn {
    background: no-repeat;
    padding: 0;
}
/**** End Free Will Template ****/

/****  Start Cancel Subscription Page ****/
.df-cancel-box {
    max-width: 480px;
    margin: 60px auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}
.df-cancel-box h2 { 
    color: #333; 
    margin-bottom: 12px; 
}
.df-cancel-box p  { 
    color: #555; 
    line-height: 1.6; 
}
.df-btn-cancel {
    background: #e53e3e; 
    color: white; 
    border: none;
    padding: 12px 32px; 
    border-radius: 6px; 
    font-size: 15px;
    cursor: pointer; 
    margin: 8px;
}
.df-btn-keep {
    background: #eee; 
    color: #333; 
    border: none;
    padding: 12px 32px; 
    border-radius: 6px; 
    font-size: 15px;
    cursor: pointer;
    margin: 8px;
}
.df-btn-cancel:disabled { 
    opacity: 0.6; cursor: not-allowed; 
}
#df-cancel-result { 
    margin-top: 16px; 
    font-size: 14px; 
}
/****  End Cancel Subscription Page ****/


/****  Start Donations Options Page ****/

#df-donation-popup #donations-options .payment-btn {
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    background-color: white;
    padding: 15px;
}
#df-donation-popup #donations-options .btns {
    justify-content: space-between;
}
#df-donation-popup #donations-options .flex-col {
    height: 100%;
}
#df-donation-popup .donations-options h2 {
    color: #000;
    font-size: 15px;
    font-weight: 700;
    line-height: 128.8%; 
}
#df-donation-popup #donations-options h2 {
    margin-bottom: 25px;
}
#df-donation-popup .donations-options .flex-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
#df-donation-popup #donations-options .zelle-btn {
    padding: 15px 10px 12px;
}
#df-donation-popup #donations-options .payment-btn .btn-text {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 128.8%; 
    white-space: normal;
    overflow-wrap: break-word;
    text-align: left;
}
#df-donation-popup .donations-options .copy-wrapper {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: space-between;
}
#df-donation-popup .donations-options .payment-btn .btn-desc {
    color: #4B4B4B;
    font-size: 12px;
    line-height: normal;
    margin-top: 5px;
}
#df-donation-popup .donations-options .payment-btn .btn-desc span {
    opacity: 0.8;
    font-weight: 700;
}
#df-donation-popup .donations-options .payment-btn .btn-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
#df-donation-popup .donations-options .payment-btn .btn-left svg {
    margin-top: 2px;
    margin-left: 0;
}
#df-donation-popup .donations-options .payment-btn svg {
    min-width: 15px;
}
#df-donation-popup .donations-options .copy-wrapper img  {
    min-width: 12px;
    margin-top: 7px;
    cursor: pointer;
}
#df-donation-popup #check-payment .payment-box {
    border-radius: 16.23px;
    border: 1.352px solid #E8E8E8;
    padding: 15px;
}
#df-donation-popup #check-payment .payment-box .btn-title {
    font-family: "Plus Jakarta Sans";
    font-size: 14px;
    font-weight: 700;
    line-height: 128.8%; 
}
#df-donation-popup #check-payment .copy-wrapper {
    align-items: end;
}
#df-donation-popup #check-payment .copy-text {
    color: #292C33;
    font-size: 12px;
    display: inline-block;
    line-height: 1.7;
}
#df-donation-popup #check-payment .flex-col {
    gap: 10px;
}
#df-donation-popup #check-payment .flex-row {
    gap: 10px;
}
#df-donation-popup #check-payment .flex-row svg {
    margin-left: 0;
}
#check-payment .flex-row h2 {
    margin: 0 0 8px;
}
#df-donation-popup .copy-btn {
    position: relative;
}
#df-donation-popup .copy-btn-wrapper {
    position: relative;
    display: inline-block;
}
#df-donation-popup .copy-btn-wrapper.copied::after {
    content: 'Copied!';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
}
/****  End Donations Options Page ****/


@media (max-width: 1024px) {
    #df-donation-popup #popup-content {
        overflow-y: auto;
    }
    #df-donation-popup .donation-form-step.wide .wide-right {
        min-width: 100%;
    }
    #df-donation-popup .d-desktop {
        display: none!important;
    }
    #df-donation-popup .d-mobile {
        display: flex!important;
    }
    #df-donation-popup #left-side {
        display: none;;
    }
    #df-donation-popup .donation-form-step, #secure-payment {
        max-width: 95vw;
        width: 350px!important;
        padding: 40px 25px;
    }
    #df-donation-popup .wrapper {
        padding: 0!important;
    }
    #df-donation-popup #secure-payment, #designation {
        padding: 25px 10px 25px 25px;
    }
    #df-donation-popup #secure-payment .next-btn {
        padding-right: 15px;
    }
    #df-donation-popup #finish-donation, #thank-you, #approved, #dedication.donation-form-step, #updates {
        /*width: 95vw!important;*/
    }
    #df-donation-popup .designation-wrap {
        overflow-y: scroll;
        padding-right: 14px;
    }
    #df-donation-popup .designation-wrap .flex-row {
        gap: 10px;
        flex-direction: column;
    }
    #df-donation-popup .designation-wrap .input-all, 
    #df-donation-popup .designation-wrap .next-btn {
        width: 100%;
    }
    #df-donation-popup .designation-wrap .input-all label {
        padding: 0 10px;
    }
    #df-donation-popup .designation-wrap .card-img {
        width: 100%;
    }
    #df-donation-popup .designation-wrap .card {
        gap: 15px;
        flex-direction: column;
        height: 100%;
    }
    #df-donation-popup .designation-wrap .card-title {
        font-size: 13px;
    }
    #df-donation-popup #dedication-email {
        flex-direction: column;
        overflow-y: scroll;
        padding: 0!important;
        width: 100%!important;
    }
    #df-donation-popup .dedication-wrapper h2 {
        margin-bottom: 0;
    }
    #df-donation-popup .dedication-wrapper .next-btn {
        margin-top: 30px;
    }
    #df-donation-popup .donation-form-step.wide .wide-left {
        padding-right: 20px;
    }
    #df-donation-popup .donation-form-step.wide .wide-right {
        width: 100%;
    }
    #df-donation-popup .donation-form-step.wide .wide-right .border-left {
        padding: 0;
        border: none;
        margin-top: 10px;
    }
    #df-donation-popup .dedication-wrapper {
        width: 95vw!important;
        padding: 25px 10px 25px 25px!important;
    }
    #df-donation-popup .design-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    #df-donation-popup #dedication-email .flex-row {
        justify-content: flex-start;
        gap: 45px;
        margin: 0 0 10px 0;
    }
    #df-donation-popup #dedication-email label {
        margin-bottom: 0;
    }
    #df-donation-popup #wire-transfer {
        height: auto;
    }
    #df-donation-popup #wire-transfer .content-wrap {
        flex-direction: column;
        gap: 30px;
        padding: 0!important;
    }
    
}

/**** animations *****/
#df-donation-popup .sparkle {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: sparkle-emerge 2s ease-in-out infinite;
}

#df-donation-popup .sparkle-1 { animation-delay: 0s; }
#df-donation-popup .sparkle-2 { animation-delay: 0.15s; }
#df-donation-popup .sparkle-3 { animation-delay: 0.3s; }
#df-donation-popup .sparkle-4 { animation-delay: 0.45s; }
#df-donation-popup .sparkle-5 { animation-delay: 0.6s; }
#df-donation-popup .sparkle-6 { animation-delay: 0.75s; }

@keyframes sparkle-emerge {
  0% { opacity: 0; transform: scale(0) rotate(-8deg); }
  20% { opacity: 1; transform: scale(1) rotate(0deg); }
  80% { opacity: 1; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(0) rotate(8deg); }
}

#df-donation-popup .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  animation: circle-grow 1.8s ease-out forwards;
}
#df-donation-popup .icon-wrap svg {
  animation: arrow-drop 1.8s ease-out forwards;
}
@keyframes circle-grow {
  0% { transform: scale(0); }
  35% { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes arrow-drop {
  0% { opacity: 0; transform: translateY(-14px); }
  35% { opacity: 0; transform: translateY(-14px); }
  55% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}

#df-donation-popup .bg-grow {
  transform-box: fill-box;
  transform-origin: center;
  animation: bg-grow 1.8s ease-out forwards;
}
#df-donation-popup .icon-drop {
  animation: icon-drop 1.8s ease-out forwards;
}
@keyframes bg-grow {
  0% { transform: scale(0); }
  35% { transform: scale(1); }
  100% { transform: scale(1); }
}
@keyframes icon-drop {
  0% { opacity: 0; transform: translateY(-16px); }
  35% { opacity: 0; transform: translateY(-16px); }
  55% { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}