* {
    box-sizing: border-box;
}

html,
body {
    background: transparent;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow: visible;
}

.donation-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    min-width: 320px;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 500px) {
    .donation-card {
        padding: 20px;
        border-radius: 8px;
        min-width: 100%;
    }
}

/* Additional Styles matching embed.js.php logic */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 500px) {
    .amount-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
    }
}

.amount-btn {
    padding: 14px 12px;
    text-align: center;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #333;
    min-height: 48px;
}

.amount-btn:hover {
    border-color: var(--theme-primary, #1e87f0);
    background-color: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.amount-btn.selected {
    border-color: var(--theme-primary, #1e87f0);
    background-color: var(--theme-primary, #1e87f0);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(30, 135, 240, 0.3);
}

.amount-btn:active {
    transform: translateY(0);
}

.frequency-toggle {
    display: inline-flex;
    justify-content: center;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    gap: 6px;
    flex-wrap: wrap;
}

.frequency-btn {
    padding: 8px 18px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    flex: 1 1 120px;
    text-align: center;
    white-space: nowrap;
}

.frequency-btn:hover {
    color: #333;
}

.frequency-btn.active {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    font-weight: 700;
    color: var(--theme-primary, #1e87f0);
}

#payment-element {
    margin-bottom: 12px;
}

.hidden {
    display: none !important;
}

/* Custom form styles */
.donation-title {
    margin: 0 0 12px;
    text-align: center;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.donation-description {
    margin: 0 0 20px;
    text-align: center;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 500px) {
    .donation-title {
        font-size: 22px;
    }

    .donation-description {
        font-size: 14px;
    }
}

.donation-counter-wrapper {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.donation-counter {
    display: inline-block;
}

.donation-counter strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--theme-primary, #1e87f0);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.counter-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
    display: block;
}

/* Goal Progress Message Styles */
.goal-message-wrapper {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.goal-message {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
}

.goal-days-left {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Progress Bar with Counter Styles */
.donation-progress-wrapper {
    margin-bottom: 20px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
}

.progress-message {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    text-align: center;
}

.donation-progress-bar {
    width: 100%;
    height: 24px;
    border-radius: 12px;
    border: none;
    overflow: hidden;
    background: #e0e0e0;
    -webkit-appearance: none;
    appearance: none;
}

.donation-progress-bar::-webkit-progress-bar {
    background: #e0e0e0;
    border-radius: 12px;
}

.donation-progress-bar::-webkit-progress-value {
    background: var(--theme-primary, #1e87f0);
    border-radius: 12px;
    transition: width 0.3s ease;
}

.donation-progress-bar::-moz-progress-bar {
    background: var(--theme-primary, #1e87f0);
    border-radius: 12px;
}

.progress-deadline {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.progress-days-left {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.frequency-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.currency-wrapper {
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
    column-gap: 12px;
}

.currency-wrapper .form-label {
    margin: 0;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.currency-wrapper .form-select,
.currency-wrapper select.form-input {
    min-width: 140px;
}

@media (max-width: 360px) {
    .currency-wrapper {
        grid-template-columns: 1fr;
        row-gap: 6px;
    }

    .currency-wrapper .form-label {
        white-space: normal;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-input:hover {
    border-color: #bbb;
}

.form-input:focus {
    outline: none;
    border-color: var(--theme-primary, #1e87f0);
    box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.1);
}

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

@media (max-width: 500px) {
    .form-input {
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .frequency-toggle {
        flex-direction: column;
        background: transparent;
        padding: 0;
        gap: 10px;
    }

    .frequency-btn {
        width: 100%;
        white-space: normal;
        border-radius: 999px;
        background: #f5f5f5;
        flex: 1 1 auto;
    }

    .frequency-btn.active {
        background: white;
    }
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 600;
    font-size: 15px;
}

.input-with-icon-padding {
    padding-left: 36px;
}

.input-helper-wrapper {
    position: relative;
}

.input-helper-wrapper input.form-input,
.input-helper-wrapper select.form-input,
.input-helper-wrapper textarea.form-input {
    padding-right: 38px;
}

.helper-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.helper-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.helper-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: normal;
    min-width: 180px;
    max-width: 260px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 1000;
}

.helper-icon::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
}

.helper-icon:hover::after,
.helper-icon:hover::before,
.helper-icon:focus::after,
.helper-icon:focus::before {
    opacity: 1;
    visibility: visible;
}

.helper-icon:focus::after {
    transform: translateX(-50%) translateY(-2px);
}

.helper-icon-inline {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-left: 8px;
}

/* Helper text below field (alternative to tooltip) */
.helper-text-below {
    font-size: 12px;
    color: var(--theme-helper-text-color, #999);
    margin: 4px 0 0 0;
    line-height: 1.4;
}

/* Helper icon positioning for textareas - align to top */
.input-helper-wrapper:has(textarea.form-input) .helper-icon {
    top: 12px;
    transform: none;
}

/* Mobile responsive tooltip positioning - constrain to viewport to prevent clipping */
@media (max-width: 500px) {
    .helper-icon::after {
        /* Keep centered but use smaller width to fit within field boundaries */
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        min-width: 140px;
        max-width: 200px;
        white-space: normal;
        word-wrap: break-word;
    }

    .helper-icon::before {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .helper-icon:focus::after {
        transform: translateX(-50%) translateY(-2px);
    }
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
}

.form-label:hover {
    color: #333;
}

.form-label-heading {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.01em;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--theme-primary, #1e87f0);
    flex-shrink: 0;
}

.form-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--theme-primary, #1e87f0);
    flex-shrink: 0;
}

.radio-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 2px;
}

.submit-button {
    width: 100%;
    padding: 14px 24px;
    background: var(--theme-primary, #1e87f0);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(30, 135, 240, 0.25);
    letter-spacing: 0.01em;
    min-height: 50px;
}

.submit-button:hover {
    background: var(--theme-primary-dark, #0f7ae5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 135, 240, 0.35);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-text {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.4;
}

.info-text {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.secure-payment-wrapper {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.secure-payment-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    cursor: help;
    position: relative;
    font-weight: 500;
}

.secure-payment-link::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #333;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    white-space: normal;
    max-width: 300px;
    min-width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
    line-height: 1.4;
}

.secure-payment-link::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
}

.secure-payment-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

.secure-payment-link:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Cover fees styling */
.cover-fees-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.cover-fees-label:hover {
    background: #f0f2f5;
    border-color: #e5e7eb;
}

.cover-fees-text {
    flex: 1;
    line-height: 1.5;
}

.fee-amount-wrapper {
    position: relative;
    cursor: help;
    color: var(--theme-primary, #1e87f0);
    font-weight: 600;
}

.fee-amount {
    font-weight: 700;
}

.fee-amount-wrapper::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: #333;
    color: white;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 12px;
    white-space: normal;
    max-width: 280px;
    min-width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
    line-height: 1.4;
    font-weight: 400;
}

.fee-amount-wrapper::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    border: 6px solid transparent;
    border-top-color: #333;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 1000;
}

.fee-amount-wrapper:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-12px);
}

.fee-amount-wrapper:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Privacy consent + email opt-in container */
.privacy-options-card {
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 12px;
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.privacy-options-card:hover {
    border-color: #e5e7eb;
    background: #f0f2f5;
}

.privacy-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.privacy-option-text {
    flex: 1;
    line-height: 1.5;
    font-weight: 400;
}


/* Quantity Section Styles */
.quantity-section {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.quantity-section .form-select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    /* Larger font for better mobile tap targets */
    font-family: inherit;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;

    /* Custom Arrow */
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 24px;
    padding-right: 40px;
}

.quantity-section .form-select:hover {
    border-color: #bbb;
}

.quantity-section .form-select:focus {
    outline: none;
    border-color: var(--theme-primary, #1e87f0);
    box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.1);
}

.quantity-range-wrapper {
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Custom Range Slider Styling */
input[type=range].form-range {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
    height: 6px;
    border-radius: 3px;
    cursor: pointer;
}

input[type=range].form-range:focus {
    outline: none;
}

/* Slider Track */
input[type=range].form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #e9ecef;
    border-radius: 3px;
}

input[type=range].form-range::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: pointer;
    background: #e9ecef;
    border-radius: 3px;
}

/* Slider Thumb */
input[type=range].form-range::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--theme-primary, #1e87f0);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    /* centers thumb on track */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

input[type=range].form-range::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border: none;
    border-radius: 50%;
    background: var(--theme-primary, #1e87f0);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

input[type=range].form-range:active::-webkit-slider-thumb {
    transform: scale(1.1);
}

input[type=range].form-range:active::-moz-range-thumb {
    transform: scale(1.1);
}

/* Focus State */
input[type=range].form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.25);
}

input[type=range].form-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 3px rgba(30, 135, 240, 0.25);
}

/* Quantity Display Badge */
#embed-quantity-display {
    color: var(--theme-primary, #1e87f0);
    background: white !important;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}


/* Modern payment method radio buttons */
.payment-method-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
}

.payment-method-option:hover {
    border-color: var(--theme-primary, #1e87f0);
    background-color: #fafafa;
}

.payment-method-option.selected {
    border-color: var(--theme-primary, #1e87f0);
    background-color: rgba(30, 135, 240, 0.05);
}

.payment-method-option input[type="radio"] {
    margin: 0;
}

.payment-method-option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

@media (max-width: 500px) {
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
}

/* Donors List Layout */
.donation-layout {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    min-width: 320px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.donation-layout .donation-card {
    flex: 1 1 360px;
    min-width: 320px;
    order: 2;
}

.side-column {
    flex: 1 1 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-column-left {
    order: 1;
}

.side-column-right {
    order: 3;
}

.donation-layout.layout-left.layout-right .side-column-left {
    order: 1;
}

.donation-layout.layout-left.layout-right .donation-card {
    order: 2;
}

.donation-layout.layout-left.layout-right .side-column-right {
    order: 3;
}

.layout-component-below {
    margin-top: 24px;
}

.donors-list-wrapper {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.donors-list-below {
    margin-top: 24px;
}

.helper-card-wrapper {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.helper-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #333;
}

.helper-card-content {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.helper-card-content p {
    margin: 0 0 12px;
}

.helper-card-content ul,
.helper-card-content ol {
    margin: 0 0 12px 20px;
    padding: 0;
}

.cost-examples-group {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.cost-examples-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    font-weight: 600;
    margin-bottom: 10px;
}

.cost-examples-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cost-example-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cost-example-amount {
    font-weight: 700;
    color: var(--theme-primary, #1e87f0);
    white-space: nowrap;
}

.cost-example-desc {
    flex: 1;
    color: #333;
    line-height: 1.4;
}

.detailed-amounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.detailed-amount-card {
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    padding: 14px 16px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detailed-amount-card:hover {
    border-color: var(--theme-primary, #1e87f0);
    box-shadow: 0 4px 10px rgba(30, 135, 240, 0.15);
    transform: translateY(-1px);
}

.detailed-amount-card.selected {
    border-color: var(--theme-primary, #1e87f0);
    background: rgba(30, 135, 240, 0.08);
    box-shadow: 0 4px 12px rgba(30, 135, 240, 0.25);
}

.detailed-amount-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--theme-primary, #1e87f0);
}

.detailed-amount-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.layout-component {
    margin-top: 24px;
}

.layout-component:first-child {
    margin-top: 0;
}

.layout-component-above {
    margin-bottom: 24px;
}

.layout-component-below {
    margin-top: 24px;
}

.layout-component-side {
    margin: 0;
}

.donors-list-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.donors-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.donor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.donor-item:last-child {
    border-bottom: none;
}

.donor-info {
    display: flex;
    flex-direction: column;
}

.donor-name {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.donor-date {
    font-size: 12px;
    color: #999;
}

.donor-amount {
    font-weight: 700;
    color: var(--theme-primary, #1e87f0);
    font-size: 14px;
}

/* Scrollbar for list */
.donors-list::-webkit-scrollbar {
    width: 6px;
}

.donors-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.donors-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.donors-list::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Progressive disclosure animation */
.progressive-hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.progressive-visible {
    max-height: 800px;
    opacity: 1;
    overflow: visible;
}