.v4-dp-container {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}
.v4-dp-spacer {
    margin-top: 25px;
    margin-bottom: 50px;
    font-family: 'DM Sans', sans-serif;
}
.v4-dp-heading-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 16px;
    margin-bottom: 24px;
}
.v4-dp-header-styled {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.v4-dp-header-styled .v4-dp-indicator {
    width: 0.375rem;
    height: 1.75rem;
    background-color: #630ed4;
    border-radius: 9999px;
}
.v4-dp-header-styled h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    white-space: nowrap;
}
.v4-dp-count-badge {
    font-size: 0.812rem;
    color: #9ca3af;
    font-weight: 600;
    white-space: nowrap;
}
.v4-dp-nav-tabs {
    display: flex;
    background-color: #f3f4f6;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 24px;
    gap: 6px;
}
.v4-dp-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #4b5563;
    cursor: pointer;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
}
.v4-dp-tab-btn.tab-active {
    background-color: #ffffff;
    color: #7c3aed;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.08);
}
.v4-dp-tab-btn:active {
    transform: scale(0.96);
}
.v4-dp-block-card {
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-sizing: border-box;
}
.v4-dp-block-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f3f4f6;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}
.v4-dp-form-group {
    margin-bottom: 18px;
    position: relative;
}
.v4-dp-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}
.v4-dp-label .required {
    color: #ef4444;
    margin-left: 2px;
}
.v4-dp-control {
    width: 100%;
    background-color: #f9fafb;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.875rem;
    color: #111827;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, background-color 0.2s;
}
.v4-dp-control:focus {
    border-color: #7c3aed;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.05);
}
.v4-dp-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 6px;
    font-weight: 500;
}
textarea.v4-dp-control {
    min-height: 85px;
    resize: vertical;
}
.v4-custom-dropdown-panel {
    position: relative;
    width: 100%;
}
.v4-dropdown-trigger-btn {
    background-color: #f9fafb;
    border: 1px solid #D1D5DB;
    color: #111827;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none;
}
.v4-dropdown-trigger-btn:hover {
    border-color: #7c3aed;
}
.v4-dropdown-trigger-btn:active {
    transform: scale(0.98);
}
.v4-dropdown-trigger-left-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.v4-dropdown-trigger-left-block img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}
.v4-dropdown-menu-list {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    z-index: 99;
    padding: 6px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}
.v4-dropdown-menu-list.menu-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.v4-dropdown-item-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 11px 12px;
    text-align: left;
    font-size: 0.84rem;
    font-weight: 600;
    color: #4b5563;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    transition: background-color 0.15s, transform 0.1s ease;
    -webkit-tap-highlight-color: transparent !important;
}
.v4-dropdown-item-btn:hover {
    background-color: #f3f4f6;
    color: #7c3aed;
}
.v4-dropdown-item-btn:active {
    transform: scale(0.97);
}
.v4-dropdown-item-btn.item-selected {
    background-color: #f3e8ff;
    color: #7c3aed;
}
.v4-dropdown-item-left-block {
    display: flex;
    align-items: center;
    gap: 10px;
}
.v4-dropdown-item-left-block img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
}

.v4-wallet-number-box {
    background-color: #f3f4f6;
    border: 1px dashed #d1d5db;
    border-radius: 10px;
    padding: 14px;
    margin-top: 12px;
    display: none;
}
.v4-wallet-lbl {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
}
.v4-wallet-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
}
.v4-wallet-number {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: 0.5px;
}
.v4-copy-btn {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}
.v4-copy-btn:hover {
    background: rgba(124, 58, 237, 0.2);
}
.v4-copy-btn.copied {
    background: #10b981;
    color: #ffffff;
}

.v4-cust-file-upload-box {
    border: 2px dashed #D1D5DB;
    background-color: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s, background-color 0.2s;
    -webkit-tap-highlight-color: transparent !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}
.v4-cust-file-upload-box.has-preview {
    padding: 12px;
    border-style: solid;
}
.v4-cust-file-upload-box:hover, .v4-cust-file-upload-box.drag-over {
    border-color: #7c3aed;
    background-color: rgba(243, 232, 255, 0.3);
}
.v4-cust-file-upload-icon {
    font-size: 2.25rem;
    color: #9ca3af;
    margin-bottom: 8px;
    transition: color 0.2s;
}
.v4-cust-file-upload-box:hover .v4-cust-file-upload-icon {
    color: #7c3aed;
}
.v4-cust-file-upload-lbl {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4b5563;
}
.v4-cust-file-preview-wrap {
    display: none;
    position: relative;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    background-color: #ffffff;
    width: 100%;
    max-width: 180px;
    aspect-ratio: 4 / 3;
}
.v4-cust-file-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v4-cust-file-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(17, 24, 39, 0.7);
    color: #ffffff;
    border: none;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s;
    z-index: 10;
}
.v4-cust-file-remove-btn:hover {
    background-color: rgba(220, 38, 38, 0.9);
}

.v4-dep-submit-action-btn {
    width: 100%;
    background: linear-gradient(135deg, #7c3aed 0%, #630ed4 100%) !important;
    color: #ffffff !important;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 0.937rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
    transition: background-color 0.2s, transform 0.1s ease;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none;
    user-select: none;
}
.v4-dep-submit-action-btn::selection {
    background: transparent;
}
.v4-dep-submit-action-btn::-moz-selection {
    background: transparent;
}
.v4-dep-submit-action-btn:hover {
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.2);
}
.v4-dep-submit-action-btn:active {
    transform: scale(0.96) !important;
}
.v4-dep-submit-action-btn.is-loading-btn {
    pointer-events: none;
    opacity: 0.8;
}
.v4-btn-spinner-icon {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: v4SpinnerRotate 0.65s linear infinite;
}
.v4-dep-submit-action-btn.is-loading-btn .v4-btn-spinner-icon {
    display: inline-block;
}
@keyframes v4SpinnerRotate {
    to { transform: rotate(360deg); }
}
.v4-panel-scope {
    display: none;
}
.v4-panel-scope.panel-active {
    display: block;
}
.v4-dep-history-list {
    display: flex;
    flex-direction: column;
}
.v4-dep-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
    box-sizing: border-box;
    width: 100%;
}
.v4-dep-history-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.v4-dep-history-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.v4-dep-history-amount {
    font-size: 0.937rem;
    font-weight: 700;
    color: #111827;
}
.v4-dep-history-meta {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.v4-dep-status-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: capitalize;
}
.v4-dep-status-badge.st-pending, .v4-dep-status-badge.st-processing { background-color: #FEF3C7; color: #92400E; }
.v4-dep-status-badge.st-completed, .v4-dep-status-badge.st-success { background-color: #D1FAE5; color: #065F46; }
.v4-dep-status-badge.st-cancelled, .v4-dep-status-badge.st-failed { background-color: #FEE2E2; color: #991B1B; }

.v4-callback-alert-box {
    padding: 14px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.v4-callback-alert-box.alert-success { background-color: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.v4-callback-alert-box.alert-danger { background-color: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }
.v4-callback-alert-box.alert-warning { background-color: #fffbeb; border: 1px solid #fcd34d; color: #92400E; }