.cd-donation-wrap {
    max-width: 480px;
    margin: 0 auto;
    font-family: inherit;
}

.cd-donation-form {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 24px;
}

.cd-field {
    margin-bottom: 16px;
}

.cd-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
}

.cd-field input[type="text"],
.cd-field input[type="email"],
.cd-field input[type="number"],
.cd-field select,
.cd-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.cd-preset-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.cd-preset-btn {
    padding: 8px 12px;
    border: 1px solid #b8c6db;
    background: #f3f6fa;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.cd-preset-btn.active,
.cd-preset-btn:hover {
    background: #2f5fa8;
    color: #fff;
    border-color: #2f5fa8;
}

.cd-anonymous-field label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cd-submit-btn {
    width: 100%;
    padding: 12px;
    background: #2f5fa8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.cd-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cd-message {
    margin-top: 12px;
    font-size: 14px;
}

.cd-message.error {
    color: #c0392b;
}

.cd-message.success {
    color: #27ae60;
}

.cd-field-note {
    font-size: 11.5px;
    color: #8a94a6;
    margin: 4px 0 0;
}

/* Kartu Metode Pembayaran */
.cd-gateway-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cd-gateway-card {
    display: block;
    border: 2px solid #e2e6ec;
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    background: #fff;
}

.cd-gateway-card:hover {
    border-color: #b9c4d6;
}

.cd-gateway-card.is-selected {
    border-color: #2f5fa8;
    background: #f3f7fd;
    box-shadow: 0 0 0 1px #2f5fa8 inset;
}

.cd-gateway-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cd-gateway-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.cd-gateway-logo {
    font-weight: 700;
    font-size: 15px;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: .2px;
}

.cd-gateway-card .cd-gateway-logo--xendit {
    background: #ecfdf5;
    color: #0d9f6e;
}

.cd-gateway-card .cd-gateway-logo--ipaymu {
    background: #fff1e6;
    color: #e8672a;
}

.cd-gateway-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #cfd6e2;
    transition: background .15s ease;
}

.cd-gateway-check svg {
    width: 13px;
    height: 13px;
}

.cd-gateway-card.is-selected .cd-gateway-check {
    background: #2f5fa8;
}

.cd-gateway-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cd-method-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 500;
    color: #55617a;
    background: #eef1f6;
    border-radius: 20px;
    padding: 4px 10px 4px 8px;
}

.cd-method-chip svg {
    width: 13px;
    height: 13px;
}
