@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

/* Base Styles (element selectors for margin/padding reset only, no !important) */
h2, p, hr, form, label, a, button, input, select {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input {
    border: none;
}

/* Plugin-specific styles with !important for isolation and modern, beautiful look */
.dp-h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #000 !important;
}

.dp-p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.dp-hr {
    box-sizing: content-box !important;
    height: 0 !important;
    margin: 0 !important;
}

.dp-form {
    margin: 0 !important;
}

.dp-label {
    display: inline-block !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.98rem !important;
}

.dp-a, .dp-button {
    touch-action: manipulation !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1rem !important;
}

.dp-button, .dp-input, .dp-optgroup, .dp-select {
    font: inherit !important;
    margin: 0 !important;
    font-family: 'Poppins', sans-serif !important;
}

.dp-input {
    overflow: visible !important;
    font-size: 1rem !important;
    padding: 0.7em 1em !important;
}

.dp-button, .dp-select {
    text-transform: none !important;
}

.dp-select {
    word-wrap: normal !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    font-size: 1rem !important;
}

.dp-button, [type=button], [type=submit] {
    -webkit-appearance: none !important;
    appearance: none !important;
}

.dp-button:not(:disabled), [type=button]:not(:disabled), [type=submit]:not(:disabled) {
    cursor: pointer !important;
}

/* Trigger Button */
.dp-donation-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem !important;
    background: #F4AEBC !important;
    color: #333 !important;
    border: none !important;
    border-radius: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.dp-donation-trigger:hover {
    background: #f296a7;
    transform: translateY(-1px);
}

/* Modal */
.dp-donation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: auto !important;
}

.dp-donation-modal.active {
    display: flex;
    opacity: 1;
}

/* Container */
.dp-donation-container {
    width: 100%;
    max-width: 880px;
    margin: auto;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.dp-donation-modal.active .dp-donation-container,
.dp-donation-wrapper,
.dp-widget-form-desktop, .dp-flow-desktop, .dp-body, .dp-campaign-body-desktop, .dp-frequency-frame, .dp-footer, .dp-header {
    background: #fff !important;
    border-radius: 16px;
    box-shadow: none;
}

.dp-donation-wrapper {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: none;
}

/* Close Button */
.dp-donation-close {
    position: absolute;
    top: 16px !important;
    right: 16px !important;
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    padding: 0 !important;
}

.dp-donation-close:hover {
    background: #f7fafc;
    border-color: #e2e8f0;
    transform: rotate(90deg);
}

.dp-donation-close svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #555;
}

/* New Design Styles */
.dp-widget-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    min-height: 0;
    background: transparent;
}

.dp-widget-main-desktop {
    flex-direction: row;
    align-items: stretch;
}

.dp-widget-campaign {
    width: 100%;
    min-height: 0;
}

.dp-widget-campaign-desktop {
    position: relative;
    width: 516px;
    margin-inline-end: 0;
}

.dp-widget-form {
    min-height: 0;
    position: relative;
    flex-shrink: 0;
    flex-grow: 1;
    width: 364px;
    display: flex;
}

.dp-widget-form-desktop {
    position: relative;
    flex-shrink: 0;
    border-radius: 12px;
}

.dp-campaign {
    background: #fff;
    display: flex;
    flex-direction: column;
}

.dp-campaign-desktop {
    height: 640px;
    border-radius: 0;
    box-shadow: 0 8px 16px rgba(57,58,63,.22),0 0 4px rgba(57,58,63,.04);
    transform: translateZ(0);
}

.dp-campaign-image-holder {
    position: relative;
}

.dp-campaign-image-holder-desktop {
    order: 0;
}

.dp-campaign-image {
    display: block;
    width: 100%;
    object-fit: cover;
}

.dp-campaign-image-desktop {
    height: 350px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    object-position: center;
}

