.jdm-wrapper {
    max-width: 500px;
    margin: 2rem auto;
    font-family: system-ui, -apple-system, sans-serif;
}

.jdm-step {
    display: none;
}

.jdm-step.active {
    display: block;
}

.jdm-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.jdm-intro {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.jdm-amount-section {
    margin-bottom: 1.5rem;
}

.jdm-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.jdm-currency {
    font-size: 0.9rem;
    color: #333;
    float: right;
    font-weight: 500;
}

.jdm-amount-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    clear: both;
    visibility: visible !important;
    opacity: 1 !important;
}

#jamiat-donation-module .jdm-amount-btn {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 0.75rem 1.25rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.2s;
    min-width: 100px;
}

#jamiat-donation-module .jdm-amount-btn:hover,
#jamiat-donation-module .jdm-amount-btn.selected {
    border-color: #66bb6a;
    background: #66bb6a;
    color: #fff;
}

.jdm-custom-amount {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

.jdm-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #66bb6a;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    margin-right: 0.5rem;
}

.jdm-btn:hover {
    background: #5aad5e;
}

.jdm-btn-small {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.jdm-secure {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.jdm-form p {
    margin-bottom: 1rem;
}

.jdm-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.jdm-form input,
.jdm-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.required { color: #c00; }

.jdm-success-icon {
    width: 60px;
    height: 60px;
    background: #66bb6a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.jdm-success h3 {
    text-align: center;
    color: #66bb6a;
}

.jdm-donation-id {
    margin-top: 1rem;
    padding: 0.5rem;
    background: #f0f0f0;
    border-radius: 4px;
}

.jdm-loading {
    color: #666;
    font-style: italic;
}

.jdm-error {
    color: #c00;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}
