.p24-donation-wrapper {
    margin: 0 auto;
    padding: 24px 24px 28px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.p24-donation-message {
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(227, 5, 19, 0.06);
    border: 1px solid rgba(227, 5, 19, 0.15);
    color: #333;
    font-size: 13px;
}

.p24-donation-form {
    margin: 0;
}

.p24-field-group {
    margin-bottom: 16px;
}

.p24-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #111827;
}

.p24-input {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 5px !important;
    border: 1px solid #eeeeee !important;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.p24-input:focus {
    outline: none;
    border-color: #e30513;
    box-shadow: 0 0 0 1px rgba(227, 5, 19, 0.15);
}

.p24-input.p24-input--error {
    border-color: #e30513;
    background: #fff5f6;
}

.p24-field-error {
    margin-top: 6px;
    font-size: 12px;
    color: #e30513;
    display: none;
}

.p24-field-error.is-visible {
    display: block;
}

.p24-amount-group {
    margin: 18px 0 10px;
}

.p24-amount-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.p24-amount-tile {
    position: relative;
    border-radius: 5px;
    border: 1px solid #eaeaea;
    padding: 14px 8px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    background: #f9fafb;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.08s ease;
}

.p24-amount-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.p24-amount-tile:hover {
    border-color: #e30513;
    background: #fff5f6;
}

.p24-amount-tile.is-active {
    border-color: #e30513;
    background: #e30513;
    color: #ffffff;
    transform: translateY(-1px);
}

.p24-amount-tile span {
    display: inline-block;
}

.p24-custom-amount {
    margin-top: 14px;
}

.p24-custom-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 5px !important;
    border: 1px solid #eeeeee !important;
    padding: 12px 16px !important;
    background: #ffffff !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.p24-custom-input-wrap--active {
    border-color: #e30513 !important;
    background: #ffffff !important;
}

.p24-custom-input-wrap--error {
    border-color: #e30513 !important;
    background: #fff5f6 !important;
}

.p24-custom-currency {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
}

.p24-custom-input {
    border: none !important;
    background: transparent !important;
    flex: 1;
    font-size: 14px;
    padding: 0 !important;
}

.p24-custom-input:focus {
    outline: none;
}

.p24-submit-wrap {
    margin-top: 22px;
}

.p24-submit-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 15px;
    font-weight: 600;
    background: #e30513;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s ease, transform 0.08s ease;
}

.p24-submit-btn:hover {
    background: #c30410;
}

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

.p24-submit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.p24-submit-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.p24-trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    color: #6b7280;
}

.p24-trust-badge svg {
    width: 14px;
    height: 14px;
    stroke: #22c55e;
}

.p24-fee-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 18px;
    cursor: pointer;
}

.p24-fee-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #e30513;
    flex-shrink: 0;
}

.p24-fee-checkbox-label {
    font-size: 13px;
    color: #374151;
    line-height: 1.4;
}

.p24-fee-amount {
    font-weight: 600;
    color: #111827;
}

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

@media (max-width: 480px) {
    .p24-donation-wrapper {
        padding: 18px 16px 22px;
        border-radius: 14px;
    }
}
