.dbpro-donation-widget {
    background: linear-gradient(135deg, #0088dd 0%, #2879FE 100%);
    border-radius: 12px;
    padding: 25px;
    color: white;
}

.dbpro-donation-amount-input {
    margin-bottom: 15px;
}

.dbpro-donation-progress {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dbpro-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.dbpro-progress-label {
    font-weight: bold;
}

.dbpro-progress-amount {
    opacity: 0.9;
}

.dbpro-progress-bar {
    width: 100%;
    height: 24px;
    border-radius: 6px;
    border: none;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.2);
}

.dbpro-progress-bar::-webkit-progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
}

.dbpro-progress-bar::-webkit-progress-value {
    background: linear-gradient(90deg, #4db8ff 0%, #1565c0 100%);
    border-radius: 6px;
}

.dbpro-progress-bar::-moz-progress-bar {
    background: linear-gradient(90deg, #4db8ff 0%, #1565c0 100%);
    border-radius: 6px;
}

.dbpro-progress-percentage {
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    opacity: 0.9;
}

.dbpro-donation-amount-input input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
}

.dbpro-donation-presets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.dbpro-preset {
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.dbpro-preset:hover,
.dbpro-preset.active {
    background: rgba(255, 255, 255, 0.4);
    border-color: white;
}

.dbpro-donation-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dbpro-btn {
    padding: 12px;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
}

.dbpro-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Modal Styles */
.dbpro-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.dbpro-modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.dbpro-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dbpro-modal-close:hover {
    color: #000;
}

.dbpro-modal h2 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.dbpro-amount-display {
    color: #0088dd;
    margin: 10px 0 25px 0;
    font-size: 28px;
    font-weight: bold;
}

#card-element {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 14px;
}

#card-errors {
    color: #fa755a;
    margin-bottom: 15px;
    font-size: 14px;
    min-height: 20px;
}

.dbpro-error-message {
    color: #fa755a;
    font-size: 14px;
    margin-bottom: 12px;
}

.dbpro-btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #0088dd 0%, #2879FE 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s;
}

.dbpro-btn-submit:hover:not(:disabled) {
    opacity: 0.9;
}

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

/* Thank You Modal Styles */
.dbpro-thankyou-modal {
    text-align: center;
}

.dbpro-thankyou-content {
    padding: 20px 0;
}

.dbpro-thankyou-icon {
    font-size: 60px;
    color: #4caf50;
    margin-bottom: 15px;
    animation: dbpro-scale-in 0.5s ease-out;
}

.dbpro-thankyou-modal h2 {
    color: #4caf50;
    font-size: 32px;
    margin-bottom: 15px;
}

.dbpro-thankyou-message {
    color: #555;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.dbpro-thankyou-amount {
    color: #0088dd;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

@keyframes dbpro-scale-in {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .dbpro-donation-presets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dbpro-donation-buttons {
        grid-template-columns: 1fr;
    }
    
    .dbpro-modal {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}