.dp-campaign-header {
    width: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dp-campaign-header-desktop {
    order: 1;
    height: 86px;
    padding: 20px 28px 16px 28px;
}

.dp-campaign-header-logo {
    display: block;
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    margin-top: 8px;
}

.dp-campaign-body {
    order: 2;
    width: 100%;
    min-height: 0;
}

.dp-campaign-body-desktop {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 24px 28px 28px 28px;
    max-width: 100%;
    padding-bottom: 32px;
}

.dp-campaign-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #F4AEBC !important;
    font-family: 'Poppins', sans-serif !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: none !important;
    padding: 6px 0 !important;
    border-radius: 8px !important;
}

.dp-campaign-text {
    position: relative;
    text-align: left;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    margin-top: 0;
    color: #333;
    font-family: 'Poppins', sans-serif;
    background: none !important;
    border-radius: 0;
    padding: 8px 0 24px 0;
    margin-bottom: 0;
}

.dp-flow {
    width: 100%;
    position: relative;
    background-color: #fff;
}

.dp-flow-desktop {
    height: 640px;
    border-radius: 0;
    box-shadow: 0 8px 16px rgba(57,58,63,.22),0 0 4px rgba(57,58,63,.04);
    overflow: hidden;
    transition: 0s;
    border-radius: 12px;
}

