/* --- General Form Styling --- */
.vd-donation-form-wrapper { max-width: 600px; margin: 0 auto; border: 1px solid #e0e0e0; padding: 30px; border-radius: 5px; }
.vd-donation-form-wrapper h4 { font-size: 24px; margin-top: 0; }
.vd-form-field { margin-bottom: 20px; }
.vd-form-field label { display: block; margin-bottom: 8px; font-weight: bold; }
.vd-form-field input[type="text"], .vd-form-field input[type="email"], .vd-form-field input[type="tel"], .vd-form-field input[type="number"], .vd-form-field select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; }

/* --- Progress Bar Styling --- */
.vd-progress-bar { display: flex; align-items: center; justify-content: center; margin-bottom: 30px; }
.vd-progress-bar-step { width: 30px; height: 30px; line-height: 30px; border-radius: 50%; text-align: center; background-color: #f0f0f0; color: #888; border: 1px solid #ddd; }
.vd-progress-bar-step.active { background-color: #0073aa; color: #fff; border-color: #0073aa; }
.vd-progress-bar-line { flex-grow: 1; height: 2px; background-color: #ddd; margin: 0 10px; }
.vd-progress-bar-line.active { background-color: #0073aa; }

/* --- Button Styling --- */
.vd-button { display: inline-block; text-decoration: none; font-size: 15px; line-height: 1; padding: 12px 24px; border-radius: 4px; cursor: pointer; border-width: 1px; border-style: solid; text-align: center; color: #fff !important; background-color: #0073aa; border-color: #0073aa; }
.vd-button-secondary { background-color: #777; border-color: #777; }
.vd-button-group { display: flex; justify-content: space-between; }
.vd-button-group .vd-button { flex-basis: 48%; }
#vd-next-btn { width: 100%; box-sizing: border-box; }

/* --- Custom File Upload Button --- */
.vd-custom-file-upload { position: relative; display: flex; align-items: center; }
.vd-custom-file-upload input[type="file"] { position: absolute; left: 0; top: 0; opacity: 0; width: 120px; height: 42px; cursor: pointer; }
.vd-custom-file-upload .vd-button { padding: 10px 20px; }
#vd-file-chosen { margin-left: 15px; font-style: italic; color: #555; }

/* --- Payment Details on Step 2 --- */
.vd-payment-details-wrapper { border: 1px dashed #ccc; padding: 20px; text-align: center; margin-bottom: 20px; border-radius: 4px; }
.vd-payment-details-wrapper h5 { margin-top: 0; font-size: 18px; }
.vd-payment-logo { max-height: 50px; width: auto; margin-bottom: 15px; }
.vd-payment-qr { max-width: 180px; height: auto; display: block; margin: 10px auto; }

/* --- Manual Details --- */
.vd-manual-details { text-align: left; margin-top: 20px; border-top: 1px solid #eee; padding-top: 15px; }
.vd-manual-details p { margin: 5px 0; font-size: 14px; }
.vd-manual-details strong { display: inline-block; min-width: 150px; }

/* --- Note Box --- */
.vd-note { background-color: #e8f5e9; border-left: 4px solid #4CAF50; padding: 15px; margin-bottom: 20px; border-radius: 4px; }
.vd-note p { margin: 0; }

/* --- NEW: Custom Select Dropdown (Frontend) --- */
.vd-custom-select { position: relative; width: 100%; user-select: none; -webkit-user-select: none; }

/* Trigger Box - keeps Arrow on right, content centered */
.vd-select-trigger { 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 10px; 
    font-size: 16px; 
    font-weight: 400; 
    color: #333; 
    background: #fff; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    cursor: pointer; 
}

/* New Class for the Text/Icon inside the Trigger to align them in one line and center them */
.vd-selected-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1; /* Takes up available space to center itself */
    gap: 10px;    /* Space between Icon and Text */
}

/* Ensure images inside the trigger are aligned */
.vd-selected-content img,
.vd-selected-content .vd-icon-text {
    display: inline-block;
    vertical-align: middle;
    margin: 0; /* JS adds margin, we control via gap now, but fallback is safe */
}

.vd-select-options { position: absolute; display: none; top: 100%; left: 0; right: 0; z-index: 999; border: 1px solid #ddd; border-top: none; background: #fff; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

.vd-option { 
    padding: 10px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Center options text */
    border-bottom: 1px solid #f0f0f0; 
    transition: background 0.2s; 
    gap: 10px; /* Space between Icon and Text */
}

.vd-option:last-child { border-bottom: none; }
.vd-option:hover { background-color: #f9f9f9; }

.vd-option img { width: 24px; height: auto; margin-right: 0; display: inline-block; vertical-align: middle; }
.vd-option span.vd-icon-text { margin-right: 0; font-size: 18px; }