.df-donation-form-wrapper {
    max-width: 560px;
    margin: 0 auto;
    font-family: inherit;
}

.df-progress-wrapper {
    margin-bottom: 20px;
}

.df-progress-text {
    font-weight: 600;
    margin-bottom: 8px;
}

.df-progress-bar-track {
    background: #eee;
    border-radius: 20px;
    height: 16px;
    overflow: hidden;
}

.df-progress-bar-fill {
    background: linear-gradient(90deg, #f0883e, #ff5a00);
    height: 100%;
    border-radius: 20px;
    transition: width 0.3s ease-in-out;
}

.df-errors {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #611a15;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.df-errors ul {
    margin: 0;
    padding-left: 18px;
}

.df-donation-form .df-field {
    margin-bottom: 18px;
}

.df-donation-form label,
.df-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.df-donation-form input[type="text"],
.df-donation-form input[type="email"],
.df-donation-form input[type="number"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.df-amount-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 480px) {
    .df-amount-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

.df-amount-tile {
    padding: 14px 8px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #1d2327;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.15s ease-in-out;
}

.df-amount-tile:hover {
    border-color: #f0883e;
}

.df-amount-tile.active {
    border-color: #f0883e;
    color: #f0883e;
    background: #fff7f0;
}

.df-label-custom {
    margin-bottom: 8px;
}

.df-custom-amount-row {
    position: relative;
    display: flex;
    align-items: stretch;
}

.df-custom-amount-row input {
    padding-right: 72px;
    -moz-appearance: textfield;
}

.df-custom-amount-row input::-webkit-outer-spin-button,
.df-custom-amount-row input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.df-custom-amount-row .df-currency {
    position: absolute;
    right: 44px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 600;
    color: #555;
    pointer-events: none;
}

.df-amount-steppers {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    display: flex;
    flex-direction: column;
    width: 30px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.df-amount-step {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f7f7;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease-in-out;
}

.df-amount-step:hover {
    background: #ffe9d6;
}

.df-amount-step-up {
    border-bottom: 1px solid #ddd;
}

.df-arrow {
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.df-arrow-up {
    border-bottom: 6px solid #f0883e;
}

.df-arrow-down {
    border-top: 6px solid #f0883e;
}

.df-gateway-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
}

.df-gateway-tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 12px 10px;
    cursor: pointer;
    background: #fff;
    transition: all 0.15s ease-in-out;
    margin-bottom: 0;
    min-height: 52px;
}

.df-gateway-tile input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.df-gateway-tile:hover {
    border-color: #f0883e;
}

.df-gateway-tile.active,
.df-gateway-tile:has(input[type="radio"]:checked) {
    border-color: #f0883e;
    background: #fff7f0;
}

.df-gateway-logo-img {
    max-height: 28px;
    max-width: 100%;
    object-fit: contain;
}

.df-gateway-logo {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
    color: #1d2327;
}

.df-gateway-logo-blik {
    color: #000000;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 3px solid #ff3d80;
}

.df-gateway-logo-tpay {
    color: #ff5a00;
}

.df-gateway-logo-payu {
    color: #4fb14f;
}

.df-gateway-logo-p24 {
    color: #003b7a;
}

.df-blik-code-field {
    margin-top: 14px;
}

.df-blik-code-input {
    max-width: 180px;
    text-align: center;
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 700;
}

.df-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.df-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.df-select-all label {
    font-weight: 600;
}

.df-summary-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f6f7f7;
    border-radius: 10px;
    padding: 18px 20px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.df-summary-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.df-summary-label {
    color: #666;
    font-size: 14px;
    font-weight: 400;
}

.df-summary-amount {
    font-size: 24px;
    font-weight: 700;
}

.df-submit-button {
    padding: 14px 28px;
    background: #f0883e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.df-submit-button:hover {
    background: #d97327;
}

.df-admin-filters {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.df-export-info {
    color: #555;
    font-style: italic;
}

.df-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.df-badge-yes {
    background: #d4edda;
    color: #155724;
}

.df-badge-no {
    background: #f1f1f1;
    color: #666;
}

.df-badge-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    background: #f1f1f1;
    color: #333;
}

.df-badge-status-error {
    background: #fdecea;
    color: #a12622;
}

.df-badge-status-ok {
    background: #d4edda;
    color: #155724;
}

.df-link-danger {
    color: #b32d2e;
}

.df-link-danger:hover {
    color: #7a1f20;
    text-decoration: underline;
}