.dp-flow-slide {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.dp-flow-slide-desktop {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.dp-flow-screen {
    width: 100%;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.dp-header {
    position: relative;
    min-height: 0;
    flex-shrink: 0;
    display: flex;
}

.dp-header-desktop {
    border-bottom: 0;
}

.dp-header-main {
    flex-grow: 1;
    text-align: center;
}

.dp-header-main-desktop {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    padding: 0 4px;
}

.dp-header-main-full {
    height: auto;
    padding: 16px;
}

.dp-body {
    position: relative;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.dp-px-body {
    padding-inline-start: 32px;
    padding-inline-end: 32px;
    padding-top: 4px;
}

.dp-fixed-container {
    width: 100%;
    margin-inline-start: auto;
    margin-inline-end: auto;
}

/* Frequency Toggle */
.dp-frequency {
    position: relative;
    margin-bottom: 16px;
    width: 100%;
    height: 48px;
}

.dp-frequency-frame {
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    border-radius: 0;
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 12px;
}

.dp-frequency-btn {
    font-size: 1rem !important;
    font-weight: 500 !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1 !important;
    max-width: 100% !important;
    color: #333 !important;
    text-align: center !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    z-index: 1 !important;
    user-select: none !important;
    height: 100% !important;
    transition: all 0.15s ease !important;
    font-family: 'Poppins', sans-serif !important;
    display: flex !important;
    gap: 5px !important;
}

.dp-frequency-btn.dp-frequency-btn-selected {
    font-weight: 500 !important;
    background: #F4AEBC !important;
    box-shadow: inset 0 0 0 2px #F4AEBC !important;
    z-index: 2 !important;
    cursor: default !important;
    color: #fff !important;
}

/* Amount Options */
.dp-amount-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.dp-amount-option {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    width: 100%;
    height: 48px;
    cursor: pointer;
}

.dp-amount-option-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    width: 100% !important;
    position: relative;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #000 !important;
    font-family: 'Poppins', sans-serif !important;
    text-align: center;
    background: #fff;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.1);
    user-select: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
    transition: all 0.15s ease;
    border: 2px solid #F4AEBC;
}

.dp-amount-option-radio {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.dp-amount-option-radio:checked {
    pointer-events: none;
}

.dp-amount-option-radio:hover ~ .dp-amount-option-label {
    background: #000 !important;
    color: #fff !important;
    opacity: 0.9;
}

.dp-amount-option-radio:checked ~ .dp-amount-option-label {
    font-weight: 500;
    background: #000 !important;
    box-shadow: inset 0 0 0 2px #000 !important;
    pointer-events: none;
    color: #fff !important;
    border: 2px solid #000 !important;
}

/* Custom Amount Input - New Styles */
.dp-custom-amount-wrapper {
    margin-bottom: 20px;
    position: relative;
    border-radius: 12px;
}

.dp-input-field {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #F4AEBC;
    border-radius: 0;
    background: #fff;
    height: 56px;
    overflow: hidden;
}

.dp-dollar-symbol {
    color: #F4AEBC;
    font-size: 20px;
    font-weight: 500;
    padding-left: 16px;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

#dp-custom-amount {
    flex-grow: 1;
    border: none;
    background: #fff;
    font-size: 18px;
    color: #000 !important;
    padding: 0 16px;
    height: 100%;
    width: calc(100% - 40px);
    outline: none;
    font-family: 'Poppins', sans-serif;
    line-height: 56px;
}

#dp-custom-amount:focus {
    color: #000 !important;
    background: #fff;
}

#dp-custom-amount::placeholder {
    color: #F4AEBC;
    opacity: 0.7;
    font-family: 'Poppins', sans-serif;
}

.dp-currency-selector {
    position: absolute;
    bottom: -40px;
    right: 0;
    display: flex;
    align-items: center;
    color: #3371e6;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
}

.dp-currency-label {
    display: inline-flex;
    align-items: center;
    margin-right: 4px;
}

.dp-dropdown-icon {
    display: inline-flex;
}

.dp-currency-selector select {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

/* Submit Button */
.dp-footer {
    position: relative;
    z-index: 3;
    min-height: 0;
    flex-shrink: 0;
    padding: 0 32px 28px 32px;
}

.dp-btn {
    font-size: 1rem !important;
    font-weight: 500 !important;
    display: block !important;
    width: 100% !important;
    height: 56px !important;
    position: relative !important;
    color: inherit !important;
    text-align: center !important;
    text-decoration: none !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    background: none !important;
    padding: 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    user-select: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.dp-btn-primary {
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
    box-shadow: none;
}

.dp-btn-primary:hover {
    background: #222 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
}

.dp-frequency-hint-side {
    position: absolute;
    bottom: 100%;
    inset-inline-start: 100%;
    width: 96px;
    padding-bottom: 35px;
    margin-inline-start: 16px;
    margin-bottom: -150px;
    z-index: 10;
}

.dp-frequency-hint-side-text {
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
    color: #545454 !important;
}

.dp-frequency-hint-side-arrow {
    position: absolute;
    bottom: 0;
    inset-inline-end: 6px;
}

.dp-title-1 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #000 !important;
    font-family: 'Poppins', sans-serif !important;
}

.dp-d-flex {
    display: flex;
}

.dp-d-block {
    display: block;
}

.dp-flex-column {
    flex-direction: column;
}

.dp-items-center {
    align-items: center;
}

.dp-justify-center {
    justify-content: center;
}

.dp-p-rel {
    position: relative;
}

.dp-p-abs {
    position: absolute;
}

.dp-p-abs.dp-inset-0 {
    inset: 0;
}

.dp-grow-1 {
    flex-grow: 1;
}

.dp-shrink-0 {
    flex-shrink: 0;
}

.dp-min-h-0 {
    min-height: 0%;
}

.dp-border-bottom-0 {
    border-bottom: 0;
}

.dp-text-truncate {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dp-text-ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
}

.dp-text-white {
    color: #fff;
}

.dp-text-gray-80 {
    color: #49505b;
}

.dp-text-fuchsia-80 {
    color: #ff447c;
}

.dp-text-green-80 {
    color: #00c07b;
}

.dp-text-sans-serif {
    font-family: "IBM Plex Sans", sans-serif;
}

.dp-text-noselect {
    user-select: none;
}

.dp-label-3 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.dp-self-center {
    align-self: center;
}

.dp-max-w-100 {
    max-width: 100%;
}

.dp-me-1 {
    margin-inline-end: 4px;
}

.dp-mb-3 {
    margin-bottom: 12px;
}

.dp-mt-3 {
    margin-top: 16px;
}

.dp-mx-0-5 {
    margin-inline-end: 2px;
    margin-inline-start: 2px;
}

.dp-mt-2-5 {
    margin-top: 10px;
}

.dp-gap-3 {
    gap: 12px;
}

.dp-mt-auto {
    margin-top: auto;
}

.dp-z-index-1 {
    z-index: 1;
}

.dp-p-0 {
    padding: 0;
}

.dp-py-3 {
    padding-top: 12px;
    padding-bottom: 12px;
}

.dp-border-0 {
    border: 0;
}

.dp-m-0 {
    margin: 0;
}

.dp-pe-1-5 {
    padding-inline-end: 6px;
}

.dp-ps-2 {
    padding-inline-start: 8px;
}

.dp-py-2 {
    padding-top: 8px;
    padding-bottom: 8px;
}

.dp-border-radius-6 {
    border-radius: 6px;
}

.dp-overflow-hidden {
    overflow: hidden;
}

.dp-cursor-pointer {
    cursor: pointer;
}

.dp-gap-y-2-5 {
    row-gap: 10px;
}

.dp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.dp-opacity-0 {
    opacity: 0;
}

.dp-font-size-28 {
    font-size: 28px;
}

.dp-font-size-16 {
    font-size: 16px;
}

.dp-icon-fill {
    vertical-align: -0.1625em;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.dp-icon-stroke {
    vertical-align: -0.1625em;
    width: 1em;
    height: 1em;
    stroke: currentColor;
}

/* Media queries for responsive design */
@media (max-width: 940px) {
    .dp-widget-main-desktop {
        flex-direction: column;
    }
    
    .dp-widget-campaign-desktop {
        width: 100%;
        margin-inline-end: 0;
    }
    
    .dp-campaign-desktop {
        height: auto;
    }
    
    .dp-flow-desktop {
        height: auto;
        min-height: 500px;
    }
    
    .dp-flow-slide-desktop {
        position: relative;
    }
    
    .dp-widget-form-desktop {
        width: 100%;
    }
    
    .dp-frequency-hint-side {
        display: none;
    }
}

/* Donation Impact Text */
.dp-donation-impact {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #F4AEBC !important;
    text-align: center !important;
    margin-bottom: 12px !important;
    margin-top: 0 !important;
}

/* Donation Summary */
.dp-donation-summary {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.dp-donation-summary p {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.97rem !important;
    font-weight: 400 !important;
    color: #F4AEBC !important;
    line-height: 1.5 !important;
}

/* Dual Image Container */
.dp-dual-image-container {
    display: flex;
    width: 100%;
    height: 220px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
    margin-bottom: 0;
}

.dp-left-image, .dp-right-image {
    width: 50%;
    height: 220px;
    object-fit: cover;
}

.dp-left-image {
    object-position: center;
}

.dp-right-image {
    object-position: center;
}

.dp-campaign-image-desktop {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.dp-details-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}

.dp-details-input {
    width: 100% !important;
    padding: 0.7em 1em !important;
    border: 2px solid #F4AEBC;
    border-radius: 8px !important;
    font-size: 1rem !important;
    color: #F4AEBC !important;
    background: #fff !important;
    margin-bottom: 0 !important;
}

.dp-details-input::placeholder {
    color: #F4AEBC !important;
    opacity: 0.7 !important;
}

/* Unify donor details form with donation step */
#dp-donor-details-form.dp-details-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-radius: 16px;
    padding: 0;
    margin: 0;
    height: 100%;
}

.dp-details-form h2.dp-title-1 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    background: none;
    text-align: center;
    padding: 24px 32px 16px 32px;
}

/* Create body structure for details form */
.dp-details-form .dp-body {
    position: relative;
    flex-grow: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 8px 32px 0 32px;
}

.dp-details-form .dp-fixed-container {
    width: 100%;
    margin-inline-start: auto;
    margin-inline-end: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dp-details-input {
    width: 100%;
    padding: 0 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    background: transparent;
    margin-bottom: 0;
    transition: all 0.2s ease;
    height: 48px;
    line-height: 48px;
    font-family: inherit;
}

.dp-details-input:focus {
    outline: none;
}

.dp-details-input::placeholder {
    color: #999;
    opacity: 1;
}

.dp-input-field {
    background: #f8f9fa !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    height: 56px;
    transition: all 0.2s ease;
}

.dp-input-field:focus-within {
    border-color: #F4AEBC !important;
    box-shadow: 0 4px 12px rgba(244, 174, 188, 0.15) !important;
    background: #fff !important;
}

.dp-input-field span {
    font-size: 1.2rem;
    margin-right: 8px;
    padding-left: 16px;
}

/* Footer for details form */
.dp-details-form .dp-footer {
    position: relative;
    z-index: 3;
    min-height: 0;
    flex-shrink: 0;
    padding: 24px 32px 32px 32px;
    margin-top: auto;
}

.dp-details-form .dp-btn-primary {
    background: linear-gradient(135deg, #F4AEBC 0%, #e48ca6 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 0;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(244, 174, 188, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    height: 56px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dp-details-form .dp-btn-primary:hover {
    background: linear-gradient(135deg, #e48ca6 0%, #d47a94 100%);
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(244, 174, 188, 0.4);
    transform: translateY(-1px);
}

/* Back button styling */
.dp-back-btn {
    position: absolute !important;
    left: 16px !important;
    top: 16px !important;
    width: 2rem !important;
    height: 2rem !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
    padding: 0 !important;
}

.dp-back-btn:hover {
    background: #f7fafc !important;
    border-color: #e2e8f0 !important;
}

.dp-back-btn svg {
    width: 1.25rem !important;
    height: 1.25rem !important;
    fill: #F4AEBC !important;
    transition: fill 0.2s ease !important;
}

.dp-back-btn:hover svg {
    fill: #fff !important;
}

/* Form transition animations */
#dp-donation-form,
#dp-donor-details-form,
#dp-address-form {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateX(0);
    opacity: 1;
}

#dp-donation-form.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

#dp-donor-details-form.slide-in-right {
    transform: translateX(0);
    opacity: 1;
}

#dp-donor-details-form.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

#dp-donation-form.slide-in-left {
    transform: translateX(0);
    opacity: 1;
}

/* Address form specific styles */
#dp-address-form.dp-details-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #fff;
    border-radius: 16px;
    padding: 0;
    margin: 0;
    height: 100%;
}

#dp-address-form .dp-input-field {
    margin-bottom: 16px;
}

#dp-address-form .dp-input-field:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for address form */
@media (max-width: 940px) {
    #dp-address-form.dp-details-form,
    #dp-donor-details-form.dp-details-form {
        width: 100%;
        max-width: 100%;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .dp-h2, .dp-title-1, .dp-campaign-title {
        font-size: 1.1rem !important;
    }
    .dp-p, .dp-donation-impact, .dp-details-input, .dp-amount-option-label, .dp-frequency-btn {
        font-size: 0.9rem !important;
    }
}

/* Share Button Styles */
#share-donation-link {
    background: #f8f9fa !important;
    color: #666 !important;
    border: 1px solid #ddd !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

#share-donation-link:hover {
    background: #e9ecef !important;
    color: #495057 !important;
    border-color: #adb5bd !important;
    transform: translateY(-1px) !important;
}

#share-donation-link svg {
    transition: transform 0.2s ease !important;
}

#share-donation-link:hover svg {
    transform: scale(1.1) !important;
}

/* Success message for share functionality */
.share-success-message {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: #28a745 !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    z-index: 1000000 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    animation: slideInRight 0.3s ease !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%) !important;
        opacity: 0 !important;
    }
    to {
        transform: translateX(0) !important;
        opacity: 1 !important;
    }
}

/* Payment Result Form Styles */
.dp-payment-result-form {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: none !important;
    animation: slideInRight 0.3s ease !important;
}

.dp-payment-result-form .dp-header {
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
}

.dp-payment-result-form .dp-body {
    background: #fff !important;
    padding: 2rem !important;
}

.dp-payment-result-form .dp-footer {
    background: #fff !important;
    border-top: 1px solid #eee !important;
    padding: 1.5rem !important;
}

.dp-payment-result-form .dp-btn-primary {
    background: #F4AEBC !important;
    color: #333 !important;
    border: none !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.2s ease !important;
}

.dp-payment-result-form .dp-btn-primary:hover {
    background: #f296a7 !important;
    transform: translateY(-1px) !important;
}

/* Payment Loading State */
#donation-submit:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* Success and Error Colors */
.dp-payment-success {
    color: #28a745 !important;
}

.dp-payment-error {
    color: #dc3545 !important;
} 

#donation-popup-modal {
    overflow: auto;
}